PDA

View Full Version : Vb Password hash [howto]


KaivanRijswijk
10-15-2008, 01:47 PM
Hello,

How can i create a vb hash code out of a password.

When i md5 hash "test" it will give me 098f6bcd4621d373cade4e832627b4f6

But vb doesn't use md5 but a different hash, does any body knows what hash and how to create a hash out of a password?

Thanks in advance.

Guest190829
10-15-2008, 09:45 PM
If I remember correctly the hash is generated from the following:

md5(md5(USER_SALT . $password))

but something tells me it was changed recently.

mac-warez
10-15-2008, 10:12 PM
It has more than just MD5 it takes about 4-7 days to bruteforce it

Dismounted
10-16-2008, 04:41 AM
It's just a salted MD5. The "algorithm" is:
md5(md5($password) . $salt)

Brad
10-17-2008, 01:08 PM
It's just a salted MD5. The "algorithm" is:
md5(md5($password) . $salt)
Just to add;

The $salt is stored in the database in the user table. :)

KaivanRijswijk
10-17-2008, 08:31 PM
Just to add;

The $salt is stored in the database in the user table. :)

That's the problem, the user doesn't exist yet. I use a custom member system and when they register there, it must register them on forum as well. Everything works fine but i just cant seem to get the hash code right.

Dismounted
10-18-2008, 10:20 AM
You generate a salt at registration time. Alternatively, using the user data manager will do this for you.