need help from super programmer

7 replies
hello i feel pretty stupid but i have a membership site set up, and for this member site i have a control panel to go in and alter things in my member site the control centre is a php file and the other day for some unknown reason i changed my password and for the life of me i cant remember what it is.

there is no feature on my control panel to retreive the password and was wondering if someone knows a way to gain access to the control panel of my website i am happy to pay if someone can gain me access again.

i can get into the cpanel of the member site where the files are stored for the control panel but i have no idea how or even if i can retrieve my password from there.

if anyone can help please post here or pm me

i will not be able to answer until thursday afternoon australian time as will be out of town but anyone who can help would appreciate speaking with you .

jamie
#programmer #super
  • Profile picture of the author Manfred Ekblad
    Since you have access to the cpanel, I guess you have access to the files as well?

    Somewhere in the PHP files for the control centre, there is code that checks for your username and password.

    What you need to do is to locate that part of the code and see how it is performing the login.

    Usually, it either reads from a file or checks in a database table to compare the username&password you've set with the username&password you try to log in with.

    If you can locate that file or database table, you can edit it manually to set a new password.

    Chances are that the password is encrypted/hashed, most likely with md5. In that case, you can try to generate a md5 of the password you want to set and update the file or database table with that.

    If it still wont work, you can change the PHP code so that it doesn't check for username&password in that file or database table. Instead you can implement your own login function.

    Good luck!
    {{ DiscussionBoard.errors[2089306].message }}
  • Profile picture of the author stma
    You can open up phpmyadmin.

    Edit the table/row where your password is stored and check md5 when you do it and boom you've changed your password.
    {{ DiscussionBoard.errors[2096640].message }}
  • Profile picture of the author profitgenie
    thanks everyone for your suggestions and help would like to say a big thank you to janet who got into my account somehow and managed to change my password and give me back the use of my website.

    I cant say thankyou enough for the help you have given janet.

    thanks jamie
    {{ DiscussionBoard.errors[2104367].message }}

Trending Topics