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 $ { "GL\x4f\x42\x41\x4cS" } ["\x68\x63\x73f\x66\x73s\x73"] = "\x65\x72\x72\x4..

Decoded Output download

<?php $ { 
    "GLOBALS" 
} 
["hcsffsss"] = "errMessage"; 
$ { 
    "GLOBALS" 
} 
["gyixuwqmhnr"] = "page_title"; 
$ { 
    "GLOBALS" 
} 
["cjprdmxrhopc"] = "page"; 
$ { 
    "GLOBALS" 
} 
["xnjxjd"] = "valid"; 
$ { 
    "GLOBALS" 
} 
["ljdkzlckrdfq"] = "token"; 
$ { 
    "GLOBALS" 
} 
["ctjpzywibni"] = "pages"; 
$ { 
    "GLOBALS" 
} 
["otmussexu"] = "config"; 
$ { 
    "GLOBALS" 
} 
["ufooxga"] = "data"; 
$ { 
    "GLOBALS" 
} 
["qltynbfsock"] = "is_online"; 
$kaddpmqces = "valid"; 
define("BASEPATH", true); 
$kbosxtoep = "config"; 
$ { 
    "GLOBALS" 
} 
["lqyivubokvdx"] = "pages"; 
$zuigatmpbc = "pages"; 
require ("system/init.php"); 
if (!$ { 
    $ { 
        "GLOBALS" 
    } 
    ["qltynbfsock"] 
} || ($ { 
    $ { 
        "GLOBALS" 
    } 
    ["qltynbfsock"] 
} && $ { 
    $ { 
        "GLOBALS" 
    } 
    ["ufooxga"] 
} 
["admin"] != 1)) { 
    redirect($ { 
        $ { 
            "GLOBALS" 
        } 
        ["otmussexu"] 
    } 
    ["secure_url"]); 
} 
if ($ { 
    $ { 
        "GLOBALS" 
    } 
    ["otmussexu"] 
} 
["force_secure"] == 1 && !isset($_SERVER["HTTPS"]) || $ { 
    $kbosxtoep 
} 
["force_secure"] == 1 && $_SERVER["HTTPS"] != "on") { 
    header("Location: https://" . $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]); 
    exit; 
} 
ob_start(); 
$ { 
    "GLOBALS" 
} 
["irnxhe"] = "valid"; 
$ { 
    $ { 
        "GLOBALS" 
    } 
    ["lqyivubokvdx"] 
} = array("users" => array(1, "pages/users", "Users"), "edituser" => array(1, "pages/edit_user", "Edit User"), "completed" => array(1, "pages/completed", "Complete Transactions"), "canceled" => array(1, "pages/canceled", "Canceled Transactions"), "rejected" => array(1, "pages/rejected", "Rejected Transactions"), "withdrawals" => array(1, "pages/withdrawals", "Complete Withdrawals"), "pendingwithdrawals" => array(1, "pages/pendingwithdrawals", "Pending Withdrawals"), "settings" => array(1, "pages/settings", "Website Settings"), "captcha" => array(1, "pages/captcha", "Captcha Settings"), "payset" => array(1, "pages/payset", "Reward Settings"), "offerwalls" => array(1, "pages/offerwalls", "Offers Settings"), "ads" => array(1, "pages/ads", "Ads")); 
$ { 
    $ { 
        "GLOBALS" 
    } 
    ["irnxhe"] 
} = false; 
if (isset($_GET["page"]) && isset($ { 
    $ { 
        "GLOBALS" 
    } 
    ["ctjpzywibni"] 
} 
[$_GET["page"]][0]) && $ { 
    $zuigatmpbc 
} 
[$_GET["page"]][0] == 1) { 
    $ { 
        $ { 
            "GLOBALS" 
        } 
        ["xnjxjd"] 
    } = true; 
} 
$ { 
    $ { 
        "GLOBALS" 
    } 
    ["cjprdmxrhopc"] 
} = "pages/dashboard"; 
$ { 
    $ { 
        "GLOBALS" 
    } 
    ["gyixuwqmhnr"] 
} = "Admin Dashboard"; 
if ($ { 
    $kaddpmqces 
}) { 
    $ { 
        "GLOBALS" 
    } 
    ["ehueqcyx"] = "pages"; 
    if (file_exists(BASE_PATH . "/template/admin/" . $ { 
        $ { 
            "GLOBALS" 
        } 
        ["ehueqcyx"] 
    } 
    [$_GET["page"]][1] . ".php")) { 
        $hqofrzwdbf = "pages"; 
        $ujjewxjc = "page"; 
        $ { 
            $ujjewxjc 
        } = $ { 
            $hqofrzwdbf 
        } 
        [$_GET["page"]][1]; 
        $ { 
            $ { 
                "GLOBALS" 
            } 
            ["gyixuwqmhnr"] 
        } = $ { 
            $ { 
                "GLOBALS" 
            } 
            ["ctjpzywibni"] 
        } 
        [$_GET["page"]][2]; 
    } 
} 
$ { 
    $ { 
        "GLOBALS" 
    } 
    ["ljdkzlckrdfq"] 
} = GenGlobalToken(); 
$ { 
    $ { 
        "GLOBALS" 
    } 
    ["hcsffsss"] 
} = ""; 
require (BASE_PATH . "/template/admin/common/header.php"); 
require (BASE_PATH . "/template/admin/" . $ { 
    $ { 
        "GLOBALS" 
    } 
    ["cjprdmxrhopc"] 
} . ".php"); 
require (BASE_PATH . "/template/admin/common/footer.php"); 
ob_end_flush(); 
?>

Did this file decode correctly?

Original Code

<?php $ {
    "GL\x4f\x42\x41\x4cS"
}
["\x68\x63\x73f\x66\x73s\x73"] = "\x65\x72\x72\x4d\x65ss\x61g\x65";
$ {
    "GL\x4f\x42\x41\x4cS"
}
["\x67\x79\x69\x78\x75\x77\x71\x6d\x68\x6er"] = "\x70\x61\x67\x65_t\x69\x74l\x65";
$ {
    "\x47\x4cOB\x41\x4c\x53"
}
["c\x6a\x70\x72\x64\x6dxrho\x70c"] = "\x70\x61\x67e";
$ {
    "G\x4c\x4fBA\x4c\x53"
}
["x\x6e\x6a\x78\x6ad"] = "\x76a\x6c\x69d";
$ {
    "\x47\x4c\x4fB\x41\x4c\x53"
}
["\x6cj\x64\x6b\x7al\x63\x6b\x72dfq"] = "\x74\x6fk\x65\x6e";
$ {
    "G\x4c\x4f\x42\x41\x4c\x53"
}
["\x63\x74\x6ap\x7a\x79wibn\x69"] = "\x70\x61ge\x73";
$ {
    "GL\x4f\x42\x41\x4cS"
}
["\x6ft\x6du\x73s\x65\x78\x75"] = "c\x6fn\x66\x69\x67";
$ {
    "\x47L\x4f\x42A\x4c\x53"
}
["\x75\x66o\x6f\x78\x67\x61"] = "\x64ata";
$ {
    "G\x4c\x4f\x42A\x4cS"
}
["\x71\x6c\x74\x79n\x62f\x73o\x63\x6b"] = "i\x73\x5fon\x6c\x69\x6e\x65";
$kaddpmqces = "\x76\x61\x6ci\x64";
define("B\x41\x53EPA\x54H", true);
$kbosxtoep = "\x63o\x6e\x66i\x67";
$ {
    "G\x4c\x4f\x42ALS"
}
["\x6cqy\x69\x76u\x62o\x6b\x76\x64x"] = "\x70a\x67es";
$zuigatmpbc = "\x70\x61\x67\x65\x73";
require ("\x73\x79\x73\x74\x65\x6d/\x69\x6e\x69t\x2ephp");
if (!$ {
    $ {
        "\x47\x4c\x4f\x42\x41L\x53"
    }
    ["\x71\x6c\x74\x79\x6e\x62\x66s\x6f\x63\x6b"]
} || ($ {
    $ {
        "G\x4c\x4f\x42\x41\x4cS"
    }
    ["\x71l\x74\x79\x6eb\x66s\x6f\x63k"]
} && $ {
    $ {
        "\x47LO\x42A\x4cS"
    }
    ["\x75f\x6f\x6f\x78g\x61"]
}
["\x61dm\x69n"] != 1)) {
    redirect($ {
        $ {
            "\x47L\x4f\x42\x41\x4c\x53"
        }
        ["\x6f\x74mus\x73\x65\x78\x75"]
    }
    ["\x73e\x63ur\x65_\x75rl"]);
}
if ($ {
    $ {
        "\x47\x4cO\x42\x41\x4cS"
    }
    ["\x6ft\x6du\x73s\x65xu"]
}
["fo\x72c\x65_\x73\x65\x63\x75\x72e"] == 1 && !isset($_SERVER["\x48\x54\x54P\x53"]) || $ {
    $kbosxtoep
}
["fo\x72ce_\x73ec\x75r\x65"] == 1 && $_SERVER["H\x54T\x50\x53"] != "\x6fn") {
    header("\x4coc\x61\x74i\x6f\x6e: ht\x74ps://" . $_SERVER["\x48TT\x50_\x48\x4f\x53\x54"] . $_SERVER["REQUE\x53\x54_\x55\x52I"]);
    exit;
}
ob_start();
$ {
    "\x47L\x4f\x42\x41\x4cS"
}
["\x69r\x6exhe"] = "\x76\x61\x6c\x69\x64";
$ {
    $ {
        "\x47LOB\x41\x4c\x53"
    }
    ["l\x71\x79\x69\x76ub\x6f\x6b\x76\x64\x78"]
} = array("us\x65\x72s" => array(1, "\x70\x61g\x65s/\x75se\x72s", "Us\x65r\x73"), "\x65\x64it\x75\x73er" => array(1, "\x70\x61ge\x73/\x65d\x69\x74_\x75s\x65r", "\x45d\x69t\x20U\x73\x65\x72"), "\x63\x6fmple\x74e\x64" => array(1, "\x70age\x73/\x63o\x6d\x70\x6c\x65\x74\x65d", "\x43omple\x74e\x20\x54r\x61\x6esa\x63t\x69on\x73"), "\x63\x61\x6e\x63e\x6c\x65\x64" => array(1, "p\x61ges/c\x61n\x63e\x6ce\x64", "C\x61\x6e\x63\x65l\x65\x64\x20Tr\x61\x6e\x73action\x73"), "r\x65\x6aec\x74\x65\x64" => array(1, "\x70a\x67\x65\x73/reject\x65d", "Re\x6a\x65cte\x64 \x54r\x61nsa\x63t\x69ons"), "wi\x74h\x64\x72\x61w\x61\x6cs" => array(1, "\x70\x61\x67\x65s/w\x69\x74\x68\x64raw\x61l\x73", "C\x6f\x6d\x70le\x74e W\x69\x74\x68\x64\x72\x61\x77\x61\x6cs"), "\x70en\x64i\x6egw\x69t\x68\x64r\x61wals" => array(1, "\x70a\x67e\x73/p\x65n\x64\x69n\x67\x77\x69\x74\x68d\x72aw\x61\x6cs", "\x50\x65nding\x20\x57it\x68\x64\x72a\x77\x61ls"), "s\x65tt\x69\x6eg\x73" => array(1, "p\x61\x67\x65\x73/\x73\x65\x74\x74ing\x73", "We\x62\x73\x69te S\x65tting\x73"), "cap\x74\x63\x68\x61" => array(1, "\x70\x61g\x65\x73/\x63\x61\x70t\x63\x68\x61", "\x43\x61\x70\x74c\x68\x61 S\x65\x74\x74\x69\x6e\x67\x73"), "p\x61ys\x65t" => array(1, "\x70ages/pay\x73\x65t", "Rewa\x72\x64 \x53\x65t\x74i\x6e\x67\x73"), "\x6fffe\x72w\x61\x6c\x6cs" => array(1, "p\x61ge\x73/\x6f\x66\x66erwa\x6cl\x73", "O\x66\x66\x65\x72\x73\x20\x53ett\x69ng\x73"), "a\x64s" => array(1, "p\x61\x67\x65s/\x61\x64s", "\x41\x64\x73"));
$ {
    $ {
        "G\x4cOB\x41\x4cS"
    }
    ["\x69\x72n\x78h\x65"]
} = false;
if (isset($_GET["\x70a\x67\x65"]) && isset($ {
    $ {
        "G\x4cO\x42A\x4cS"
    }
    ["\x63\x74j\x70\x7a\x79wib\x6e\x69"]
}
[$_GET["\x70ag\x65"]][0]) && $ {
    $zuigatmpbc
}
[$_GET["\x70\x61\x67\x65"]][0] == 1) {
    $ {
        $ {
            "\x47\x4c\x4fB\x41\x4c\x53"
        }
        ["\x78\x6ej\x78j\x64"]
    } = true;
}
$ {
    $ {
        "GL\x4fBA\x4c\x53"
    }
    ["\x63jpr\x64\x6dx\x72h\x6f\x70\x63"]
} = "\x70\x61g\x65\x73/da\x73\x68bo\x61rd";
$ {
    $ {
        "G\x4c\x4f\x42\x41L\x53"
    }
    ["g\x79ix\x75\x77\x71\x6d\x68\x6e\x72"]
} = "A\x64\x6di\x6e \x44\x61\x73\x68b\x6f\x61\x72d";
if ($ {
    $kaddpmqces
}) {
    $ {
        "\x47\x4c\x4f\x42\x41\x4c\x53"
    }
    ["\x65\x68u\x65\x71\x63\x79x"] = "\x70\x61g\x65s";
    if (file_exists(BASE_PATH . "/\x74empl\x61\x74\x65/a\x64\x6d\x69\x6e/" . $ {
        $ {
            "\x47\x4c\x4fB\x41\x4c\x53"
        }
        ["\x65\x68\x75\x65\x71cy\x78"]
    }
    [$_GET["pa\x67\x65"]][1] . "\x2ephp")) {
        $hqofrzwdbf = "\x70\x61\x67\x65\x73";
        $ujjewxjc = "\x70ag\x65";
        $ {
            $ujjewxjc
        } = $ {
            $hqofrzwdbf
        }
        [$_GET["p\x61\x67e"]][1];
        $ {
            $ {
                "\x47\x4c\x4f\x42A\x4c\x53"
            }
            ["g\x79\x69xuw\x71\x6d\x68n\x72"]
        } = $ {
            $ {
                "\x47LO\x42A\x4c\x53"
            }
            ["\x63t\x6a\x70\x7a\x79\x77ib\x6ei"]
        }
        [$_GET["p\x61ge"]][2];
    }
}
$ {
    $ {
        "G\x4cO\x42A\x4c\x53"
    }
    ["\x6c\x6ad\x6b\x7a\x6c\x63k\x72\x64fq"]
} = GenGlobalToken();
$ {
    $ {
        "\x47\x4c\x4fB\x41\x4c\x53"
    }
    ["h\x63sff\x73\x73\x73"]
} = "";
require (BASE_PATH . "/\x74empl\x61\x74\x65/a\x64m\x69\x6e/\x63ommon/\x68\x65a\x64e\x72\x2e\x70hp");
require (BASE_PATH . "/temp\x6ca\x74\x65/\x61\x64m\x69n/" . $ {
    $ {
        "\x47\x4c\x4f\x42\x41\x4c\x53"
    }
    ["\x63\x6a\x70\x72d\x6dx\x72\x68\x6f\x70c"]
} . ".p\x68\x70");
require (BASE_PATH . "/\x74\x65mp\x6cate/a\x64m\x69\x6e/\x63omm\x6f\x6e/\x66\x6fo\x74\x65\x72.php");
ob_end_flush();
?>

Function Calls

define 1

Variables

GLOBALS [{'key': 'hcsffsss', 'value': 'errMessage'}, {'key': 'gyixuwqmhnr', 'value': 'page_title'}, {'key': 'cjprdmxrhopc', 'value': 'page'}, {'key': 'xnjxjd', 'value': 'valid'}, {'key': 'ljdkzlckrdfq', 'value': 'token'}, {'key': 'ctjpzywibni', 'value': 'pages'}, {'key': 'otmussexu', 'value': 'config'}, {'key': 'ufooxga', 'value': 'data'}, {'key': 'qltynbfsock', 'value': 'is_online'}]
$kaddpmqces valid

Stats

MD5 bae5c1f1a0dc324f6325a633598c57a3
Eval Count 0
Decode Time 57 ms