The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
[ Help ] The Algorithm used with md5 passwords
Hello all,
iam working these days on php web application related to vBulletin , and so I needed to make a memberships system, But I don't want the visitors to register again .. ( I want to use the users registered in my forum ) So, i had some problems with the login system .. vBulletin doesn't use the usual md5 system .. I think it adds somethings to it .. i tried to figure out how it works .. but i couldn't really .. so, please can anyone tell me how vBulletin trat the password since it's input by the user from the login box .. till it's stored in the database ? and let's say .. that the user's password is aa .. and he is already typed it in the text-box .. and clicked the login button .. what steps will vBulletin take on the password to store it in the database ? Thanks, |
#2
|
|||
|
|||
Quote:
I heard somewhere that it does a bazillion MD5 to uber encrypt a password! i swear i unticked quote message and it quoted it still :S |
#3
|
||||
|
||||
well, it_s not difficutl:
PHP Code:
|
#4
|
|||
|
|||
So now way ? :tired:
ok .. just if i can use the vbuelltin functions to make the same steps on the password inputed by the user .. I don't really care to know how it works .. I just need my script to work well ! Xenon : Ok .. in fact I looked .. and Tried it look this my phpmyadmin info : my password on localhost is : aa Iam using it sooo ok and it's aa Iam sure so I wanted to see if this way iI found in the function would work or not .. : PHP Code:
PHP Code:
thanks for trying to help |
#5
|
||||
|
||||
of course, as this is the wrong code, it should be:
PHP Code:
|
#6
|
|||
|
|||
Oops .. that wored
Thanks You So, just if you have some time there .. what's the difference between what you wrote and what I've wrote .. ? anyway .. Thanks ^_^ ooh .. I just now observed the difference .. the salt is taken for the second md5 not the first .. it's working so well .. thanks again |
#7
|
||||
|
||||
you're welcome
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|