Файл: 35.php
Строк: 25
<?php
/* Спамер для nazone.mobi
30.10.2018
by Indis..Перепродажа запрещена */
$login = "foxim";
$password = "555555";
$text = "rere";
$cookie_file = dirname(__FILE__)."/nazone.txt";
$ua = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36';
// Получаем номер интерфейса
$ch=curl_init('https://warses.ru/auth');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_ENCODING, "");
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl, CURLOPT_VERBOSE, 1);
curl_setopt($ch, CURLOPT_COOKIEFILE, $cookie_file);
curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie_file);
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
'User-Agent: '.$ua
));
$html=curl_exec($ch);
//curl_close();
curl_setopt($ch, CURLOPT_POSTFIELDS, 'login='.$login.'&pass='.$password.'&submit=Войти');
$html=curl_exec($ch);
$last_url = curl_getinfo($ch, CURLINFO_EFFECTIVE_URL);
//curl_close();
//print_r($last_url.' ['.$interface.']');
$ch=curl_init('https://warses.ru/chat/add_msg');//админка
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_ENCODING, "");
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl, CURLOPT_VERBOSE, 1);
curl_setopt($ch, CURLOPT_COOKIEFILE, $cookie_file);
curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie_file);
curl_setopt($ch, CURLOPT_POST, false);
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
'User-Agent: '.$ua
));
curl_setopt($ch, CURLOPT_POSTFIELDS, array("text" => $text, "submit" => "Отправить"));
/*
$ch=curl_init('https://warses.ru/chat/del?id=2283');//админка
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_ENCODING, "");
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl, CURLOPT_VERBOSE, 1);
curl_setopt($ch, CURLOPT_COOKIEFILE, $cookie_file);
curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie_file);
curl_setopt($ch, CURLOPT_POST, false);
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
'User-Agent: '.$ua
));
curl_setopt($ch, CURLOPT_POSTFIELDS, array("text" => $text, "submit" => "Удалить"));*/
$gg=curl_exec($ch);
//$gg = str_replace('<form action=""','<form action="http://topstats.ru/adm_panel/cod.php"', $gg);
echo $gg;
if(isset($_POST["submit1"])) {
//curl_setopt($c, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, array("code" => $_POST["code"], "submit1" => $_POST["submit1"]));
}
?></form><a href="http://worldtraf.ru/1.php?su"><div class="main"> На главную менеджера</div></a>