The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hey I've recently been trying to code my own user registration/login system for my site that will work alongside VB but I cannot for the life of me work out the EXACT method VB uses for encryption when setting/reading their set password cookie. I know they use an md5 mix of the persons password and that randomly generated key in their user row but aside from that i cannot work out the specifics. Could someone help me out with the EXACT encryption method they use in the form of an example?
Thanks SO much in advace =) |
#2
|
||||
|
||||
![]()
md5(md5(md5(password) . 'salt')) . 'LicenseNo')
|
#3
|
|||
|
|||
![]()
Really? Didn't realise it used my license number in there, lemme try =)
|
#4
|
|||
|
|||
![]()
Didnt work you have an extra ) in there somewhere?
|
#5
|
|||
|
|||
![]()
echo md5(md5(md5($row['password']) . $row['salt']) . 'custid');
echo md5(md5(md5($row['password'] . $row['salt'])) . 'custid'); Tried both of those and neither match the cookie =( |
#6
|
||||
|
||||
![]()
I guess $row['password'] is the value of column password in table user?
This ia already md5(md5('password') . 'salt') And it is not CustID but LicenseNo (found at the top of each PHP file). |
#7
|
|||
|
|||
![]()
Cheers, lemme try.
|
#8
|
|||
|
|||
![]()
ok I tried it like this:
echo md5($row['password'] . 'LicenseID'); Yet it still doesnt match =( Also I confirmed that this is definately my license ID and not my customer ID. |
#9
|
|||
|
|||
![]()
and yep $row['password'] is the password field from the database.
|
#10
|
||||
|
||||
![]()
Hmm, does work for me
|
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|