How to decrypt the password generated by wordpress

前端 未结 2 1453
时光说笑
时光说笑 2021-02-04 15:18

I am using a wordpress site. I just want to know , How to get a plain text from encrypted password(stored in wordpress database). I used the $wp_hasher->CheckPassword($

相关标签:
2条回答
  • 2021-02-04 15:47

    You will not be able to retrieve a plain text password from wordpress.

    Wordpress use a 1 way encryption to store the passwords using a variation of md5. There is no way to reverse this.

    See this article for more info http://wordpress.org/support/topic/how-is-the-user-password-encrypted-wp_hash_password

    0 讨论(0)
  • 2021-02-04 16:08

    This is one of the proposed solutions found in the article Jacob mentioned, and it worked great as a manual way to change the password without having to use the email reset.

    1. In the DB table wp_users, add a key, like abc123 to the user_activation column.
    2. Visit yoursite.com/wp-login.php?action=rp&key=abc123&login=yourusername
    3. You will be prompted to enter a new password.
    0 讨论(0)
提交回复
热议问题