Forgot Admin Panel Password

Discussion in 'PHP' started by obiswill, Nov 15, 2009.

  1. #1
    Hi All,

    I have a php script that I had set up a while ago and when I went to login to the admin panel today, I realized I forgot my password. How can I reset my admin panel user/pass when I forgot it? Any help will be greatly appreciated.

    Thanks
     
    obiswill, Nov 15, 2009 IP
  2. Aquarezz

    Aquarezz Notable Member

    Messages:
    3,009
    Likes Received:
    69
    Best Answers:
    0
    Trophy Points:
    225
    #2
    The password should've been saved in the database. Try to find it in the phpmyadmin. But it might be md5 hashed already..

    Which script are you talking about? It might make things easier ;) Try if the password isn't in a config.php file, settings.php file or something else ;)

    Greetz!
     
    Aquarezz, Nov 15, 2009 IP
  3. Wrighty

    Wrighty Peon

    Messages:
    199
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    If it's in a database, but MD5ed then you can rehash a new password, and change it - thus being able to login! :)
     
    Wrighty, Nov 15, 2009 IP
  4. obiswill

    obiswill Well-Known Member

    Messages:
    375
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    103
    #4
    Thanks for both replies. The site is: www.albanycountydoctors.com I looked into the settings.php file and could not find the password. I also tried to find it usiong myphp but was also unsuccessful. Any other suggestions?
     
    obiswill, Nov 15, 2009 IP
  5. joebert

    joebert Well-Known Member

    Messages:
    2,150
    Likes Received:
    88
    Best Answers:
    0
    Trophy Points:
    145
    #5
    It would be nice to know what script it is, if it's a free script someone can look through the source code and tell you exactly what to do without needing to look at your actual filesystem.
     
    joebert, Nov 15, 2009 IP
  6. b.krishna

    b.krishna Well-Known Member

    Messages:
    39
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    106
    #6
    If this is not free script, you can also send used file such as login.php for review to check how login system works. However most of the programmer used MD5 or SHA1 for password encryption. so rehashing new password with one of the method should work.

    Thanks
     
    b.krishna, Nov 16, 2009 IP
  7. obiswill

    obiswill Well-Known Member

    Messages:
    375
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    103
    #7
    Thanks for all. This is a free script that I had modified. If anyone wants to pm me there emial I can send the script to you. I would provide the dl link but I had this script for almost 3 years.
     
    obiswill, Nov 16, 2009 IP
  8. obiswill

    obiswill Well-Known Member

    Messages:
    375
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    103
    #8
    I got it. I recovered it from the database. Thanks to everyone for the help. :)
     
    obiswill, Nov 16, 2009 IP