in reply to Re: Re: Can't Automate Login To System
in thread Can't Automate Login To System
I should say again, the form can be submitted without JavaScriptYour question looked pretty interesting, so I took a stab at it. Turns out I can't log in at all using mozilla.
Of these, only using genuine IE worked — they're doing something nefarious.
So, a quick experiment with an HTTP Sniffer reveals that IE POSTs the request, to which the webserver doesn't appear to respond, but it does offer a 301 redirect to another GET request.
I've got absolutely no idea how this works — as I understand HTTP, this shouldn't happen; which probably explains why it doesn't work with Mozilla. Could you show us some (password/username-sanitized) code so we can play with it ourselves?
Update: This bit added
so what the point of their weird MD5-hashing of hidden fields and passwords is I don't knowThat appears to be used if JavaScript's enabled (which would probably be for 95% of their users) — it prevents transmission of the password in cleartext. Instead, an MD5 hash of their password with a server-provided challenge is sent. The challenge token probably (hopefully) expires once used, and after a timeout period. This is a pretty effective way of preventing password-sniffing, and because the password entry would still be there for non-JavaScript browsers, it'd work for users without JavaScript (although they'd have to be using a broken browser as discussed above).
cheers
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Can't Automate Login To System
by Cody Pendant (Prior) on Dec 03, 2003 at 11:20 UTC | |
by davis (Vicar) on Dec 03, 2003 at 11:27 UTC |