FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Reset admin password from database (Reset administrator password without email)
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Reset admin password from database [message #168770 is a reply to message #168769] Fri, 19 July 2013 23:16 Go to previous messageGo to previous message
archimedes is currently offline  archimedes
Messages: 3
Registered: July 2013
Karma:
Junior Member
Solved it (looking in users_reg.inc). It generates a 9-character string applying MD5 to a random string, then concatenates the salt with the SHA-1 of the plain text, then applies SHA-1 again to the salt + SHA-1 passwd to get the password that is stored in the database. To change it in the database you can set the salt to an arbitrary string of length 9, calculate the SHA-1 of the password you want to set, then concatenate the salt with the result of the SHA-1 and then calculate the SHA-1 of this and update the database with the result.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Insert a message into a thread
Next Topic: Switch between User view and admin view
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 18:02:01 GMT 2024

Total time taken to generate the page: 0.05835 seconds