Понедельник, 25.11.2024, 13:50
Приветствую Вас Имигрант

REVISE.ру

Меню сайта
Категории каталога
Наш опрос
Оцените дизайн сайта
Всего ответов: 17
Мини-чат
Главная » Статьи » Мои статьи

Регестратор номеров ICQ
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),"") && !feof($sock)) { $body.=""; }
$blst=explode("\r\n",$body);
for ($i=0;$i<=count($blst);$i++) {
if(strstr($blst[$i],'$viewstate=str_replace('" />',"",$viewstate);
$viewstate=urlencode(trim($viewstate));
}
if(strstr($blst[$i],'$eventvalid=str_replace('" />',"",$eventvalid);
$eventvalid=urlencode(trim($eventvalid));
}}
fclose($sock);
unset($sock,$request,$errno,$err,$request1,$body);
for($j=0;$j<3;$j++){
if ($sock=@fsockopen($addr,$port,$errno,$err,$timeout)) {
$request1="__EVENTTARGET=&__EVENTARGUMENT=&__VIEWSTATE=".$viewstate."&ua_icqstatus=1&ua_icq=&icqpassword=&passwordset=0&btnconnect=Propojit+%C3%BA%C4%8Dty&__EVENTVALIDATION=".$eventvalid;
$request="POST http://registrace.atlas.cz/icq.aspx HTTP/1.0\r\nAccept: */*\r\nReferer: http://registrace.atlas.cz/icq.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\nCookie: ".$cookie."\r\n\r\n".$request1;
fputs($sock,$request); //sending request
$body="";
while(!strstr($body.=fgets($sock,2048),"") && !feof($sock)) { $body.=""; }
fclose($sock); unset($sock,$request,$request1);
if ($sock=@fsockopen($addr,$port,$errno,$err,"2")) {
$request1="__EVENTTARGET=&__EVENTARGUMENT=&__VIEWSTATE=".$viewstate."&ua_icqstatus=1&ua_icq=&icqpassword=&passwordset=0&btndisconnect=Propojit+%C3%BA%C4%8Dty&__EVENTVALIDATION=".$eventvalid;
$request="POST http://registrace.atlas.cz/icq.aspx HTTP/1.0\r\nAccept: */*\r\nReferer: http://registrace.atlas.cz/icq.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\nCookie: ".$cookie."\r\n\r\n".$request1;
fputs($sock,$request); //sending request
fclose($sock); unset($sock,$request,$request1);
$body=preg_replace("#HTTP[^>]*?[>].*?tem ICQ #is","",$body);
$body2=trim($body);
$body3=substr($body2,0,9);
if (is_numeric($body3)) {
fputs ($fpp,$body3.";".$password."\r\n");
echo $body3.";".$password."
\r\n";
flush();
}}}}}}}}
unset($addr,$port);
}
fclose($fpp);
?>
Категория: Мои статьи | Добавил: ReVise (12.05.2008) | Автор: Влад
Просмотров: 1979 | Рейтинг: 0.0/0 |
Всего комментариев: 0
Имя *:
Email *:
Код *:
Форма входа
Поиск
Друзья сайта
Статистика

Сейчас на сайте: 1
Имигрантов: 1
Граждан сайта: 0