unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* emacs-w3m problem - cannot login
@ 2011-03-08 13:23 Gary
  0 siblings, 0 replies; 3+ messages in thread
From: Gary @ 2011-03-08 13:23 UTC (permalink / raw)
  To: help-gnu-emacs

I asked this on the official emacs-w3m mailing list, but haven't got a
solution yet, so I was wondering if anyone here had a similar problem
and solved it.

When trying to log in, I get:
,----
| vBulletin Message
| 
| You have entered an invalid username or password. Please enter the
| correct
| details and try again. Don't forget that the password is case
| sensitive.
| Forgotten your password? Click here!
| 
| You have used 2 out of 5 login attempts. After all 5 have been used,
| you will
| be unable to login for 15 minutes.
`----
even though the user+pass is correct.

The following are set:
(setq w3m-use-cookies t)
(setq w3m-add-referer t)
(setq w3m-follow-redirection 10)
(setq w3m-cookie-accept-bad-cookies t)

For completeness, here is the HTML FORM:
,----
| <form id="navbar_loginform" action="login.php?do=login" method="post"
| onsubmit="md5hash(vb_login_password, vb_login_md5password,
| vb_login_md5password_utf, 0)">
|   <fieldset id="logindetails" class="logindetails">
|     <div>
|       <div>
|         <input type="text" class="textbox" name="vb_login_username"
|         id="navbar_username" size="10" accesskey="u" tabindex="101"
|         value="Username" />
|         <input type="text" class="textbox default-value" tabindex="102"
|         name="vb_login_password_hint" id="navbar_password_hint"
|         size="10" value="Password" style="display:none;" />
|         <input type="password" class="textbox" tabindex="102"
|         name="vb_login_password" id="navbar_password" size="10" />
|         <input type="submit" class="loginbutton" tabindex="104"
|         value="Log in" title="Enter your [snipped for brevity]"
|         accesskey="s" />
|       </div>
|     </div>
|   </fieldset>
|   <div id="remember" class="remember">
|     <label for="cb_cookieuser_navbar"><input type="checkbox"
|     name="cookieuser" value="1" id="cb_cookieuser_navbar"
|     class="cb_cookieuser_navbar" accesskey="c" tabindex="103" />
|     Remember Me?</label>
|   </div>
|   <input type="hidden" name="s" value="" />
|   <input type="hidden" name="securitytoken" value="guest" />
|   <input type="hidden" name="do" value="login" />
|   <input type="hidden" name="vb_login_md5password" />
|   <input type="hidden" name="vb_login_md5password_utf" />
| </form>
`----

My only doubt is about the md5hash call, which I think is a javascript
call. OTOH, I can login using FF with scripting disabled, no problem.

-- 
Gary        Please do NOT send me 'courtesy' replies off-list.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: emacs-w3m problem - cannot login
       [not found] <mailman.0.1299590657.26575.help-gnu-emacs@gnu.org>
@ 2011-03-08 21:17 ` Tim X
  2011-03-14 10:28   ` Gary
  0 siblings, 1 reply; 3+ messages in thread
From: Tim X @ 2011-03-08 21:17 UTC (permalink / raw)
  To: help-gnu-emacs

Gary <listgj-emacs@yahoo.co.uk> writes:

> I asked this on the official emacs-w3m mailing list, but haven't got a
> solution yet, so I was wondering if anyone here had a similar problem
> and solved it.
>
> When trying to log in, I get:
> ,----
> | vBulletin Message
> | 
> | You have entered an invalid username or password. Please enter the
> | correct
> | details and try again. Don't forget that the password is case
> | sensitive.
> | Forgotten your password? Click here!
> | 
> | You have used 2 out of 5 login attempts. After all 5 have been used,
> | you will
> | be unable to login for 15 minutes.
> `----
> even though the user+pass is correct.
>
> The following are set:
> (setq w3m-use-cookies t)
> (setq w3m-add-referer t)
> (setq w3m-follow-redirection 10)
> (setq w3m-cookie-accept-bad-cookies t)
>
> For completeness, here is the HTML FORM:
> ,----
> | <form id="navbar_loginform" action="login.php?do=login" method="post"
> | onsubmit="md5hash(vb_login_password, vb_login_md5password,
> | vb_login_md5password_utf, 0)">
> |   <fieldset id="logindetails" class="logindetails">
> |     <div>
> |       <div>
> |         <input type="text" class="textbox" name="vb_login_username"
> |         id="navbar_username" size="10" accesskey="u" tabindex="101"
> |         value="Username" />
> |         <input type="text" class="textbox default-value" tabindex="102"
> |         name="vb_login_password_hint" id="navbar_password_hint"
> |         size="10" value="Password" style="display:none;" />
> |         <input type="password" class="textbox" tabindex="102"
> |         name="vb_login_password" id="navbar_password" size="10" />
> |         <input type="submit" class="loginbutton" tabindex="104"
> |         value="Log in" title="Enter your [snipped for brevity]"
> |         accesskey="s" />
> |       </div>
> |     </div>
> |   </fieldset>
> |   <div id="remember" class="remember">
> |     <label for="cb_cookieuser_navbar"><input type="checkbox"
> |     name="cookieuser" value="1" id="cb_cookieuser_navbar"
> |     class="cb_cookieuser_navbar" accesskey="c" tabindex="103" />
> |     Remember Me?</label>
> |   </div>
> |   <input type="hidden" name="s" value="" />
> |   <input type="hidden" name="securitytoken" value="guest" />
> |   <input type="hidden" name="do" value="login" />
> |   <input type="hidden" name="vb_login_md5password" />
> |   <input type="hidden" name="vb_login_md5password_utf" />
> | </form>
> `----
>
> My only doubt is about the md5hash call, which I think is a javascript
> call. OTOH, I can login using FF with scripting disabled, no problem.

Have you tried logging in with just w3m on its own? My guess is that it
is a w3m limitation, not an emacs-w3m one, so you may be better off
contacting the w3m maintainers rather than the emacs-w3m ones. 

Tim

-- 
tcross (at) rapttech dot com dot au


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: emacs-w3m problem - cannot login
  2011-03-08 21:17 ` emacs-w3m problem - cannot login Tim X
@ 2011-03-14 10:28   ` Gary
  0 siblings, 0 replies; 3+ messages in thread
From: Gary @ 2011-03-14 10:28 UTC (permalink / raw)
  To: help-gnu-emacs

Tim X wrote:

> Have you tried logging in with just w3m on its own? My guess is that it
> is a w3m limitation, not an emacs-w3m one, so you may be better off
> contacting the w3m maintainers rather than the emacs-w3m ones. 

I have. And you are correct. But the w3m mailing list never receives my
posts, and (not unsurprisingly) the maintainer, in Japan, hasn't
answered my email.

-- 
Gary        Please do NOT send me 'courtesy' replies off-list.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-03-14 10:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.0.1299590657.26575.help-gnu-emacs@gnu.org>
2011-03-08 21:17 ` emacs-w3m problem - cannot login Tim X
2011-03-14 10:28   ` Gary
2011-03-08 13:23 Gary

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).