
13.03.2010, 00:39
|
|
Участник форума
Регистрация: 01.01.2009
Сообщений: 138
Провел на форуме: 817404
Репутация:
82
|
|
Регер на сайте http://get-styles.ru/ от меня
Регер на сайте http://get-styles.ru/ от меня
Для накрутки рейтинга
PHP код:
<?php
$vkid = '123456';
$promo = '105103';
//
$chars = 'abdefhiknrstyzABDEFGHKNQRSTYZ23456789';
$num = strlen($chars);
$string = '';
for ($i = 0; $i < 8; $i++)
{
$string .= substr($chars, rand(1, $num) - 1, 1);
}
$w = 'username='.$string.
'&password='.$string.
'&confirm_password='.$string.
'&email='.$string.'%40mail.ru'.
'&vkontakteId='.$vkid.
'&promo='.$promo.
'®ister=%D0%97%D0%B0%D1%80%D0%B5%D0%B3%D0%B8%D1%81%D1%82%D1%80%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D1%82%D1%8C%D1%81%D1%8F';
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'http://get-styles.ru/register');
curl_setopt($ch, CURLOPT_REFERER, 'http://get-styles.ru/register');
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 Firefox/3.5.2');
curl_setopt($ch, CURLOPT_FOLLOWLOCATION,0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch, CURLOPT_POST, 0);
curl_setopt($ch, CURLOPT_POSTFIELDS, $w);
$res = curl_exec($ch);
curl_close($ch);
if(strlen($res) > 50)
{
$fp=fopen('log.txt', 'a+');
fputs($fp, $w."\n");
fclose($fp);
echo '<br><br>'.$w.$res;
}
// coding by null icq 2.6.6.3.2.2
?>
Последний раз редактировалось Vlad&slav; 13.03.2010 в 13:45..
|
|
|