Page 1 of 1

Can't remember login/password in Admin

Posted: Tue Aug 30, 2016 6:36 am
by wkheathjr
My MacBook died 2 days before my motorcycle trip and I have been on the road for 7 weeks now. I'm using iPad now and of course my userid/password wasn't stored on iPad so I need to find a way to access these info on cpanel at my webhost? If I can find my admin userid then I am pretty sure I can login with the password I usually use.

FYI, I tried using mailer to email me the login info but it did not work so that is why I am on here seeking assistance. I have no other way because iPad function is really limited compared to MacBook. Feel free to PM me on here if security issue could be a concern discussing it further on the public forum.

Re: Can't remember login/password in Admin

Posted: Tue Aug 30, 2016 12:49 pm
by anaggh
You can find your details by opening /bl-content/databases/users.php in a text editor.

Your username will most likely be admin

Re: Can't remember login/password in Admin

Posted: Tue Aug 30, 2016 6:13 pm
by wkheathjr
Anaggh,

Many thanks! admin was the userid and I had access so all good.

Speaking of mailer, any way to make it work?

Re: Can't remember login/password in Admin

Posted: Tue Aug 30, 2016 7:59 pm
by Edi
Just in case the password is lost (and "Email access code" does not work):
  1. Open the file /bl-content/databases/users.php.
  2. Choose a random word for the "salt" and convert it to the SH1 hash (for example with the generator at [deleted]).
  3. Enter the string of the SH1 hash in the field "salt" of the file users.php.
  4. Choose a password, and add the "salt" at the end (with the above mentioned SH1 Generator Online enter the password in the form, enable "Add a salt", choose the option "after this string", and generate the SH1 hash).
  5. Enter the SH1 hash in the field "password" of the file users.php.

Re: Can't remember login/password in Admin

Posted: Tue Aug 30, 2016 11:09 pm
by Edi
wkheathjr wrote:Speaking of mailer, any way to make it work?
Have you already checked your spam?

You can test, if the PHP mail function works as described here:

https://gabriolagraphics.com/sending-ma ... -function/

Re: Can't remember login/password in Admin

Posted: Fri Sep 02, 2016 5:35 am
by wkheathjr
Password was not lost. Email was never sent because I got the error message, unable to send email when I tried to retrieve userid/password.

Re: Can't remember login/password in Admin

Posted: Fri Sep 02, 2016 12:13 pm
by Edi
Have you tested the PHP mail function as described in the link above?

Re: Can't remember login/password in Admin

Posted: Fri Jun 19, 2020 8:48 pm
by aintgottimetobleed
Edi wrote: Tue Aug 30, 2016 7:59 pm Just in case the password is lost (and "Email access code" does not work):
  1. Choose a random word for the "salt" and convert it to the SH1 hash (for example with the generator at http://online-code-generator.com/sha1-h ... l-salt.php).
You should probably fix this link as it now points to some sketchy site that displays porn

Re: Can't remember login/password in Admin

Posted: Sat Jun 20, 2020 12:54 pm
by Edi
Thank you for the hint. Seems that the website is hacked or no longer used.

Re: Can't remember login/password in Admin

Posted: Mon Jun 14, 2021 1:18 pm
by Edi
Another generator can be found at

https://randommer.io/Hash/SHA1