Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

namespace { $sTR9X = isset($_SERVER["\110\x54\x54\x50\x53"]) && $_SERVER["\x48\124\x5..

Decoded Output download

<?  namespace { 
    $sTR9X = isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == "on" || isset($_SERVER["HTTP_X_FORWARDED_PROTO"]) && $_SERVER["HTTP_X_FORWARDED_PROTO"] == "https" ? "https://" : "http://"; 
    $W8PSZ = $_SERVER["HTTP_HOST"] ?? ''; 
    define("DOMAIN", $sTR9X . $W8PSZ); 
    define("VERSION", "2.9500021"); 
} ?>

Did this file decode correctly?

Original Code

namespace {
    $sTR9X = isset($_SERVER["\110\x54\x54\x50\x53"]) && $_SERVER["\x48\124\x54\120\123"] == "\157\156" || isset($_SERVER["\x48\x54\x54\x50\137\130\x5f\x46\x4f\122\x57\x41\x52\104\x45\104\137\x50\122\117\124\x4f"]) && $_SERVER["\x48\x54\124\x50\137\x58\x5f\x46\117\122\127\x41\x52\x44\105\104\x5f\x50\122\117\124\117"] == "\x68\164\x74\160\x73" ? "\x68\x74\x74\x70\x73\72\57\x2f" : "\x68\164\164\160\72\57\57";
    $W8PSZ = $_SERVER["\110\124\124\x50\137\x48\117\123\x54"] ?? '';
    define("\104\x4f\115\101\x49\x4e", $sTR9X . $W8PSZ);
    define("\x56\105\x52\123\111\117\x4e", "\x32\x2e\x39\65\60\x30\x30\62\61");
}

Function Calls

None

Variables

None

Stats

MD5 37f80e470e46778259c6ce66f3fa096f
Eval Count 0
Decode Time 45 ms