The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Vb Password hash [howto]
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. |
#2
|
|||
|
|||
If I remember correctly the hash is generated from the following:
md5(md5(USER_SALT . $password)) but something tells me it was changed recently. |
#3
|
|||
|
|||
It has more than just MD5 it takes about 4-7 days to bruteforce it
|
#4
|
||||
|
||||
It's just a salted MD5. The "algorithm" is:
PHP Code:
|
#5
|
|||
|
|||
Quote:
The $salt is stored in the database in the user table. |
#6
|
|||
|
|||
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.
|
#7
|
||||
|
||||
You generate a salt at registration time. Alternatively, using the user data manager will do this for you.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|