PHP is almost encrypted! _ PHP Tutorial

Source: Internet
Author: User
Tags crypt md5 hash
PHP is almost encrypted !. Because I like SQL injection, I have detected many websites before and after. aspphpjsp found that the md5 encryption algorithm is basically used. MD5 is irreversible and cannot be broken. MD5 cannot be reversed, but it can be violent because I am comparing SQL injection. like
Many websites, such as aspphpjsp, have been detected before, after, and after.
It is found that the md5 encryption algorithm is basically used.
It is said that MD5 cannot be undone.
MD5 cannot be reversed, but it can be cracked.
You only need to save the commonly used password MD5 to the database.
Others only need to provide the MD5 password for database comparison to restore the password. outside China
Both provide online cracking
Have many webmasters ever been infiltrated? The largest part is the leakage of the administrator password caused by SQL injection.
Then break into the background
I found the PHP built-in function crypt very good.
Cooperation with MD5 is more invincible
$ Pass = '000000 ';
Echo "after MD5 encryption". md5 ($ pass )."
"; // Insecure
Echo "after crypt encryption". crypt ($ pass )."
"; // The password will change after refreshing.
Echo "after crypt complex encryption". crypt ($ pass, substr ($ pass, 0, 2 ))."
"; // Still uncomfortable
Echo "unencrypted". md5 (crypt ($ pass, substr ($ pass )))."
"; // How do hackers break this password now ???
The final password or 32-bit is regarded as MD5 encryption.
However, no matter how huge the MD5 HASH value of the other party is, a few terabytes of data cannot be cracked.

Of course, the above ideas can be used in some other languages, such as asp,, and jsp.

Many websites have been detected before and after the dig command. aspphpjsp found that the md5 encryption algorithm is basically used. all of them say that MD5 cannot be undone, but MD5 cannot be reversed, but it can be violent...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.