UBB.Dev
Posted By: Chevy454 MySQL command to search passwords? - 02/07/2005 10:01 PM
I've been working in conjunction with a couple of other car related bulletin boards (as well as the FBI) at nabbing an unscrupulous individual, and I was wondering if there was a way to search the database for *passwords* and if any users use a certain password? The individual under investigation has several aliases, but ironically uses only 2 different passwords in all his travels...thanks in advance!
Posted By: scroungr Re: MySQL command to search passwords? - 02/08/2005 12:58 AM
well since the passwords are md5'd you really can't see the actual password but you can see the hash.. so if you find a hash that he uses then you can search the w3t_Users table using that hash and searching on the U_Password field...
Posted By: scroungr Re: MySQL command to search passwords? - 02/08/2005 1:01 AM
you could however try a

SELECT U_Username FROM w3t_Users
WHERE U_Password = DES_ENCRYPT('whatyalookingfor');

it may or may not work..
© UBB.Developers