PDA

View Full Version : password harz combination of username and pass?


zardos
11-21-2007, 09:04 PM
Hi am trying to write a lite plug-in that should have the same password as the user have on the forum. But i cant get the strings to match, how is vb password created? it cant be just a md5 of the entered password? cause if it is i must be crazy :)

plz help

TigerWare
11-21-2007, 09:12 PM
Hi am trying to write a lite plug-in that should have the same password as the user have on the forum.

Why?

Anyway, the password for a user is stored in a one-way hash in the DB (As far as I read anyway). You cannot reverse engineer it.

zardos
11-21-2007, 09:38 PM
I dont want to reverse engineer it, i want to be able to writn a password, md5 it and compair to the hash in the db. but if i md5 my password it dose not become the same as in the vb database.

Analogpoint
11-22-2007, 03:25 AM
vBulletin's password hash is: md5(md5('password') . $salt);

The salt is stored in the user table.