help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs-w3m problem - cannot login


From: Tim X
Subject: Re: emacs-w3m problem - cannot login
Date: Wed, 09 Mar 2011 08:17:54 +1100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]