Log in

View Full Version : password in mysql



davidjmorin
02-29-2008, 06:04 AM
hey everyone. i have a site that people login to and post into my forum\

the forum is now down. how can i transfer the users to my new forum.

ive copied all the data in the database to the new forum but the passwords do not work. hwat do i need to do to figure out the pass?

heres a sample password: 90d3c4db30dea3764f9f2a1f07ba1f3a520a5afe

is there a way to figure out what that is? or what is that type of encryption called?

Jas
03-03-2008, 02:18 AM
So this is the user login?

Usually, PHP forums use the crypt() function to encrypt the information before sending it to MySQL. If that is a real password, however, it doesn't look like the product of the crypt function. Another point is that a good encryption never relies on the crypt function alone, so basically, the only way to know how it was done is to have access to the script that encrypted it.

thetestingsite
03-03-2008, 03:20 AM
That hash looks like it may have been encrypted using sha1. As for decrypting, look through google or php.net.

Hope this helps.

Nile
03-03-2008, 03:45 AM
http://us.php.net/sha1 << a quicker version then searching, lol...