Web Hosting Talk







View Full Version : browser emulation loggin in sites with encryption ?


jjk2
05-27-2008, 01:30 PM
some sites have login fields like this

POST /login.php?do=login vb_login_username=USERNAME&vb_login_password=BLEH&cookieuser=1&vb_login_md5password=c78f3833234234c7cc8ac047cc5a&vb_login_md5password_utf=c78f38338ff2342348ac047cc5a&do=login


when i try make curl login, it will fail because of the encryption

is there a way to work around this ?

also i noticed its impossible to curl into yahoo mail.

DarkStar-Brett
05-27-2008, 01:33 PM
You'll need to emulate the hashing. This can be accomplished via PHP's CURL -- simply (from the looks of it) md5 hash the password and pass that along.

I.e.,
<?php
$hashedPassword = md5('data');
?>