
13.02.2009, 03:10
|
|
Познавший АНТИЧАТ
Регистрация: 27.08.2007
Сообщений: 1,107
Провел на форуме: 5386281
Репутация:
1177
|
|
Ыыы))) Нарегал кучу акков! Кому надо тут
А вот сам скрипт для авторега:
PHP код:
<?php
set_time_limit(0);
$limit = 10000; // Кол-во акков
for ($i = 1; $i < $limit; $i++){
$ua = 'User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Widows NT)';
$url = 'http://traff2money.info/';
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_REFERER, "http://smotri.com/");
curl_setopt($ch, CURLOPT_HEADER, 1);
curl_setopt($ch, CURLOPT_USERAGENT, $ua);
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$res = curl_exec($ch);
curl_setopt($ch, CURLOPT_URL, "http://traff2money.info/reg.php");
curl_setopt($ch, CURLOPT_REFERER, "http://traff2money.info/");
curl_setopt($ch, CURLOPT_HEADER, 1);
curl_setopt($ch, CURLOPT_USERAGENT, $ua);
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$res = curl_exec($ch);
curl_close($ch);
preg_match('#http:\/\/(.*?)<br>#', $res, $link);
$a = $link[1];
$fp = fopen("log.php","a");
fwrite($fp, "$a\r\n");
fclose($fp);
}
?>
Вообще не знаю зачем сделал два курла, наверно сразу можно на рег переходить)) но пофиг! Пусть так уже будет =)
ЗЫ: Динар, ну значит я прав))) Мдя...
|
|
|