WordPress.org

Ready to get started?Download WordPress

Forums

Lost login info after hack. (5 posts)

  1. Darranh
    Member
    Posted 1 year ago #

    Hi Hoping someone can help, recently hacked, my own fault I hadnt updated to latest wordpress for 9 months, my paswords weren't hacked, UK2 advised me it was almost certainly because I had an old wordpress. now Ive spend 2 days trying to log into my wordpress site but cant remember my password or it changed when I click the lost password link, but I never recieved an email to reset it, even though it advised was sent. So now Im stuck out, Im even doubting my username now its been that long since I logged in.
    Is there anywhere I can look for username and password in the script in dreamweaver as I have that but user.php and wp-config.php dont seem to hold that information.
    Also I tried another page from support http://codex.wordpress.org/Resetting_Your_Password page but when I log into phpmyadmin doesnt have wp_users or user_login and Ive clicked on all the table segments.

    Any help greatly appreciated

    Darran

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    If you do not have a wp_users table, then you are in very serious trouble.

    Is there anywhere I can look for username and password in the script in dreamweaver

    Nope. It's stored as a one-way encrypted string in the wp_users table of your database.

  3. Darranh
    Member
    Posted 1 year ago #

    Ok thats unfortunate about dreamweaver, however I think I have made some progress as realised I have medical_ as string in phpmyadmin so under medical_users I get my user name, and a very long password with . and / in it.
    It doesnt log me into my WP when I use it so I deleted the user and created another in my Sql database, and it matches up on phpmyadmin, unfortunetally the WP login still fails with this password.
    Interestingly it does contain my email, but for some reason never sends a password reset email.

    Think I will be able to salvage anything now?

    Thanks again

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    It doesnt log me into my WP when I use it

    That's because that was a one-0way encrypted version of your password. all you had to do was follow the instruction in Resetting_Your_Password at this point.

    so I deleted the user and created another in my Sql database, and it matches up on phpmyadmin,

    Please tell me that you made a database backup before you did any of this!

  5. Darranh
    Member
    Posted 1 year ago #

    Erm no I didnt back up, although (thankfully maybe) it now works, I jkust didnt select MD5 in the drop down when recreating password and user.
    I can now log in and I am (after backingup) updating wordpress.
    Thanks

    Darran

Topic Closed

This topic has been closed to new replies.

About this Topic