Wordpress Md5 Password

Wordpress MD5 Password

The most sensible solution would simply be to use the relevant WordPress function (wp_generate_password) itself.

However, if this isn't an option, you could simply extract the wp_generate_password function (it's in /wp-includes/pluggable.php) and relevant support functions.

How to get wordpress password using hash and salt key?

  • 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.

How to transfer wordpress mysql md5 user passwords field into another mysql table

You can't - it's rather the point of hashing passwords that you can't undo it. You could potentially use a rainbow table to try and crack the MD5 hashes and get the original password before re-hashing it the way Wordpress does it, but if your users' passwords are vulnerable to such an attack, you should probably be concerned for their account security!

Personally, I would announce to the users that a big merge is happening, and for safety reasons they must change their password. A lot of people will probably just "change" it to the same thing, and that's fine, because internally you're just rehashing the password and can then delete the old, unsafe MD5 hash.



Related Topics



Leave a reply



Submit