![]() |
How are passwords stored?
Hi, I am trying to add a user directly into the 'user' table - not using the vBulletin interface and need to know how the password is stored... I have tried to INSERT it as md5($password) but that will not validate... is there some other twist that vBulletin does before it stores the passwords using the GUI... ?
Thanks for any help. Chris Chaudruc |
It double MD5's it and also adds salt (a random key per user per forum).
The best way to manually add a user is via the ACP as you can then add the user details in plain text and then vB does all the encryption for you. |
Hi, thanks for your reply... I cannot use the ACP in this instance
So would I do this... to enter the password properly in the db. md5(md5($salt.$password)) ? Is it somewhere in the code? I have been all through register.php and cannot find how the password is treated before it is stored... any idea where I Could look? Thanks for your help |
Passwords are: md5(md5('PlaintextPassword'), salt)
Try looking at includes/class_dm_user.php ... the datamanager will also do the work for you. |
check in the includes folder, class_dm_user.php there is alot in there around line 69x to like 8xx ?
Quote:
|
All times are GMT. The time now is 06:19 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|