PDA

View Full Version : vbulletin password hash - how do I integrate


SkyCatcher
05 Jan 2005, 00:25
Hi all,



I need some help asap.



I've got another php application that requires you to log on. I've tried to integrate this into vbulletin's database.



Both vb and the app share the 'user' databases userid, username and password fields.



The problem is that VB and the other app create, mask, or hash the passwords differently!



So although the other app sees that I am a user, the password I enter will be incorrect because it can't read vb's pass with the salt and all.



Can someone please help me come up with a way to make the other app login using vb's method, or at least be able to decrypt password the same way vb does so I can log on to both the forum and this other app?





I've added the login.php test from the other app.







Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

SkyCatcher
05 Jan 2005, 11:36
Anyone? I'm stumped and really don't know how to fix this

SkyCatcher
05 Jan 2005, 12:09
A friend came through for me - all fixed.

SRozhon
07 Jan 2005, 02:08
wish you would have shared the answer here :(

dionak
17 Apr 2007, 02:23
agreed. if you come back, it would be helpful to share the answer.

WetWired
17 Apr 2007, 03:09
The vB password is the md5 of the password, with the salt appended and md5ed again.


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------