春江暮客

Using requests and multiprocessing for multi-threaded brute-force cracking of default lnmp mysql password

TECHNICAL
Using requests and multiprocessing for multi-threaded brute-force cracking of default lnmp mysql password

My blog used the lnmp program to build the web environment, but when I needed to use mysql, I found that the lnmp installation log file was missing and the mysql root password was forgotten. I remember that the lnmp was installed by pressing Enter all the way, and the default lnmp password is lnmp.org# plus 5 random numbers, with only 100,000 possibilities. In this case, brute-forcing 100,000 times will definitely find the password.