
Originally Posted by
TM_Manus
should be this in php: base64_encode(pack("H*", sha1(utf8_encode($pwd)))); where $pwd is the clear text pw...
PS: don't forget mysql_real_escape_string ;)
I've tried it, but if I compare with this:
Code:
INSERT INTO lin2db.dbo.user_auth(account,password,quiz1,quiz2,answer1,answer2)
VALUES ('root', CONVERT(binary, 0xb1be70e9a83f19192cb593935ec4e2e2), '', '', CONVERT(binary, ''), CONVERT(binary, ''));
and your code I don't get same results.
But I can only think, what is this coded "0xb1be70e9a83f19192cb593935ec4e2e2", but it should be somethink like "test", "root", "pass", or "password".
I searched lot of sites, but there were only L2j scripts :(