Файл: index.php
Строк: 266
<?php
/*
$$___$__$$$$__$$$$$__$$__$$_$$______$$$$
$$$_$$_$$__$$_$$__$$_$$__$$_$$_____$$__$$
$$_$_$_$$__$$_$$$$$__$$__$$_$$_____$$$$$$
$$___$_$$__$$_$$__$$_$$__$$_$$_____$$__$$
$$___$__$$$$__$$$$$___$$$$__$$$$$$_$$__$$
Mobula ICQ 610345 (http://imkat.ru || http://katwap.ru || http://c-click.ru)
Спасибо за покупку!
*/
INCLUDE 'func.php';
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . "GMT");
header("Cache-Control: no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", FALSE);
header("Cache-Control: max-age=0");
header("Pragma: no-cache");
header("Content-type: text/html; charset=UTF-8");
echo '<?xml version="1.0" encoding="utf-8"?>';
echo "n" . '<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">';
echo "n" . '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru">';
echo "n" . '<head><meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8"/>';
echo "n" . '<link rel="shortcut icon" href="favicon.ico"/>';
echo "n" . '<meta name="copyright" content="Mobula"/>';
echo "n" . '<title>BOT</title>';
echo "n" . '<link rel="stylesheet" href="style.css" type="text/css"/>' . "n";
echo '</head><body><div class="body">';
/*Мертвые
<option value="wmrclub.ru">wmrclub.ru</option>
<option value="krytim.net">krytim.net</option>
<option value="wapsar.ru">wapsar.ru</option>
<option value="onklub.ru">onklub.ru</option>
<option value="sklick.ru">sklick.ru</option>
<option value="clicke.ru">clicke.ru</option>
<option value="7mob.ru">7mob.ru</option>
<option value="seoclub.in.ua">seoclub.in.ua</option>
<option value="trafclub.ru">trafclub.ru</option>
*/
if (empty($_GET['login']) && empty($_GET['password'])) {
echo '<form action="./" method="get"><div>';
echo '<b>Логин:</b><br/>
<textarea cols="25" rows="2" name="login" class="form"></textarea><br/>';
echo '<b>Пароль:</b><br/>
<textarea cols="25" rows="2" name="password" class="form"></textarea><br/>';
echo '<b>Клуб:</b><br/>
<select name="club" class="form">
<option value="3onclub.ru">3onclub.ru</option>
<option value="megclub.ru">megclub.ru</option>
<option value="kliklub.ru">kliklub.ru</option>
<option value="club4all.ru">club4all.ru</option>
<option value="klub.oops-top.ru">klub.oops-top.ru</option>
<option value="wap-clubik.ru">wap-clubik.ru</option>
<option value="razkrutim.org.ua">razkrutim.org.ua</option>
<option value="club.jelezo25.ru">club.jelezo25.ru</option>
<option value="wapserf.org">wapserf.org</option>
<option value="club4ik.ru">club4ik.ru</option>
<option value="bestos.ru">bestos.ru</option>
<option value="c-cl.ru">c-cl.ru</option>
<option value="serfes.ru">serfes.ru</option>
<option value="zrub.ru">zrub.ru</option>
<option value="waphos.ru">waphos.ru</option>
<option value="klikys.ru">klikys.ru</option>
<option value="mobklik.ru">mobklik.ru</option>
<option value="wapfond.ru">wapfond.ru</option>
<option value="kirclub.ru">kirclub.ru</option>
<option value="kryti.ru">kryti.ru</option>
<option value="mobiwmx.ru">mobiwmx.ru</option>
<option value="dados.ru">dados.ru</option>
<option value="onclub.p1f.ru">onclub.p1f.ru</option>
<option value="tricki.ru">tricki.ru</option>
<option value="wmbaks.ru">wmbaks.ru</option>
<option value="clubwmr.ru">clubwmr.ru</option>
<option value="7wap.ru">7wap.ru</option>
<option value="zonclub.ru">zonclub.ru</option>
<option value="klik4ik.ru">klik4ik.ru</option>
<option value="klikclub.keo.su">klikclub.keo.su</option>
</select><br/>';
echo '<b>Устройство:</b><br/>
<select name="device" class="form">
<option value="0">Мобильный телефон</option>
<option value="1">Opera Mini</option>
<option value="2">Компьютер</option>
</select><br/>';
echo '<b>Ограничение переходов:</b><br/>
<textarea cols="25" rows="2" name="go" class="form">0</textarea><br/>
<small>* Функция для хостингов, где стоит ограничение выполнения скрипта.<br/>* 0-переход по всем ссылкам сразу.</small>';
echo '<br/><input type="checkbox" name="cron" value="1" class="form" /> <b>Получить URL для Cron</b><br/>';
echo '<input type="submit" class="submit" value="Поехали" />';
echo '</div></form>';
} else {
if ((int) $_GET['cron'] == 1) {
echo '<b>URL:</b><br/>
<textarea cols="25" rows="4" class="form">http://' . str_replace("&cron=1", "", $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI']) . '</textarea><br/><a href="./">Назад</a>';
} else {
if ((int) $_GET['go'] == 0) {
set_time_limit(0);
ignore_user_abort(1);
}
$user_agent = (int) $_GET['device'];
if ($_GET['club'] == 'club4ik.ru')
$z = go('http://' . $_GET['club'] . '/' . $_GET['login'] . '&' . $_GET['password'], $user_agent, '', '', '', '', 1, 15, 0);
elseif ($_GET['club'] == 'zrub.ru' || $_GET['club'] == 'waphos.ru' || $_GET['club'] == 'klikys.ru' || $_GET['club'] == 'mobklik.ru' || $_GET['club'] == 'mobiwmx.ru')
$z = go('http://' . $_GET['club'] . '/enter.php?login=' . $_GET['login'] . '&password=' . $_GET['password'], $user_agent, '', '', '', '', 1, 15, 0);
elseif ($_GET['club'] == 'c-cl.ru')
$z = go('http://' . $_GET['club'] . '/enter.php?login=' . $_GET['login'] . '&pass=' . $_GET['password'], $user_agent, '', '', '', '', 1, 15, 0);
elseif ($_GET['club'] == 'wap-clubik.ru')
$z = go('http://' . $_GET['club'] . '/str/auth.php?login=' . $_GET['login'] . '&pass=' . $_GET['password'], $user_agent, '', '', '', '', 1, 15, 0);
else
$z = go('http://' . $_GET['club'] . '/enter.php?login=' . $_GET['login'] . '&password=' . $_GET['password'], $user_agent, '', '', '', '', 1, 15, 0);
if (!$z) {
echo '<b>Не удалось пройти авторизацию в клубе!</b>
<br/><br/><a href="./">Назад</a>';
exit;
}
$c = getcookie($z);
if ($_GET['club'] == '7mob.ru'){
$c = str_replace("password=deleted;", "", $c);
$captcha = 'code=b03bx;';
$c = $c . $captcha;
go('http://' . $_GET['club'] . '/enter.php?mode=go', $user_agent, '', $c, $captcha, '', 0, 20, 0);
}
if ($_GET['club'] == '3onclub.ru' || $_GET['club'] == 'wapfond.ru'){
$c = str_replace(";password=deleted;", "", $c);
$e = explode('/enter.php?zon=', $z);
$e = explode('&mode', $e[1]);
$e = $e[0];
$z = go('http://' . $_GET['club'] . '/enter.php?zon='.$e.'&mode=klik', $user_agent, '', $c, '', '', 0, 30, 0);
}elseif ($_GET['club'] == 'c-cl.ru')
$z = go('http://' . $_GET['club'] . '/go.php', $user_agent, '', $c, '', '', 0, 30, 0);
elseif ($_GET['club'] == 'wap-clubik.ru')
$z = go('http://' . $_GET['club'] . '/cpanel.php?act=go', $user_agent, '', $c, '', '', 0, 30, 0);
elseif ($_GET['club'] == 'club4ik.ru')
$z = go('http://' . $_GET['club'] . '/?mode=go', $user_agent, '', $c, '', '', 0, 30, 0);
elseif ($_GET['club'] == 'zrub.ru' || $_GET['club'] == 'waphos.ru' || $_GET['club'] == 'klikys.ru' || $_GET['club'] == 'mobklik.ru' || $_GET['club'] == 'mobiwmx.ru'){
$e = explode('enter.php?sid=', $z);
$e = explode('&', $e[1]);
$e = $e[0];
$z = go('http://' . $_GET['club'] . '/enter.php?sid=' . $e . '&mode=go', $user_agent, '', $c, '', '', 0, 30, 0);
}
elseif ($_GET['club'] == 'wmbaks.ru')
$z = go('http://' . $_GET['club'] . '/enter.php?mode=im', $user_agent, '', $c, '', '', 0, 30, 0);
else
$z = go('http://' . $_GET['club'] . '/enter.php?mode=go', $user_agent, '', $c, '', '', 0, 30, 0);
if ($_GET['club'] == 'seoclub.in.ua')
$key = explode('<br /><font color = "#2FB127"><b>', $z);
elseif ($_GET['club'] == 'wapserf.org')
$key = explode('<font color = "#ff3a3a"><b>', $z);
elseif ($_GET['club'] == '7wap.ru')
$key = explode('<br /><font color = "#FF0000">', $z);
else
$key = explode('<br /><font color = "#FF0000"><b>', $z);
if ($_GET['club'] == '7wap.ru')
$key = explode('</font>', $key[1]);
else
$key = explode('</b></font><br />', $key[1]);
$key = (int) $key[0];
if ($key > 0){
if ($_GET['club'] == 'wap-clubik.ru')
$z = go('http://' . $_GET['club'] . '/cpanel.php?act=go&r='. (int) $key, $user_agent, '', $c, '', '', 0, 30, 0);
else
$z = go('http://' . $_GET['club'] . '/enter.php?mode=go&r=' . (int) $key, $user_agent, '', $c, '', '', 0, 30, 0);
}
if (!$z) {
echo '<b>Не удалось получить ссылки!</b>
<br/><br/><a href="./">Назад</a>';
exit;
}
if ($_GET['club'] == '3onclub.ru' || $_GET['club'] == 'wapfond.ru')
preg_match_all("/href=["|']/enter.php?mode=klikok(.*?)["|'].*?>/si", $z, $arr);
elseif ($_GET['club'] == 'kliklub.ru')
preg_match_all("/href=["|']http://kliklub.ru/enter.php?mode=go(.*?)["|'].*?>/si", $z, $arr);
elseif ($_GET['club'] == 'club4ik.ru')
preg_match_all("/href=["|']/?mode=gook(.*?)["|'].*?>/si", $z, $arr);
elseif ($_GET['club'] == 'c-cl.ru')
preg_match_all("/href=["|']serf.php(.*?)["|'].*?>/si", $z, $arr);
elseif ($_GET['club'] == 'wap-clubik.ru')
preg_match_all("/href=["|']http://wap-clubik.ru/str/go.php(.*?)["|'].*?>/si", $z, $arr);
elseif ($_GET['club'] == 'zrub.ru' || $_GET['club'] == 'waphos.ru' || $_GET['club'] == 'klikys.ru' || $_GET['club'] == 'mobklik.ru' || $_GET['club'] == 'mobiwmx.ru')
preg_match_all("/href=["|']/enter.php?sid=(.*?)["|'].*?>/si", $z, $arr);
elseif ($_GET['club'] == 'wmbaks.ru')
preg_match_all("/href=["|']/enter.php?mode=imok(.*?)["|'].*?>/si", $z, $arr);
else
preg_match_all("/href=["|']/enter.php?mode=go(.*?)["|'].*?>/si", $z, $arr);
foreach ($arr[1] as $v) {
//if ($_GET['club'] == 'zrub.ru' || $_GET['club'] == 'waphos.ru' || $_GET['club'] == 'klikys.ru' || $_GET['club'] == 'mobklik.ru' || $_GET['club'] == 'mobiwmx.ru')
//$rand = rand(5, 8);
//else
$rand = rand(5, 9);
$v = str_replace("&", "&", $v);
if ($_GET['club'] == '3onclub.ru' || $_GET['club'] == 'wapfond.ru')
go('http://' . $_GET['club'] . '/enter.php?mode=klikok' . $v, $user_agent, '', $c, '', '', 0, 5, 0);
elseif ($_GET['club'] == 'club4ik.ru'){
$n = go('http://' . $_GET['club'] . '/?mode=gook' . $v, $user_agent, '', $c, '', '', 0, 10, 0);
if (strpos( $n , '<div class="logo"><div id="lg"></div>' ) !== false){
$k = explode('<font color="red"><strong>', $n);
$k = explode('</strong></font>', $k[1]);
$k = (int) $k[0];
$k2 = explode('?mode=gook&', $n);
$k2 = explode('&kod=', $k2[1]);
$k2 = $k2[0];
$k2 = str_replace("&", "&", $k2);
if ($k > 0)
go('http://' . $_GET['club'] . '/?mode=gook&'. $k2 .'&kod=' . $k, $user_agent, '', $c, '', '', 0, 5, 0);
}}
elseif ($_GET['club'] == 'c-cl.ru'){
$n = go('http://' . $_GET['club'] . '/serf.php' . $v, $user_agent, '', $c, '', '', 0, 10, 0);
if (strpos( $n , 'C-CL.RU</b><br/></div>' ) !== false){
$k = explode('<span style="font-size: 150%;">', $n);
$k = explode('=</span>', $k[1]);
$k = $k[0];
if (!empty($k)){
if (strpos( $k , '-' ) !== false){
$p = explode('-', $k);
$secret = $p[0] - $p[1];
}else{
$p = explode('+', $k);
$secret = $p[0] + $p[1];
}
if (!empty($secret)){
$contium = explode('">'.$secret.'</option>', $n);
$contium = substr($contium[0], -32);
if (!empty($contium)){
$c1 = explode('<select name="', $n);
$c1 = explode('">', $c1[1]);
$c1 = $c1[0];
$c1 = $c1 . '=' . $contium;
go('http://' . $_GET['club'] . '/serf.php' . $v, $user_agent, '', $c, $c1, '', 0, 10, 0);
}
}}}}
elseif ($_GET['club'] == 'wap-clubik.ru')
go('http://' . $_GET['club'] . '/str/go.php' . $v, $user_agent, '', $c, '', '', 0, 5, 0);
elseif ($_GET['club'] == 'zrub.ru' || $_GET['club'] == 'waphos.ru' || $_GET['club'] == 'klikys.ru' || $_GET['club'] == 'mobklik.ru' || $_GET['club'] == 'mobiwmx.ru'){
$a = go('http://' . $_GET['club'] . '/enter.php?sid=' . $v, $user_agent, '', $c, '', '', 0, 10, 0);
if ($_GET['club'] == 'waphos.ru'){
if (strpos( $a , '</div></div><div class="contur_rek"><div class="header_foot">' ) !== false){
$q1 = explode(': <b>',$a);
$q1 = explode('</b>',$q1[1]);
$q1 = (int)$q1[0];
if ($q1>0){
$q2 = explode($q1.'</a>',$a);
$q2 = $q2[0];
$q2 = substr($q2, -3, 1);
$q2 = (int)$q2;
go('http://' . $_GET['club'] . '/enter.php?sid=' . $v . '&key=' . (int) $q2, $user_agent, '', $c, '', '', 0, 5, 0);
}}}}
elseif ($_GET['club'] == 'wmbaks.ru')
go('http://' . $_GET['club'] . '/enter.php?mode=imok' . $v, $user_agent, '', $c, '', '', 0, 5, 0);
else
go('http://' . $_GET['club'] . '/enter.php?mode=go' . $v, $user_agent, '', $c, '', '', 0, 5, 0);
sleep($rand);
if ($i >= (int) $_GET['go'] && (int) $_GET['go'] > 0)
break;
$i++;
}
if ((int) $i == 0) {
echo '<b>Нет доступных ссылок!</b>
<br/><br/><a href="./">Назад</a>';
} else {
echo '<b>Готово! Сделано переходов: ' . (int) $i . '</b>
<br/><br/><a href="./">Назад</a>';
}
}
}
echo '</div></body></html>';
?>