|
Постоянный
Регистрация: 05.12.2004
Сообщений: 647
С нами:
11278406
Репутация:
818
|
|
Вот писал когдато, но времени никак нету доделать по человечески, регает 3 или 5 асек за которткий промежуток времени, потом идет бан минут на 15-30 уже не помню точно.
icq.com.php
PHP код:
<?php
### SETTINGS
$url = 'https://www.icq.com/register/index.php';
$pass = '123123';
$ua = 'Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.1) Gecko/20090624 Firefox/3.5';
$email = 'your@mail.ru';
$secret_answer = 'your_answer'; #What is your pet's name
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_USERAGENT, $ua);
curl_setopt($ch, CURLOPT_COOKIEJAR, './cook.txt');
curl_setopt($ch, CURLOPT_COOKIEFILE, './cook.txt');
#curl_setopt($ch, CURLOPT_REFERER, 'https://www.icq.com/register/');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$res = curl_exec($ch);
if(preg_match('#name="icq_ln" value="(.*?)"#',$res,$matches))
{
$icq_ln = $matches[1];
if(preg_match('#name="gnm" value="(.*?)"#',$res,$matches))
{
$gnm = $matches[1];
if(preg_match('#gnm=(.*?)"#',$res,$matches))
{
$captcha_link = $matches[1];
$ch = curl_init("https://www.icq.com/img/aa_img.php?gnm=$captcha_link");
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_USERAGENT, $ua);
curl_setopt($ch, CURLOPT_COOKIEJAR, './cook.txt');
curl_setopt($ch, CURLOPT_COOKIEFILE, './cook.txt');
curl_setopt($ch, CURLOPT_REFERER, 'https://www.icq.com/register/index.php');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$res = curl_exec($ch);
file_put_contents('cap.gif',$res);
$rand = rand(0,999);
echo "<img src=\"cap.gif?$rand\" />";
echo '
<form action="do.php" method="post" enctype="application/x-www-form-urlencoded">
<input type="text" name="captcha" value=""><br />
<input type="hidden" value="'.$gnm.'" name="gnm" />
<input type="hidden" value="'.$icq_ln.'" name="icq_ln" />
<input type="submit" value="REG" />
</form>';
}
}
}
?>
do.php
PHP код:
<?php
$url = 'https://www.icq.com/register/index.php';
$pass = '123123';
$ua = 'Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.1) Gecko/20090624 Firefox/3.5';
$email = 'mail@mail.ru';
$secret_answer = 'answer'; #What is your pet's name
$nick = 'nick';
if(!empty($_POST['captcha']))
{
$captcha = $_POST['captcha'];
$gnm = $_POST['gnm'];
$icq_ln = $_POST['icq_ln'];
$post = "service=30&lg_id=&qtype=&icq_ln=$icq_ln&nickname=$nick&fname=&lname=&email=$email&gender=0&age=13&password=$pass&password_confirm=$pass&qa1=What+is+your+pet%27s+name%3F&userq1=&answer1=$secret_answer&gnm=$gnm&word=$captcha&key=&lang=en";
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_NOPROGRESS, 0);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_USERAGENT, $ua);
curl_setopt($ch, CURLOPT_COOKIEJAR, './cook.txt');
curl_setopt($ch, CURLOPT_COOKIEFILE, './cook.txt');
curl_setopt($ch, CURLOPT_REFERER, 'https://www.icq.com/register/index.php');
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$res = curl_exec($ch);
if(preg_match('#id="uin">([0-9]{9})\.#',$res,$matches))
{
file_put_contents('uins.txt',$matches[1]."\r\n",FILE_APPEND);
header("Location: icq.com.php");
}
if(preg_match('#please try again later#',$res))
{
echo 'BAN';
}
}
?>
Аськи будут записыватся в uins.txt
|