Четверг, 03.07.2025, 08:47
Приветствую Вас, Гость · RSS
[ Новые сообщения · Участники · Правила форума · Поиск · RSS ]
  • Страница 1 из 1
  • 1
Скрипт бот для чата murclub.ru
defaultNickДата: Среда, 12.07.2017, 15:28 | Сообщение # 1
Генерал-майор
Группа: Администраторы
Сообщений: 311
Репутация: 0
Статус: Offline
Код
<?php
if(isset($_GET['source']))
{
    highlight_file($_SERVER['SCRIPT_FILENAME']);
    exit;
}
if(!empty($_GET['email']) && !empty($_GET['passwd']))
{
if(!@function_exists(curl_init))    
{    
    echo '<center><b>cURL not Supported</b></center><br>';    
    exit;  
}
    get_money($_GET['email'], $_GET['passwd']);
     
} else {
    Form();
    exit;
}

function get_money($login,$pass)
{
$ch = curl_init('http://srv2.murclub.ru/xmls/xml_proxy.php');   
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.0.7) Gecko/2009021910 Firefox/3.0.7 (.NET CLR 3.5.30729)');   
curl_setopt($ch, CURLOPT_COOKIE, 'mur_mail='.$login.'; mur_pass='.md5($pass));   
curl_setopt($ch, CURLOPT_REFERER, 'http://murclub.ru/flash/MXMLSocketProxy.swf?1163');   
curl_setopt($ch, CURLOPT_POST, 1);   
curl_setopt($ch, CURLOPT_POSTFIELDS, 'query=SALARY');   
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 0);   
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);   
$res = curl_exec($ch);   
if(preg_match('#salarytime=\"(.*?)\"#',$res,$matches))   
{   
    $time =  $matches[1] / 60;
    echo '<p align="center"><b><font face="Verdana" size="3" color="green">До следующей зарплаты:</font></b><br> <b>'.intval($time).'</b> минут(ы).<br></p>';
    echo '<p align="center"><b><font face="Verdana" size="3" color="green">Ссылка для CRON:</font></b><br><b> <a href="http://'.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'].'">http://'.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'].'</a></b><br></p>';
     
} else {
    echo '<p align="center"><b><font face="Verdana" size="3" color="red">Неудалось авторизоваться!</font></b></p>';
    Form();
     
}
}

function Form()
{
echo <<<HTML

<table align="center" border="1">
<form method="get" enctype="application/x-www-form-urlencoded">
<tr>
    <td><b><font size="5">@</font></b></td>
    <td><input type="text" align="CENTER" size="30" name="email"></td>
</tr>
<tr>
    <td><b><font size="5">*</font></b></td>
    <td><input type="password" align="CENTER" size="30" name="passwd"></td>
</tr>
<tr>
    <td colspan="2" align="center"><input type="submit" value="Авторизоваться"></td>
     
</tr>
</form>
</table>

HTML;
}
?>
 
  • Страница 1 из 1
  • 1
Поиск:

Хостинг от uCoz | Sitemap | Sitemap-Forum