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 ${"G\x4c\x4fBA\x4cS"}["\x7azu\x76p\x72z\x76pm"] = "chec\x6b\x5f\x61\x63\x74\x69\x76\..
Decoded Output download
<?php ${"GLOBALS"}["zzuvprzvpm"] = "check_activity";
${"GLOBALS"}["tmmuavnixmq"] = "ses_id";
${"GLOBALS"}["thfnev"] = "sesCookie_part";
${"GLOBALS"}["yjtiprhelnfs"] = "find_ses_exp";
${"GLOBALS"}["wqsppdy"] = "ses_key";
${"GLOBALS"}["clphhqziji"] = "browser";
${"GLOBALS"}["wezmxmjnj"] = "hash_key";
${"GLOBALS"}["vrkqaxhwkfn"] = "is_online";
${"GLOBALS"}["obichpabq"] = "data";
${"GLOBALS"}["djllmg"] = "ip_address";
${"GLOBALS"}["lfcmqyj"] = "selected";
${"GLOBALS"}["obtgyrl"] = "set_def_theme";
${"GLOBALS"}["zpoxnjji"] = "theme";
${"GLOBALS"}["mfxswsyxlhki"] = "tm";
${"GLOBALS"}["pieqyguxvq"] = "con";
${"GLOBALS"}["hhxhrjydlg"] = "configs";
$fyngmfri = "con";
${"GLOBALS"}["gnujbixho"] = "config";
$qbassztjjbx = "config";
error_reporting(0);
ini_set("display_errors", 0);
session_start();
$pgcqzh = "config";
${"GLOBALS"}["wsxjkepiqns"] = "config";
define("BASE_PATH", realpath(dirname(__FILE__) . "/.."));
require(BASE_PATH . "/system/database.php");
${"GLOBALS"}["enjiqbkd"] = "config";
${"GLOBALS"}["nhiletpj"] = "config";
require(BASE_PATH . "/system/libs/functions.php");
require(BASE_PATH . "/system/libs/database/" . ${${"GLOBALS"}["nhiletpj"]}["sql_extenstion"] . ".php");
$hfuifydrm = "configs";
include(BASE_PATH . "/system/libs/recaptcha/autoload.php");
include(BASE_PATH . "/system/libs/PHPMailer/load.php");
${"GLOBALS"}["jqruauggxcb"] = "db";
include(BASE_PATH . "/system/libs/JSPacker.php");
${${"GLOBALS"}["jqruauggxcb"]} = new MySQLConnection(${${"GLOBALS"}["enjiqbkd"]}["sql_host"], ${$qbassztjjbx}["sql_username"], ${${"GLOBALS"}["wsxjkepiqns"]}["sql_password"], ${${"GLOBALS"}["gnujbixho"]}["sql_database"]);
$db->Connect();
if (!defined("IS_AJAX") && file_exists(BASE_PATH . "/system/run_update.php")) {
include(BASE_PATH . "/system/run_update.php");
}
${$pgcqzh} = array();
${${"GLOBALS"}["hhxhrjydlg"]} = $db->QueryFetchArrayAll("SELECT config_name,config_value FROM `site_config`");
foreach (${$hfuifydrm} as ${$fyngmfri}) {
$bakfnk = "con";
${"GLOBALS"}["dfbhozh"] = "config";
${${"GLOBALS"}["dfbhozh"]}[${${"GLOBALS"}["pieqyguxvq"]}["config_name"]] = ${$bakfnk}["config_value"];
}
unset(${${"GLOBALS"}["hhxhrjydlg"]});
${"GLOBALS"}["gsuhpxo"] = "is_online";
${${"GLOBALS"}["gnujbixho"]}["version"] = "1.0.1";
if (!defined("IS_AJAX")) {
${"GLOBALS"}["rsclwvvlpime"] = "config";
${"GLOBALS"}["mbbljsdjrcz"] = "config";
$ljdethemiu = "config";
${"GLOBALS"}["kqmfvmx"] = "config";
${$ljdethemiu}["theme"] = (!empty(${${"GLOBALS"}["rsclwvvlpime"]}["theme"]) && file_exists(BASE_PATH . "/template/" . ${${"GLOBALS"}["kqmfvmx"]}["theme"] . "/index.php") ? ${${"GLOBALS"}["mbbljsdjrcz"]}["theme"] : "default");
include(BASE_PATH . "/template/" . ${${"GLOBALS"}["gnujbixho"]}["theme"] . "/index.php");
if (defined("IS_ADMIN")) {
${"GLOBALS"}["nmxwouvxgj"] = "set_def_theme";
$ulkddvvr = "tm";
${${"GLOBALS"}["nmxwouvxgj"]} = "";
foreach (glob(BASE_PATH . "/template/*/index.php") as ${$ulkddvvr}) {
${"GLOBALS"}["jrbzxjp"] = "config";
include(${${"GLOBALS"}["mfxswsyxlhki"]});
${"GLOBALS"}["fmhljll"] = "selected";
${"GLOBALS"}["oifxhlseypeu"] = "theme";
$dxwgxi = "theme";
${${"GLOBALS"}["fmhljll"]} = (isset($_POST["set"]["theme"]) && $_POST["set"]["theme"] == ${${"GLOBALS"}["oifxhlseypeu"]}["code"] ? " selected" : (!isset($_POST["set"]["theme"]) && ${${"GLOBALS"}["jrbzxjp"]}["theme"] == ${${"GLOBALS"}["zpoxnjji"]}["code"] ? " selected" : ""));
${${"GLOBALS"}["obtgyrl"]} .= "<option value="" . ${$dxwgxi}["code"] . """ . ${${"GLOBALS"}["lfcmqyj"]} . ">" . ${${"GLOBALS"}["zpoxnjji"]}["name"] . "</option>";
}
}
}
${${"GLOBALS"}["gsuhpxo"]} = false;
${${"GLOBALS"}["djllmg"]} = VisitorIP();
if (isset($_SESSION["PT_User"])) {
$wsozarq = "ses_id";
${$wsozarq} = $db->EscapeString($_SESSION["PT_User"]);
${"GLOBALS"}["hvbydjkxvotx"] = "data";
${"GLOBALS"}["ocfypusq"] = "ses_id";
${${"GLOBALS"}["obichpabq"]} = $db->QueryFetchArray("SELECT a.*, c.hash FROM users a LEFT JOIN users_sessions c ON c.uid = a.id WHERE a.id = '" . ${${"GLOBALS"}["ocfypusq"]} . "' AND a.disabled = '0' LIMIT 1");
$jngbdyiq = "data";
${${"GLOBALS"}["vrkqaxhwkfn"]} = true;
if (empty(${${"GLOBALS"}["hvbydjkxvotx"]}["id"])) {
session_destroy();
${${"GLOBALS"}["vrkqaxhwkfn"]} = false;
} elseif (empty(${$jngbdyiq}["hash"])) {
${${"GLOBALS"}["wezmxmjnj"]} = GenerateKey(16);
${"GLOBALS"}["icllvkdvg"] = "hash_key";
${"GLOBALS"}["cohmsvnq"] = "ip_address";
${"GLOBALS"}["itsssen"] = "browser";
$qomkoe = "browser";
${"GLOBALS"}["yorkjdyhf"] = "hash_key";
${$qomkoe} = $db->EscapeString($_SERVER["HTTP_USER_AGENT"]);
${"GLOBALS"}["vfuzpmuon"] = "hash_key";
$db->Query("INSERT INTO `users_sessions` (`uid`,`hash`,`browser`,`ip_address`,`timestamp`) VALUES ('" . ${${"GLOBALS"}["obichpabq"]}["id"] . "','" . ${${"GLOBALS"}["yorkjdyhf"]} . "','" . ${${"GLOBALS"}["itsssen"]} . "','" . ${${"GLOBALS"}["djllmg"]} . "','" . time() . "') ON DUPLICATE KEY UPDATE `hash`='" . ${${"GLOBALS"}["icllvkdvg"]} . "', `browser`='" . ${${"GLOBALS"}["clphhqziji"]} . "', `ip_address`='" . ${${"GLOBALS"}["cohmsvnq"]} . "', `timestamp`='" . time() . "'");
$_SESSION["SesHashKey"] = ${${"GLOBALS"}["vfuzpmuon"]};
if (isset($_COOKIE["SesToken"])) {
$ukuwjdwulhi = "data";
${"GLOBALS"}["eqicacgixk"] = "hash_key";
setcookie("SesHashKey", ${${"GLOBALS"}["eqicacgixk"]}, time() + 604800, "/");
setcookie("SesToken", "ses_id=" . ${$ukuwjdwulhi}["id"] . "&ses_key=" . ${${"GLOBALS"}["wezmxmjnj"]}, time() + 604800, "/");
}
} elseif (${${"GLOBALS"}["obichpabq"]}["last_activity"] + 90 < time() && !defined("IS_AJAX")) {
$nssrfqtu = "data";
$db->Query("UPDATE `users` SET `last_activity`='" . time() . "' WHERE `id`='" . ${$nssrfqtu}["id"] . "' LIMIT 1");
$_SESSION["PT_User"] = ${${"GLOBALS"}["obichpabq"]}["id"];
if (isset($_SESSION["SesHashKey"]) && $_SESSION["SesHashKey"] == ${${"GLOBALS"}["obichpabq"]}["hash"]) {
$iwyhcpcrll = "data";
$_SESSION["SesHashKey"] = ${$iwyhcpcrll}["hash"];
}
}
} elseif (isset($_COOKIE["SesToken"])) {
${"GLOBALS"}["rdsmtpevk"] = "ses_id";
${"GLOBALS"}["yipnovniprt"] = "sesCookie";
$igyvek = "sesCookie";
$hrsainfm = "sesCookie";
${${"GLOBALS"}["rdsmtpevk"]} = "";
$myxocoptjkz = "ses_id";
${"GLOBALS"}["dpnosdqcro"] = "sesCookie";
${"GLOBALS"}["dchvxwtndbs"] = "sesCookie_part";
${${"GLOBALS"}["wqsppdy"]} = "";
${${"GLOBALS"}["yipnovniprt"]} = $db->EscapeString($_COOKIE["SesToken"], 0);
${$igyvek} = explode("&", ${${"GLOBALS"}["dpnosdqcro"]});
foreach (${$hrsainfm} as ${${"GLOBALS"}["dchvxwtndbs"]}) {
${${"GLOBALS"}["yjtiprhelnfs"]} = explode("=", ${${"GLOBALS"}["thfnev"]});
if (${${"GLOBALS"}["yjtiprhelnfs"]}[0] == "ses_id") {
$dyeyoqjjnfh = "find_ses_exp";
${${"GLOBALS"}["tmmuavnixmq"]} = $db->EscapeString(${$dyeyoqjjnfh}[1]);
} elseif (${${"GLOBALS"}["yjtiprhelnfs"]}[0] == "ses_key") {
${"GLOBALS"}["smehucfd"] = "ses_key";
${${"GLOBALS"}["smehucfd"]} = $db->EscapeString(${${"GLOBALS"}["yjtiprhelnfs"]}[1]);
}
}
$zysjopf = "ses_key";
if (!empty(${$myxocoptjkz}) && !empty(${$zysjopf})) {
${"GLOBALS"}["rdfwxtnxyuz"] = "ses_id";
${"GLOBALS"}["wskhdbgxciv"] = "data";
$mfbzdts = "data";
$tqfoxcf = "ses_key";
${${"GLOBALS"}["wskhdbgxciv"]} = $db->QueryFetchArray("SELECT a.*, c.hash FROM users a LEFT JOIN users_sessions c ON c.uid = a.id WHERE a.id = '" . ${${"GLOBALS"}["rdfwxtnxyuz"]} . "' AND c.hash = '" . ${$tqfoxcf} . "' AND a.disabled = '0' LIMIT 1");
if (empty(${$mfbzdts}["id"])) {
unset($_COOKIE["SesToken"]);
} else {
$hettwzftug = "data";
$db->Query("UPDATE `users` SET `log_ip`='" . VisitorIP() . "', `last_activity`='" . time() . "' WHERE `id`='" . ${${"GLOBALS"}["obichpabq"]}["id"] . "'");
$_SESSION["PT_User"] = ${${"GLOBALS"}["obichpabq"]}["id"];
${${"GLOBALS"}["vrkqaxhwkfn"]} = true;
${${"GLOBALS"}["zzuvprzvpm"]} = $db->QueryGetNumRows("SELECT `id` FROM `user_logins` WHERE `uid`='" . ${$hettwzftug}["id"] . "' AND DATE(`time`) = DATE(NOW()) LIMIT 1");
if (${${"GLOBALS"}["zzuvprzvpm"]} == 0 && !empty(${${"GLOBALS"}["djllmg"]})) {
${"GLOBALS"}["letvdmqbkndo"] = "ip_address";
${${"GLOBALS"}["clphhqziji"]} = $db->EscapeString($_SERVER["HTTP_USER_AGENT"]);
${"GLOBALS"}["wzxjdnzdghec"] = "data";
$db->Query("INSERT INTO `user_logins` (`uid`,`ip`,`info`,`time`) VALUES ('" . ${${"GLOBALS"}["wzxjdnzdghec"]}["id"] . "','" . ${${"GLOBALS"}["letvdmqbkndo"]} . "','" . ${${"GLOBALS"}["clphhqziji"]} . "',NOW())");
}
}
} else {
unset($_COOKIE["SesToken"]);
}
}
?>
Did this file decode correctly?
Original Code
<?php ${"G\x4c\x4fBA\x4cS"}["\x7azu\x76p\x72z\x76pm"] = "chec\x6b\x5f\x61\x63\x74\x69\x76\x69\x74\x79";
${"G\x4cO\x42\x41L\x53"}["\x74m\x6d\x75a\x76\x6ei\x78\x6d\x71"] = "s\x65\x73\x5fid";
${"\x47L\x4fB\x41\x4c\x53"}["\x74\x68\x66\x6e\x65\x76"] = "\x73e\x73C\x6fok\x69\x65_part";
${"\x47L\x4f\x42\x41LS"}["\x79\x6a\x74ipr\x68\x65l\x6e\x66s"] = "f\x69\x6e\x64_ses\x5f\x65x\x70";
${"\x47\x4cO\x42\x41\x4c\x53"}["\x77\x71\x73ppd\x79"] = "\x73es_\x6b\x65y";
${"GL\x4fBA\x4c\x53"}["\x63\x6c\x70\x68h\x71\x7ai\x6ai"] = "b\x72o\x77\x73\x65r";
${"G\x4c\x4f\x42A\x4c\x53"}["w\x65\x7amxmj\x6e\x6a"] = "\x68\x61sh\x5f\x6b\x65y";
${"G\x4c\x4f\x42A\x4c\x53"}["vrkqa\x78h\x77\x6b\x66\x6e"] = "i\x73\x5f\x6fn\x6c\x69\x6e\x65";
${"\x47L\x4f\x42\x41L\x53"}["\x6f\x62\x69c\x68\x70\x61\x62\x71"] = "d\x61\x74\x61";
${"\x47\x4c\x4fBAL\x53"}["\x64\x6a\x6cl\x6d\x67"] = "\x69p\x5f\x61dd\x72\x65\x73\x73";
${"GLO\x42\x41\x4c\x53"}["\x6c\x66cmq\x79j"] = "\x73\x65l\x65\x63\x74\x65\x64";
${"\x47\x4c\x4f\x42\x41\x4c\x53"}["o\x62\x74\x67yrl"] = "\x73\x65\x74\x5fdef\x5f\x74h\x65m\x65";
${"\x47\x4c\x4fB\x41\x4c\x53"}["\x7a\x70\x6fxn\x6aji"] = "the\x6d\x65";
${"G\x4c\x4fBA\x4cS"}["\x6d\x66\x78s\x77sy\x78l\x68\x6b\x69"] = "\x74m";
${"GL\x4f\x42\x41\x4c\x53"}["p\x69\x65\x71y\x67uxvq"] = "c\x6fn";
${"\x47\x4cO\x42\x41\x4c\x53"}["\x68\x68xh\x72\x6a\x79\x64\x6cg"] = "\x63\x6fnf\x69\x67\x73";
$fyngmfri = "c\x6f\x6e";
${"\x47\x4c\x4f\x42A\x4cS"}["g\x6e\x75\x6ab\x69\x78ho"] = "\x63o\x6e\x66i\x67";
$qbassztjjbx = "c\x6f\x6e\x66\x69\x67";
error_reporting(0);
ini_set("\x64i\x73p\x6cay\x5f\x65r\x72\x6f\x72s", 0);
session_start();
$pgcqzh = "c\x6fn\x66i\x67";
${"\x47\x4cOB\x41\x4c\x53"}["\x77sxjk\x65\x70\x69\x71\x6es"] = "\x63\x6f\x6e\x66\x69\x67";
define("\x42\x41SE\x5f\x50\x41T\x48", realpath(dirname(__FILE__) . "/\x2e."));
require(BASE_PATH . "/s\x79stem/da\x74a\x62ase\x2e\x70hp");
${"G\x4c\x4f\x42A\x4c\x53"}["\x65\x6e\x6a\x69qbk\x64"] = "\x63o\x6ef\x69\x67";
${"G\x4cO\x42AL\x53"}["\x6e\x68i\x6ce\x74\x70\x6a"] = "co\x6e\x66\x69\x67";
require(BASE_PATH . "/s\x79s\x74em/\x6cibs/\x66uncti\x6f\x6es.p\x68\x70");
require(BASE_PATH . "/s\x79stem/l\x69\x62s/da\x74\x61\x62\x61s\x65/" . ${${"GL\x4f\x42\x41L\x53"}["\x6e\x68\x69\x6c\x65\x74\x70\x6a"]}["\x73q\x6c_\x65xten\x73\x74\x69o\x6e"] . ".\x70\x68\x70");
$hfuifydrm = "\x63\x6fn\x66i\x67\x73";
include(BASE_PATH . "/sy\x73\x74\x65\x6d/l\x69b\x73/\x72\x65ca\x70tcha/\x61ut\x6floa\x64\x2e\x70hp");
include(BASE_PATH . "/\x73\x79st\x65\x6d/\x6ci\x62\x73/\x50HPM\x61i\x6ce\x72/loa\x64\x2ep\x68p");
${"\x47LO\x42\x41\x4c\x53"}["j\x71\x72\x75\x61\x75\x67\x67\x78\x63b"] = "d\x62";
include(BASE_PATH . "/\x73yste\x6d/lib\x73/J\x53P\x61\x63k\x65\x72.\x70h\x70");
${${"\x47\x4c\x4fBA\x4c\x53"}["\x6a\x71r\x75\x61ug\x67\x78\x63b"]} = new MySQLConnection(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x65\x6e\x6a\x69qb\x6bd"]}["s\x71\x6c_h\x6f\x73\x74"], ${$qbassztjjbx}["sql_u\x73\x65rname"], ${${"\x47\x4c\x4f\x42\x41\x4cS"}["w\x73x\x6ake\x70\x69\x71ns"]}["sq\x6c\x5fp\x61\x73swor\x64"], ${${"GL\x4f\x42\x41\x4c\x53"}["g\x6e\x75\x6a\x62i\x78\x68\x6f"]}["\x73\x71\x6c\x5f\x64at\x61b\x61se"]);
$db->Connect();
if (!defined("I\x53\x5f\x41J\x41X") && file_exists(BASE_PATH . "/\x73ys\x74e\x6d/\x72\x75\x6e_\x75pda\x74e.p\x68\x70")) {
include(BASE_PATH . "/\x73\x79\x73te\x6d/run\x5fupdat\x65.p\x68p");
}
${$pgcqzh} = array();
${${"\x47L\x4fBA\x4c\x53"}["hh\x78h\x72\x6a\x79\x64\x6c\x67"]} = $db->QueryFetchArrayAll("\x53ELECT\x20\x63\x6f\x6ef\x69\x67_n\x61\x6d\x65,\x63o\x6e\x66ig_va\x6c\x75e FROM `\x73\x69\x74\x65\x5fc\x6f\x6ef\x69\x67\x60");
foreach (${$hfuifydrm} as ${$fyngmfri}) {
$bakfnk = "\x63\x6fn";
${"\x47\x4cO\x42\x41\x4c\x53"}["\x64\x66\x62\x68\x6f\x7a\x68"] = "\x63\x6fn\x66i\x67";
${${"\x47\x4cO\x42A\x4c\x53"}["\x64f\x62h\x6fz\x68"]}[${${"\x47LOB\x41\x4cS"}["pie\x71\x79\x67\x75xvq"]}["c\x6fn\x66ig_nam\x65"]] = ${$bakfnk}["\x63o\x6e\x66\x69\x67_va\x6cue"];
}
unset(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x68\x68\x78\x68\x72\x6a\x79d\x6c\x67"]});
${"\x47\x4c\x4f\x42\x41L\x53"}["gs\x75\x68p\x78o"] = "\x69\x73\x5fo\x6e\x6ci\x6ee";
${${"G\x4c\x4fBA\x4cS"}["\x67\x6e\x75\x6ab\x69xho"]}["ver\x73ion"] = "1.\x30.\x31";
if (!defined("\x49\x53_\x41JA\x58")) {
${"\x47L\x4fBA\x4cS"}["rsc\x6cwv\x76\x6c\x70\x69\x6d\x65"] = "\x63\x6f\x6e\x66\x69g";
${"\x47\x4cO\x42ALS"}["\x6db\x62\x6c\x6a\x73d\x6a\x72cz"] = "c\x6f\x6e\x66i\x67";
$ljdethemiu = "\x63o\x6e\x66i\x67";
${"\x47\x4cO\x42ALS"}["\x6b\x71\x6d\x66\x76m\x78"] = "\x63\x6f\x6e\x66\x69\x67";
${$ljdethemiu}["t\x68e\x6de"] = (!empty(${${"\x47\x4c\x4fBALS"}["r\x73\x63\x6c\x77vvl\x70i\x6d\x65"]}["\x74\x68eme"]) && file_exists(BASE_PATH . "/\x74e\x6dp\x6c\x61te/" . ${${"\x47LO\x42\x41\x4c\x53"}["\x6b\x71\x6d\x66\x76\x6d\x78"]}["t\x68\x65\x6d\x65"] . "/i\x6ed\x65\x78\x2e\x70h\x70") ? ${${"\x47L\x4f\x42\x41\x4cS"}["mb\x62lj\x73\x64\x6a\x72\x63\x7a"]}["t\x68e\x6de"] : "d\x65\x66au\x6ct");
include(BASE_PATH . "/\x74emplate/" . ${${"\x47\x4cO\x42AL\x53"}["\x67n\x75\x6ab\x69\x78\x68o"]}["\x74\x68\x65\x6d\x65"] . "/\x69\x6e\x64ex\x2eph\x70");
if (defined("\x49\x53\x5fA\x44\x4dIN")) {
${"\x47\x4c\x4f\x42\x41L\x53"}["\x6e\x6dxwo\x75\x76\x78\x67\x6a"] = "\x73e\x74_d\x65\x66\x5f\x74\x68\x65\x6d\x65";
$ulkddvvr = "\x74\x6d";
${${"G\x4c\x4fB\x41LS"}["\x6e\x6dx\x77o\x75\x76\x78\x67\x6a"]} = "";
foreach (glob(BASE_PATH . "/\x74\x65m\x70lat\x65/*/i\x6e\x64\x65x\x2e\x70\x68p") as ${$ulkddvvr}) {
${"\x47\x4c\x4f\x42\x41L\x53"}["\x6arb\x7a\x78j\x70"] = "\x63\x6fn\x66\x69\x67";
include(${${"\x47\x4c\x4f\x42A\x4cS"}["m\x66xsw\x73\x79\x78l\x68\x6b\x69"]});
${"\x47L\x4f\x42A\x4c\x53"}["f\x6d\x68l\x6all"] = "\x73ele\x63\x74\x65\x64";
${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6fif\x78\x68\x6c\x73\x65\x79\x70\x65\x75"] = "\x74\x68e\x6d\x65";
$dxwgxi = "\x74h\x65me";
${${"\x47L\x4fBAL\x53"}["\x66m\x68\x6c\x6a\x6c\x6c"]} = (isset($_POST["\x73et"]["t\x68eme"]) && $_POST["s\x65t"]["t\x68\x65me"] == ${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6f\x69\x66\x78h\x6c\x73\x65y\x70\x65u"]}["\x63o\x64e"] ? " se\x6ce\x63te\x64" : (!isset($_POST["\x73\x65t"]["\x74he\x6d\x65"]) && ${${"\x47L\x4f\x42A\x4cS"}["\x6a\x72\x62\x7axj\x70"]}["\x74\x68\x65\x6de"] == ${${"\x47\x4c\x4f\x42A\x4c\x53"}["zp\x6f\x78\x6e\x6a\x6a\x69"]}["\x63o\x64e"] ? " \x73e\x6cect\x65\x64" : ""));
${${"GLOB\x41\x4c\x53"}["\x6f\x62t\x67\x79\x72l"]} .= "\x3cop\x74i\x6f\x6e \x76\x61\x6cu\x65\x3d\x22" . ${$dxwgxi}["\x63od\x65"] . "\x22" . ${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6c\x66cm\x71y\x6a"]} . "\x3e" . ${${"G\x4c\x4f\x42\x41L\x53"}["\x7a\x70o\x78nj\x6a\x69"]}["\x6eame"] . "</\x6fp\x74io\x6e>";
}
}
}
${${"\x47\x4c\x4fB\x41\x4cS"}["\x67\x73u\x68\x70x\x6f"]} = false;
${${"\x47\x4c\x4fB\x41L\x53"}["d\x6a\x6c\x6c\x6d\x67"]} = VisitorIP();
if (isset($_SESSION["P\x54_Us\x65\x72"])) {
$wsozarq = "\x73e\x73_\x69\x64";
${$wsozarq} = $db->EscapeString($_SESSION["PT\x5f\x55\x73\x65r"]);
${"\x47\x4c\x4f\x42A\x4c\x53"}["\x68\x76\x62\x79\x64\x6a\x6b\x78\x76\x6ft\x78"] = "d\x61\x74\x61";
${"G\x4c\x4f\x42A\x4cS"}["\x6f\x63\x66y\x70\x75\x73\x71"] = "se\x73\x5f\x69d";
${${"\x47\x4c\x4fB\x41LS"}["\x6fb\x69c\x68\x70\x61\x62q"]} = $db->QueryFetchArray("SE\x4cEC\x54\x20a\x2e*, c\x2eh\x61s\x68 \x46R\x4f\x4d\x20use\x72s\x20a\x20\x4cEF\x54 \x4a\x4f\x49\x4e \x75s\x65\x72s_\x73\x65s\x73\x69o\x6es\x20\x63\x20ON \x63\x2e\x75i\x64 \x3d \x61\x2e\x69d\x20\x57\x48ER\x45 a\x2eid \x3d\x20'" . ${${"\x47\x4c\x4f\x42AL\x53"}["oc\x66\x79\x70\x75\x73\x71"]} . "\x27\x20A\x4e\x44\x20a.\x64is\x61b\x6c\x65d\x20\x3d '\x30\x27 L\x49M\x49\x54\x201");
$jngbdyiq = "\x64a\x74\x61";
${${"\x47L\x4f\x42AL\x53"}["\x76r\x6bq\x61\x78h\x77\x6bf\x6e"]} = true;
if (empty(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x68\x76\x62\x79d\x6a\x6b\x78\x76otx"]}["id"])) {
session_destroy();
${${"GL\x4f\x42\x41LS"}["v\x72\x6b\x71\x61\x78\x68\x77k\x66\x6e"]} = false;
} elseif (empty(${$jngbdyiq}["\x68\x61\x73\x68"])) {
${${"\x47L\x4fB\x41\x4cS"}["\x77e\x7a\x6d\x78\x6dj\x6e\x6a"]} = GenerateKey(16);
${"\x47LOB\x41L\x53"}["i\x63\x6c\x6c\x76\x6b\x64\x76g"] = "\x68\x61\x73\x68\x5fk\x65y";
${"\x47LO\x42\x41\x4cS"}["\x63\x6fh\x6ds\x76\x6e\x71"] = "ip\x5fad\x64\x72\x65s\x73";
${"\x47\x4c\x4f\x42A\x4c\x53"}["\x69t\x73\x73\x73\x65\x6e"] = "\x62\x72o\x77\x73\x65r";
$qomkoe = "\x62\x72o\x77\x73\x65r";
${"G\x4cO\x42\x41L\x53"}["y\x6f\x72\x6b\x6ad\x79h\x66"] = "has\x68_key";
${$qomkoe} = $db->EscapeString($_SERVER["HTTP\x5fUS\x45R\x5f\x41\x47E\x4eT"]);
${"\x47\x4cO\x42\x41\x4cS"}["\x76\x66\x75z\x70\x6d\x75\x6f\x6e"] = "\x68\x61\x73h_\x6b\x65\x79";
$db->Query("INS\x45RT\x20\x49\x4e\x54O \x60use\x72\x73_s\x65\x73\x73ions\x60\x20(`\x75\x69d`,\x60\x68\x61\x73h\x60,`\x62\x72ows\x65r\x60,\x60ip_\x61\x64\x64r\x65\x73\x73`,\x60\x74\x69\x6d\x65\x73t\x61mp`)\x20V\x41\x4cU\x45S\x20('" . ${${"\x47\x4c\x4f\x42\x41\x4cS"}["o\x62ic\x68\x70a\x62\x71"]}["i\x64"] . "','" . ${${"G\x4c\x4f\x42\x41L\x53"}["\x79\x6f\x72\x6b\x6adyhf"]} . "\x27,\x27" . ${${"\x47\x4cO\x42\x41\x4cS"}["\x69\x74ssse\x6e"]} . "','" . ${${"G\x4c\x4f\x42\x41\x4c\x53"}["d\x6a\x6clm\x67"]} . "','" . time() . "')\x20\x4fN\x20D\x55PL\x49\x43\x41\x54\x45 \x4b\x45Y\x20U\x50\x44A\x54E\x20\x60\x68\x61s\x68`=\x27" . ${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x69\x63ll\x76\x6b\x64\x76g"]} . "', `\x62rowser\x60='" . ${${"\x47L\x4fB\x41L\x53"}["\x63\x6c\x70\x68\x68\x71zi\x6a\x69"]} . "',\x20\x60ip_a\x64dress`=\x27" . ${${"\x47\x4c\x4f\x42A\x4c\x53"}["c\x6fh\x6ds\x76\x6e\x71"]} . "',\x20`ti\x6d\x65\x73\x74a\x6d\x70\x60='" . time() . "'");
$_SESSION["S\x65\x73H\x61s\x68\x4bey"] = ${${"GLO\x42\x41\x4cS"}["\x76fu\x7ap\x6duon"]};
if (isset($_COOKIE["SesTo\x6ben"])) {
$ukuwjdwulhi = "\x64a\x74\x61";
${"\x47LOB\x41\x4cS"}["\x65q\x69\x63\x61\x63\x67i\x78\x6b"] = "\x68as\x68_\x6be\x79";
setcookie("S\x65\x73\x48as\x68Key", ${${"\x47\x4c\x4f\x42ALS"}["\x65\x71i\x63\x61\x63\x67\x69xk"]}, time() + 604800, "/");
setcookie("Se\x73Tok\x65n", "\x73\x65s_id\x3d" . ${$ukuwjdwulhi}["\x69d"] . "\x26s\x65\x73_\x6b\x65\x79\x3d" . ${${"G\x4cO\x42\x41\x4cS"}["\x77\x65\x7a\x6d\x78mj\x6ej"]}, time() + 604800, "/");
}
} elseif (${${"\x47L\x4fBALS"}["\x6f\x62i\x63\x68p\x61\x62\x71"]}["\x6c\x61\x73t_a\x63\x74i\x76\x69t\x79"] + 90 < time() && !defined("\x49S\x5fAJ\x41\x58")) {
$nssrfqtu = "d\x61\x74\x61";
$db->Query("UPD\x41T\x45\x20\x60\x75\x73\x65rs`\x20\x53ET\x20\x60\x6c\x61\x73t_activi\x74\x79\x60='" . time() . "'\x20\x57\x48E\x52E\x20`id`='" . ${$nssrfqtu}["i\x64"] . "\x27 \x4c\x49\x4dIT\x201");
$_SESSION["\x50\x54_\x55\x73e\x72"] = ${${"GL\x4f\x42\x41\x4c\x53"}["o\x62ichp\x61\x62\x71"]}["\x69d"];
if (isset($_SESSION["\x53e\x73H\x61s\x68\x4b\x65y"]) && $_SESSION["SesH\x61\x73h\x4be\x79"] == ${${"GL\x4f\x42\x41\x4cS"}["\x6fb\x69\x63\x68\x70abq"]}["\x68as\x68"]) {
$iwyhcpcrll = "d\x61\x74\x61";
$_SESSION["S\x65s\x48as\x68\x4b\x65\x79"] = ${$iwyhcpcrll}["h\x61\x73h"];
}
}
} elseif (isset($_COOKIE["Ses\x54\x6f\x6b\x65\x6e"])) {
${"G\x4c\x4fBAL\x53"}["\x72\x64\x73\x6d\x74p\x65\x76\x6b"] = "\x73\x65s\x5f\x69\x64";
${"\x47\x4cO\x42\x41\x4cS"}["\x79ip\x6e\x6fv\x6ei\x70\x72\x74"] = "\x73\x65\x73\x43\x6f\x6f\x6b\x69\x65";
$igyvek = "\x73es\x43\x6f\x6f\x6b\x69e";
$hrsainfm = "\x73\x65\x73\x43\x6f\x6fk\x69\x65";
${${"G\x4c\x4f\x42\x41\x4cS"}["\x72\x64s\x6dtpe\x76\x6b"]} = "";
$myxocoptjkz = "\x73\x65\x73\x5f\x69d";
${"\x47L\x4f\x42\x41LS"}["\x64p\x6e\x6f\x73\x64\x71\x63ro"] = "\x73\x65\x73C\x6f\x6f\x6b\x69e";
${"\x47\x4cOB\x41L\x53"}["\x64c\x68\x76x\x77\x74\x6e\x64\x62\x73"] = "\x73es\x43\x6fo\x6b\x69e\x5fp\x61\x72\x74";
${${"\x47\x4c\x4f\x42A\x4c\x53"}["w\x71\x73\x70\x70\x64\x79"]} = "";
${${"\x47L\x4fB\x41L\x53"}["\x79\x69\x70\x6e\x6fv\x6ei\x70r\x74"]} = $db->EscapeString($_COOKIE["S\x65\x73To\x6be\x6e"], 0);
${$igyvek} = explode("\x26", ${${"\x47L\x4f\x42\x41\x4cS"}["\x64\x70\x6e\x6fsdq\x63\x72o"]});
foreach (${$hrsainfm} as ${${"\x47\x4c\x4f\x42A\x4cS"}["d\x63\x68\x76\x78w\x74\x6e\x64b\x73"]}) {
${${"G\x4c\x4f\x42\x41L\x53"}["\x79j\x74\x69p\x72h\x65\x6c\x6e\x66\x73"]} = explode("\x3d", ${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x74\x68f\x6e\x65\x76"]});
if (${${"\x47\x4c\x4fB\x41\x4cS"}["y\x6at\x69\x70\x72\x68elnf\x73"]}[0] == "s\x65s_id") {
$dyeyoqjjnfh = "f\x69\x6e\x64_ses\x5fe\x78\x70";
${${"\x47\x4c\x4fB\x41\x4cS"}["\x74\x6d\x6d\x75\x61\x76\x6e\x69\x78mq"]} = $db->EscapeString(${$dyeyoqjjnfh}[1]);
} elseif (${${"\x47L\x4f\x42\x41LS"}["\x79\x6a\x74\x69\x70\x72\x68\x65\x6c\x6ef\x73"]}[0] == "s\x65s_\x6b\x65y") {
${"\x47\x4c\x4f\x42A\x4cS"}["\x73\x6de\x68\x75cfd"] = "\x73\x65\x73\x5f\x6b\x65\x79";
${${"GL\x4f\x42\x41\x4c\x53"}["s\x6d\x65\x68\x75\x63fd"]} = $db->EscapeString(${${"G\x4c\x4fB\x41\x4c\x53"}["\x79\x6at\x69\x70\x72h\x65\x6c\x6efs"]}[1]);
}
}
$zysjopf = "\x73\x65\x73\x5f\x6b\x65y";
if (!empty(${$myxocoptjkz}) && !empty(${$zysjopf})) {
${"GL\x4f\x42AL\x53"}["\x72\x64\x66w\x78t\x6e\x78\x79\x75z"] = "\x73e\x73\x5fi\x64";
${"\x47\x4c\x4f\x42A\x4c\x53"}["w\x73\x6b\x68d\x62\x67\x78\x63\x69\x76"] = "da\x74a";
$mfbzdts = "\x64\x61\x74a";
$tqfoxcf = "\x73\x65s\x5f\x6b\x65\x79";
${${"GL\x4f\x42A\x4c\x53"}["\x77\x73\x6b\x68\x64\x62\x67x\x63\x69\x76"]} = $db->QueryFetchArray("\x53\x45L\x45\x43T\x20\x61\x2e*,\x20\x63.\x68a\x73h F\x52O\x4d \x75\x73er\x73\x20a\x20LE\x46T\x20J\x4f\x49\x4e\x20\x75ser\x73\x5f\x73\x65\x73\x73\x69\x6f\x6e\x73 \x63 ON\x20\x63.uid\x20\x3d \x61.id WH\x45\x52\x45\x20a\x2e\x69d \x3d\x20'" . ${${"\x47\x4c\x4fBAL\x53"}["\x72\x64\x66\x77\x78t\x6ex\x79\x75z"]} . "\x27\x20AN\x44\x20c\x2e\x68ash \x3d '" . ${$tqfoxcf} . "\x27\x20\x41\x4e\x44 a\x2ed\x69s\x61\x62led \x3d\x20\x270'\x20LI\x4d\x49T \x31");
if (empty(${$mfbzdts}["\x69\x64"])) {
unset($_COOKIE["\x53es\x54\x6fk\x65\x6e"]);
} else {
$hettwzftug = "\x64\x61\x74\x61";
$db->Query("U\x50DATE \x60u\x73e\x72s`\x20SET `\x6c\x6f\x67\x5fi\x70\x60\x3d\x27" . VisitorIP() . "', \x60\x6ca\x73\x74_ac\x74ivi\x74\x79\x60='" . time() . "\x27 \x57HE\x52\x45\x20`\x69\x64`=\x27" . ${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6f\x62\x69\x63\x68p\x61\x62\x71"]}["\x69\x64"] . "'");
$_SESSION["\x50\x54_\x55\x73er"] = ${${"GLOBA\x4cS"}["\x6fb\x69chp\x61\x62q"]}["id"];
${${"\x47L\x4f\x42\x41\x4c\x53"}["\x76rkq\x61\x78hw\x6bf\x6e"]} = true;
${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x7a\x7a\x75\x76\x70\x72\x7a\x76\x70\x6d"]} = $db->QueryGetNumRows("\x53\x45LECT\x20\x60\x69d` \x46R\x4f\x4d\x20\x60\x75se\x72_\x6cog\x69ns`\x20\x57H\x45R\x45 \x60u\x69d\x60=\x27" . ${$hettwzftug}["id"] . "\x27\x20\x41ND DATE(`\x74\x69\x6d\x65\x60)\x20= \x44\x41T\x45(\x4eO\x57()) L\x49\x4dIT\x20\x31");
if (${${"\x47\x4cO\x42AL\x53"}["z\x7a\x75v\x70\x72\x7a\x76\x70m"]} == 0 && !empty(${${"\x47L\x4f\x42\x41\x4c\x53"}["d\x6a\x6cl\x6d\x67"]})) {
${"\x47L\x4f\x42\x41L\x53"}["\x6c\x65\x74\x76dm\x71\x62\x6bndo"] = "\x69\x70\x5fa\x64dr\x65\x73\x73";
${${"GLO\x42A\x4c\x53"}["\x63\x6c\x70\x68hqz\x69ji"]} = $db->EscapeString($_SERVER["\x48TT\x50_U\x53\x45\x52_\x41GENT"]);
${"\x47\x4c\x4f\x42\x41\x4cS"}["wz\x78\x6a\x64nz\x64\x67\x68\x65\x63"] = "d\x61\x74\x61";
$db->Query("\x49N\x53ER\x54 \x49N\x54O `\x75\x73er_\x6c\x6f\x67i\x6es\x60\x20(\x60uid\x60,\x60ip\x60,`inf\x6f`,`t\x69m\x65`)\x20V\x41\x4c\x55\x45S\x20('" . ${${"\x47LO\x42A\x4c\x53"}["w\x7a\x78jd\x6e\x7ad\x67\x68\x65\x63"]}["\x69d"] . "\x27,\x27" . ${${"\x47\x4cOBAL\x53"}["\x6c\x65\x74\x76\x64\x6d\x71\x62\x6b\x6e\x64\x6f"]} . "','" . ${${"\x47\x4cO\x42\x41L\x53"}["\x63\x6c\x70\x68\x68q\x7ai\x6a\x69"]} . "',\x4e\x4fW())");
}
}
} else {
unset($_COOKIE["S\x65s\x54\x6f\x6ben"]);
}
}
?>
Function Calls
None |
Stats
MD5 | f2e0826812612aaeec7b827dc0eb181e |
Eval Count | 0 |
Decode Time | 93 ms |