How to break md5 of dedecms
Generally we all know that DEDE uses MD5 to encrypt user passwords, but In fact, DEDE also processes the string generated after MD5 encryption. It is no longer a simple MD5
DEDE background password is encrypted in mysql as follows: the plain text password is encrypted by MD5 to generate a 32-bit string , then remove the first 5 digits and the last 7 digits, and store the remaining 20 digits in the database.
dede background password Forgot how to decrypt the password:
Take the 20 digits of the password and remove the first 3 digits and the last digit to get a valid MD5 password.
For example, 8f2531f09a5c31f529c4
After simplification, we get 531f09a5c31f529c
After decryption, it is Sroan
How to do reverse decryption of md5?
You can search md5 decryption on Baidu. There are many online decryption tools. If the original password is not very complex, it does not take a long time. However, because the decryption is the decryption of the reverse password library, if the original password is very complex It will take a lot of time. It is possible to download relevant decryption software and password libraries to crack the computer for a long time.
How to reset the password directly through sql
Step 1: If the password is reset to 123456, you can calculate the 20-digit password through the encrypted forward self-method c3949ba59abbe56e057f
Step 2: Replace the password with the new password through sql statement 123456
Update `dede_admin` set pwd='c3949ba59abbe56e057f' where userid='1';
The value of userid is the ID value of the current administrator
More dedecms technology For articles, please visit the dedecms usage tutorial column!
The above is the detailed content of How to break md5 of dedecms. For more information, please follow other related articles on the PHP Chinese website!