Parsing a login box for info
Posted on 1998-07-29
I need to get the login/password information from the login/password dialog box, so I can match that information with a password file.
Now, I know that you can get the login from the REMOTE_USER variable, but I 'm pretty sure you can't get the password. Or can you?
I'm using NT, thus I can't use .htaccess to verify the password. Verifying the login alone isn't enough. Oh yeah, and I have to use the login box rather than form-based authentication - which would make this a lot simpler.
I don't even really need to know the EXACT password - maybe I could even use the encrypted version to match the encrypted version that is stored in the password file. I just need to finds a way to extract that info from the browser.
So, is there any way to get that info? I'll definitely bump up the value of this question if it proves to be harder than I thought.