Keyur Padalia
Keyur Padalia

Reputation: 2097

How to get wordpress password using hash and salt key?

I forgot my wordpress admin password but i am able to get into my DB and have the hashed password and also i have salt key from my wp-config.php file.

Does anyone know how can i get my password back from above details.

I tried doing forgot password thing but i never got email to reset password.

Upvotes: 3

Views: 9375

Answers (3)

Jay
Jay

Reputation: 73

Input a new password and generate its hash.

Then update password column in the user table through MySQL database with the new generated hash.

After that you can log in to the backend using the new password.

Upvotes: 0

Deep Kakkar
Deep Kakkar

Reputation: 6305

  • Open localhost/phpmyadmin
  • Open the database then table wp_users
  • Edit the corresponding row of user
  • Copy and keep the old password (for backup)
  • Edit field `user_pass' and type value
  • Change Type to MD5 and then update the row.

Upvotes: 7

sameeuor
sameeuor

Reputation: 684

You can reset your password using database password field. goto your database users table. find password field. It can be seen as hash. Generate new hash using this generator, http://www.danstools.com/md5-hash-generator/ replace new hash.

Upvotes: 4

Related Questions