Plux Posted April 19, 2011 Share Posted April 19, 2011 I am deleting some hackers that created admin accounts from a backup of a database but I also need to change the admin password for a client in the database itself however I encountered a '77' behind the MD5 hash that I have no clue of what it does. What is this used for as it is not part of the hash? Here is the entire entry: (1, '******', 'e78b951ed150338b92658e5b3f5204fb:77'), Link to comment Share on other sites More sharing options...
Plux Posted April 19, 2011 Author Share Posted April 19, 2011 I edited the MD5 hash and replaced it and left the '77' intact at its location however I am getting told now that the password is incorrect for the login. And yes I did hashed the password before replacing the MD5 string with it. Link to comment Share on other sites More sharing options...
knifeman Posted April 19, 2011 Share Posted April 19, 2011 I edited the MD5 hash and replaced it and left the '77' intact at its location however I am getting told now that the password is incorrect for the login. And yes I did hashed the password before replacing the MD5 string with it. See if this helps: http://www.oscommerce.com/forums/topic/225625-md5-and-password-encryption-method/ Link to comment Share on other sites More sharing options...
Plux Posted April 19, 2011 Author Share Posted April 19, 2011 See if this helps: http://www.oscommerce.com/forums/topic/225625-md5-and-password-encryption-method/ It clarifies to me what is happening however the PHP code given is not usable as the function tep_rand() is never defined so I got no clue what it does. Link to comment Share on other sites More sharing options...
Plux Posted April 19, 2011 Author Share Posted April 19, 2011 Maybe you could help me out a bit and provide me with a hashed version of a plain text password. As I presume I can reset the password again from the admin panel. Meaning I will just need one that works. *Just thought of it will I not need to alter anything else related to the password in the database before I can actually login with that password? Link to comment Share on other sites More sharing options...
Plux Posted April 19, 2011 Author Share Posted April 19, 2011 I already solved it. I wrote a custom script. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.