PHP скрипт, регистрирует 3 номера на 1 прокси! $account="*********@atlas.cz"; //our e-mail $password="winet"; //our password
error_reporting(0); set_time_limit(0); ini_set("max_execution_time","0"); ini_set("memory_limit","9999M"); ini_set("output_buffering","0"); set_magic_quotes_runtime(0); ignore_user_abort(1);
$prox=file("proxy.txt"); $good="regged.txt"; $fpp=fopen($good,"a+"); $timeout="5"; //sec.
for ($w=0;$w<=count($prox);$w++) { list($addr,$port)=explode(":",$prox[$w]); $addr=trim($addr); $port=trim($port); if ($sock=@fsockopen($addr,$port,$errno,$err,$timeout)) { $request1="REFAPP=&username=".$account."&password=".$password; $request="POST http://registrace.atlas.cz/verify.aspx HTTP/1.0\r\nAccept: */*\r\nReferer: http://registrace.atlas.cz/login.aspx\r\nAccept-Language: ru\r\nContent-Type: application/x-www-form-urlencoded\r\nAccept-Encoding: gzip\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)\r\nHost: $addr:$port\r\nContent-Length: ".strlen($request1)."\r\nConnection: Keep-Alive\r\nProxy-Connection: Keep-Alive\r\nCache-Control: no-cache\r\n\r\n".$request1; fputs($sock,$request); //sending request $headers=""; $body=""; while(!strstr($headers.=fgets($sock,2048),"\r\n\r\n") && !feof($sock)) { $headers.=""; } $hlst=explode("\r\n",$headers); for ($i=0;$i<=count($hlst);$i++) { if (strstr($hlst[$i],"Set-Cookie: ")) { $cookie=str_replace("Set-Cookie: ","",$hlst[$i]); } } fclose($sock); unset($sock,$request,$errno,$err,$i,$headers,$hlst,$body); $reqc1="GET http://registrace.atlas.cz/checkcookie.aspx?LANGID=cz&SKIN=AtlasCZ&REFAPP= HTTP/1.0\r\nAccept: */*\r\nReferer: http://registrace.atlas.cz/verify.aspx\r\nAccept-Language: ru\r\nAccept-Encoding: gzip\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)\r\nHost: $addr:$port\r\nCookie: ".$cookie."\r\nConnection: Keep-Alive\r\nProxy-Connection: Keep-Alive\r\n\r\n"; $reqc2="GET http://registrace.atlas.cz/ HTTP/1.0\r\nAccept: */*\r\nReferer: http://registrace.atlas.cz/checkcookie.aspx?LANGID=cz&SKIN=AtlasCZ&REFAPP=\r\nAccept-Language: ru\r\nAccept-Encoding: gzip\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)\r\nHost: $addr:$port\r\nCookie: ".$cookie."\r\nConnection: Keep-Alive\r\nProxy-Connection: Keep-Alive\r\n\r\n"; $reqc3="GET http://registrace.atlas.cz/profile.aspx?REFAPP= HTTP/1.0\r\nAccept: */*\r\nReferer: http://registrace.atlas.cz/\r\nAccept-Language: ru\r\nAccept-Encoding: gzip\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)\r\nHost: $addr:$port\r\nCookie: ".$cookie."\r\nConnection: Keep-Alive\r\nProxy-Connection: Keep-Alive\r\n\r\n"; if ($s0cket=@fsockopen($addr,$port,$errno,$err,$timeout)) { fputs($s0cket,$reqc1); //sending request fclose($s0cket); unset($s0cket); if ($s0cket=@fsockopen($addr,$port,$errno,$err,$timeout)) { fputs($s0cket,$reqc2); //sending request fclose($s0cket); unset($s0cket); if ($s0cket=@fsockopen($addr,$port,$errno,$err,$timeout)) { fputs($s0cket,$reqc3); //sending request fclose($s0cket); unset($s0cket,$reqc1,$reqc2,$reqc3); $sock=@fsockopen($addr,$port,$errno,$err,$timeout); //creating socket $request="GET http://registrace.atlas.cz/icq.aspx HTTP/1.0\r\nAccept: */*\r\nReferer: http://registrace.atlas.cz/profile.aspx?REFAPP=\r\nAccept-Language: ru\r\nAccept-Encoding: gzip\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)\r\nHost: $addr:$port\r\nCookie: ".$cookie."\r\nConnection: Keep-Alive\r\nProxy-Connection: Keep-Alive\r\n\r\n"; fputs($sock,$request); //sending request $body=""; while(!strstr($body.=fgets($sock,20480)," |