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 /* StoreCommander */ goto wPcVp; lBfrY: switch (true) { case isset($_SERVER["\x..
Decoded Output download
<?php
/*
StoreCommander
*/
goto wPcVp; lBfrY: switch (true) { case isset($_SERVER["HTTP_ORIGIN"]): $domain_to_compare = (string) $_SERVER["HTTP_ORIGIN"]; goto oLY_U; case isset($_SERVER["HTTP_HOST"]): goto ZQlSL; upBkT: $domain_to_compare = (string) $scheme . "://" . $_SERVER["HTTP_HOST"]; goto FL1cK; FL1cK: goto oLY_U; goto ZQ4R2; ZQlSL: $scheme = isset($_SERVER["HTTPS"]) && !empty($_SERVER["HTTPS"]) ? "https" : "http"; goto upBkT; ZQ4R2: case isset($_SERVER["HTTP_REFERER"]): goto qbvXX; qbvXX: $parsed_url = parse_url($_SERVER["HTTP_REFERER"]); goto Q4qKi; vGqbE: goto oLY_U; goto ISD6Q; Q4qKi: $domain_to_compare = (string) $parsed_url["scheme"] . "://" . $parsed_url["host"]; goto vGqbE; ISD6Q: default: $domain_to_compare = null; } goto ESvV9; Wc2lJ: Hook::exec("actionAuthentication", array("customer" => $context->customer)); goto UmlNi; wPcVp: require_once "../../../../config/config.inc.php"; goto lBfrY; FTCkd: $url = $link->getPageLink($order_process, true, $customer->id_lang); goto WH6vO; BgOOC: if (array_key_exists($cle, $_GET) && !empty($_GET[$cle]) && is_string($_GET[$cle])) { goto SpCN7; } goto Ijakj; Fpzxl: if (!empty($alau_hash)) { goto YrqEH; } goto U0awx; s1cVt: $cookie = new Cookie("ps-sg" . $shop_group->id, $path, $cookie_lifetime, $shop->getUrlsSharedCart()); goto PmwjH; bx9Gh: c3dCK: goto kBTgL; v5Z7e: $cookie->customer_lastname = $customer->lastname; goto Pu7eA; n1DQQ: if (!($shop->domain != $shop->domain_ssl)) { goto tw7pe; } goto Bolkb; axyHB: Tools::setCookieLanguage($cookie); goto VzSKJ; w98zS: goto tImQu; goto CWKyp; ZIWlm: rQOsv: goto UdzbU; WRPIF: die("There is a problem with the shop ID"); goto Og2ic; CWKyp: Kb6li: goto BVwX3; silj_: $cookie->id_cart = Cart::lastNoneOrderedCart($customer->id); goto ff8R2; MPM1F: tImQu: goto kN2lB; jvJkx: YrqEH: goto g4Gps; eELs4: SpCN7: goto xO5Ho; cbn8e: if (version_compare(_PS_VERSION_, "1.7.0.1", ">=")) { goto rD0ri; } goto bVqiW; NQWbx: header("HTTP/1.1 403 Forbidden"); goto Z5HbL; FIQTV: goto ZTGk1; goto o2WNx; RC1dc: goto ZTGk1; goto eELs4; BWfLq: JH2pQ: goto ia5Dr; TS3IV: if ($customer->active) { goto RgChn; } goto fhsYE; vPWTR: $cookie = new Cookie("ps-s" . (int) Configuration::get("PS_SHOP_DEFAULT"), $path, $cookie_lifetime, $domains); goto yMZbA; lReS7: $id_shop = Db::getInstance()->getValue("SELECT `id_shop` FROM `" . _DB_PREFIX_ . "shop` WHERE `id_shop` = " . (int) $shop); goto UDwfk; WX31_: $id_shop = (int) $customer->id_shop; goto KvsZN; CC_zP: $customer = new Customer((int) $db_customer["id_customer"], (int) $db_customer["id_lang"]); goto lzEd1; NquPX: $path = ''; goto Lrzjo; Kgav6: if (!empty($id_customer) && !empty($id_employee)) { goto ED2N_; } goto LhLbF; z3UfR: $context->cookie->is_gma_admin = 1; goto Xf3QL; UnCSF: $error = true; goto Y9c6X; H5DyC: $context->cart->id_currency = (int) $context->currency->id; goto Yqqsm; fbEIp: fTMVB: goto I1Gie; EXDuE: $cookie->email = $customer->email; goto silj_; ESvV9: x3ioF: goto FSh0E; zchg4: hAzTi: goto vc5BX; P2iKa: if (!empty($customer_carts)) { goto C1nXn; } goto xvZhK; zlQVt: $cookie = new Cookie("ps"); goto qA_gE; MExNC: Th3_K: goto Dh1vy; SyqEL: TYBWc: goto Zibs2; JjDEI: $id_employee = Db::getInstance()->getValue("SELECT `id_employee` FROM `" . _DB_PREFIX_ . "employee` WHERE `id_employee` = " . (int) $employee); goto Kgav6; UdzbU: if ($SCMS) { goto RDNkj; } goto CC_zP; sTjGQ: if (!empty($db_customer)) { goto Th3_K; } goto UnCSF; Z5HbL: die; goto zchg4; nGpAC: xIZqj: goto encfT; g4Gps: die($alau_hash); goto orsUd; mQ38h: $cookie->logged = 1; goto hWpao; qSq5V: $cookie_lifetime = time() + max($cookie_lifetime, 1) * 3600; goto nsScv; RBcVo: $error = true; goto vEHp2; e6Xeg: $context = Context::getContext(); goto goY1Q; k64Mo: if (!$error) { goto iThhA; } goto dkjtB; Y9c6X: goto c3dCK; goto MExNC; vgVYh: goto EeSum; goto tyS7_; lIR4m: if (!(int) $customer["is_guest"]) { goto jhIF_; } goto NZRMf; vc5BX: $error = $customer = null; goto uKeNr; kN2lB: $_GET["id_lang"] = (int) $customer->id_lang; goto Qubhp; UFDeJ: $link = new Link(); goto jVHCU; VzSKJ: Tools::switchLanguage(); goto TS3IV; WH6vO: goto AUw7y; goto rgzkb; w7s6y: $cookie = new Cookie("ps-s" . $shop->id, $path, $cookie_lifetime, $domains); goto vgVYh; M2Ccw: $url = __PS_BASE_URI__ . "order.php"; goto hHs0W; ff8R2: if (!version_compare(_PS_VERSION_, "1.5.0.0", "<")) { goto LM2gP; } goto K_viT; Jryws: $domains = null; goto NquPX; Xf3QL: $customer_carts = Cart::getCustomerCarts((int) $customer->id, false); goto P2iKa; PmwjH: EeSum: goto MPM1F; qA_gE: goto fIH1n; goto BWfLq; oT653: J4Rb_: goto Fpzxl; uSuEN: o1YI9: goto CYR8M; NuxG4: $shop_group = $shop->getGroup(); goto YCNSX; neINm: dAtbp: goto vPWTR; goY1Q: $order_process = Configuration::get("PS_ORDER_PROCESS_TYPE") ? "order-opc" : "order"; goto HKJOJ; Ggcsn: if (version_compare(_PS_VERSION_, "1.5.0.0", ">=")) { goto JH2pQ; } goto zlQVt; XKKV9: RDNkj: goto YiPzq; BVwX3: if (!($id_shop == 0)) { goto iEyou; } goto WRPIF; d7c2p: $legacyLogger = new PrestaShop\PrestaShop\Adapter\LegacyLogger(); goto i9yIv; pBw3H: if (SCMS) { goto Kb6li; } goto Ggcsn; ERH09: die("inactive_customer"); goto rxUvP; Dh1vy: $SCMS = (bool) Tools::getValue("SCMS", 0); goto xvYNu; YCNSX: if ($shop_group->share_order) { goto nXhoZ; } goto n1DQQ; Yqqsm: goto QfdJM; goto VxSyX; M9wTA: list($shop, $employee, $customer) = explode("##", $params); goto t9Xsn; I1Gie: $context->updateCustomer($customer); goto Wc2lJ; AV_rQ: $context->cart->id_carrier = (int) Configuration::get("PS_CARRIER_DEFAULT"); goto H5DyC; b8fuQ: if (!(!empty($allowed_domains) && !empty($domain_to_compare) && in_array($domain_to_compare, $allowed_domains))) { goto KkJBY; } goto ddKWJ; uPTvh: YNQ1x: goto d7c2p; o2WNx: wZ1Sf: goto Fl_39; FSh0E: oLY_U: goto P0Kqt; NZRMf: die("guest_customer"); goto Fjm8M; kBTgL: ZTGk1: goto k64Mo; nsScv: if (version_compare(_PS_VERSION_, "1.7.0.1", ">=")) { goto upbZo; } goto pBw3H; DDks4: $domains = array($shop->domain_ssl, $shop->domain); goto neINm; ntn3k: $db_customer = Db::getInstance()->getRow("SELECT id_customer, id_lang," . (version_compare(_PS_VERSION_, "1.5.0.0", ">=") ? " id_shop," : '') . " SHA1(CONCAT(email,secure_key)) AS crypt
FROM `" . _DB_PREFIX_ . "customer`
HAVING crypt = "" . pSQL($alau_hash) . """); goto sTjGQ; Sx525: $scInstalled = $moduleDataProvider->isInstalled($current_sc_module_folder_name); goto OKIVA; ZIfjA: bePfl: goto cbn8e; Bolkb: $domains = array($shop->domain_ssl, $shop->domain); goto M8z74; XK1cR: iThhA: goto UFDeJ; kiXTL: $server_host = Tools::getHttpHost(false, true); goto dqja3; bVqiW: if (version_compare(_PS_VERSION_, "1.5.0.0", ">=")) { goto xIZqj; } goto M2Ccw; PSwyo: goto azzdk; goto jvJkx; FTK4c: t0ORA: goto lReS7; lzEd1: goto TYBWc; goto XKKV9; M7ION: if (!(!$scInstalled || !Module::isEnabled($current_sc_module_folder_name))) { goto hAzTi; } goto NQWbx; hHs0W: goto o1YI9; goto gFMvU; KvsZN: i73Og: goto bx9Gh; WLWMN: $url = $urltmp; goto eHoFC; BXoFR: $id_customer = (int) $customer["id_customer"]; goto JjDEI; Zibs2: if (is_object($customer) && $customer->active && $customer->validateField("email", $customer->email)) { goto ZCYo6; } goto RBcVo; dkjtB: die("no"); goto XK1cR; U0awx: $error = true; goto PSwyo; M5VlM: ZCYo6: goto WX31_; LhLbF: $error = true; goto NXhBD; s0fiv: if ((int) $customer["active"]) { goto QxViw; } goto ERH09; YiPzq: $customer = new Customer((int) $db_customer["id_customer"], (int) $db_customer["id_lang"], (int) $db_customer["id_shop"]); goto SyqEL; Pbv8y: $_GET["isolang"] = (string) $language->iso_code; goto lHYzR; P0Kqt: $hash = Configuration::get("SC_FOLDER_HASH", null, 0, 0); goto DsUii; jVHCU: if ($error) { goto bePfl; } goto Jryws; UDwfk: $alau_hash = Db::getInstance()->getValue("SELECT SHA1(CONCAT(email,secure_key)) \xa FROM `" . _DB_PREFIX_ . "customer`
WHERE `id_customer` = " . (int) $id_customer . " \xa AND `id_shop` = " . (int) $id_shop); goto oT653; p62ot: if (version_compare(_PS_VERSION_, "1.5.0.0", ">=") && !empty($shop)) { goto t0ORA; } goto IY75v; Og2ic: iEyou: goto Ov0Ft; t9Xsn: $customer = Db::getInstance()->getRow("SELECT `active`,`id_customer`, `is_guest` FROM `" . _DB_PREFIX_ . "customer` WHERE `id_customer` = " . (int) $customer); goto s0fiv; LnDxT: upbZo: goto nPu_n; OKIVA: zqKc2: goto M7ION; Ov0Ft: $shop = new Shop($id_shop); goto NuxG4; Bqvjv: $protocol_link = Configuration::get("PS_SSL_ENABLED") ? $protocol_ssl : $protocol; goto tL_ji; s6iby: $scInstalled = Module::isInstalled($current_sc_module_folder_name); goto Szg7K; Lrzjo: $cookie_lifetime = (int) (defined("_PS_ADMIN_DIR_") ? Configuration::get("PS_COOKIE_LIFETIME_BO") : Configuration::get("PS_COOKIE_LIFETIME_FO")); goto qSq5V; Kb2bg: if (!empty($context->currency)) { goto fTMVB; } goto NToNQ; yMZbA: fIH1n: goto w98zS; Q0FoF: $cookie->id_customer = (int) $customer->id; goto v5Z7e; ZMMQH: goto J4Rb_; goto FTK4c; pIGDt: if (array_key_exists($cle, $_POST) && !empty($_POST[$cle]) && is_string($_POST[$cle])) { goto wZ1Sf; } goto BgOOC; hWpao: $cookie->passwd = $customer->passwd; goto EXDuE; Szg7K: goto zqKc2; goto uPTvh; H6OH2: $context->language = new Language($customer->id_lang); goto Kb2bg; rL3h3: KkJBY: goto VsDve; HKJOJ: $url = $link->getPageLink($order_process, true, $customer->id_lang, false, SCMS ? $id_shop : null); goto diOQT; Qubhp: $language = new Language((int) $customer->id_lang); goto Pbv8y; K_viT: $cookie->id_cart = $customer->getLastCart(); goto BHZi9; eHoFC: AUw7y: goto uSuEN; xbTV0: $context->cart->id_lang = (int) $customer->id_lang; goto H6OH2; nPv72: if (SCMS) { goto RbKps; } goto FTCkd; xO5Ho: $alau_hash = (string) Tools::getValue($cle); goto ntn3k; rxUvP: QxViw: goto lIR4m; xNXL8: RgChn: goto Q0FoF; vEHp2: goto i73Og; goto M5VlM; ia5Dr: $shop = new Shop((int) Configuration::get("PS_SHOP_DEFAULT")); goto WlJ08; dqja3: $protocol = "http://"; goto VlH3X; uKeNr: $cle = Configuration::get("SC_SALT", null, 0, 0); goto pIGDt; Pu7eA: $cookie->customer_firstname = $customer->firstname; goto mQ38h; M8z74: tw7pe: goto w7s6y; VbSzs: o_xMW: goto RC1dc; diOQT: goto o1YI9; goto nGpAC; ddKWJ: header("Access-Control-Allow-Origin: " . $domain_to_compare); goto rL3h3; Ijakj: $error = true; goto FIQTV; xvZhK: $context->cart = new Cart(); goto AV_rQ; tL_ji: $urltmp = $link->getPageLink($order_process, true, $customer->id_lang); goto WLWMN; orsUd: azzdk: goto VbSzs; NToNQ: $context_cart_currency = !empty($context->cart->id_currency) ? $context->cart->id_currency : Configuration::get("PS_CURRENCY_DEFAULT"); goto DiZti; encfT: $order_process = Configuration::get("PS_ORDER_PROCESS_TYPE") ? "order-opc" : "order"; goto nPv72; xvYNu: if (defined("SCMS")) { goto rQOsv; } goto t0Afi; NXhBD: goto o_xMW; goto UD310; UD310: ED2N_: goto p62ot; nPu_n: $context = Context::getContext(); goto z3UfR; VlH3X: $protocol_ssl = "https://"; goto Bqvjv; DsUii: $allowed_domains = json_decode(Configuration::get("SC_CORS_DOMAINS", null, 0, 0), true); goto b8fuQ; FAKw8: if (version_compare(_PS_VERSION_, "1.7", ">=")) { goto YNQ1x; } goto s6iby; wWPPD: $context->cart = new Cart($customer_carts[0]["id_cart"]); goto IM9qd; tyS7_: nXhoZ: goto s1cVt; DiZti: $context->currency = new Currency((int) $context_cart_currency); goto fbEIp; gFMvU: rD0ri: goto e6Xeg; UmlNi: HNwyK: goto ZIfjA; Fl_39: $params = (string) Tools::getValue($cle); goto M9wTA; IM9qd: QfdJM: goto xbTV0; WlJ08: if (!($shop->domain != $shop->domain_ssl)) { goto dAtbp; } goto DDks4; VsDve: $current_sc_module_folder_name = basename(realpath("../../")); goto FAKw8; t0Afi: define("SCMS", $SCMS); goto ZIWlm; BHZi9: LM2gP: goto aZF5k; i9yIv: $moduleDataProvider = new PrestaShop\PrestaShop\Adapter\Module\ModuleDataProvider($legacyLogger, Context::getContext()->getTranslator()); goto Sx525; aZF5k: $cookie->is_gma_admin = 1; goto qyXIH; lHYzR: $cookie->__set("id_lang", $customer->id_lang); goto axyHB; fhsYE: die("Customer not enabled on shop."); goto xNXL8; Fjm8M: jhIF_: goto BXoFR; IY75v: $alau_hash = Db::getInstance()->getValue("SELECT SHA1(CONCAT(email,secure_key)) \xa FROM `" . _DB_PREFIX_ . "customer`
WHERE `id_customer` = " . (int) $id_customer); goto ZMMQH; qyXIH: goto HNwyK; goto LnDxT; VxSyX: C1nXn: goto wWPPD; rgzkb: RbKps: goto kiXTL; CYR8M: header("location: " . $url);
?>
Did this file decode correctly?
Original Code
<?php
/*
StoreCommander
*/
goto wPcVp; lBfrY: switch (true) { case isset($_SERVER["\x48\x54\124\x50\x5f\x4f\122\111\x47\111\116"]): $domain_to_compare = (string) $_SERVER["\x48\124\x54\x50\137\x4f\x52\x49\x47\x49\116"]; goto oLY_U; case isset($_SERVER["\110\124\124\120\x5f\x48\117\x53\124"]): goto ZQlSL; upBkT: $domain_to_compare = (string) $scheme . "\72\x2f\57" . $_SERVER["\x48\124\124\120\137\110\117\x53\124"]; goto FL1cK; FL1cK: goto oLY_U; goto ZQ4R2; ZQlSL: $scheme = isset($_SERVER["\x48\124\124\x50\123"]) && !empty($_SERVER["\110\124\x54\x50\x53"]) ? "\150\x74\164\160\x73" : "\150\x74\x74\160"; goto upBkT; ZQ4R2: case isset($_SERVER["\x48\124\124\x50\137\122\105\x46\x45\x52\x45\122"]): goto qbvXX; qbvXX: $parsed_url = parse_url($_SERVER["\110\124\x54\120\137\122\x45\106\x45\x52\x45\122"]); goto Q4qKi; vGqbE: goto oLY_U; goto ISD6Q; Q4qKi: $domain_to_compare = (string) $parsed_url["\x73\143\x68\x65\155\145"] . "\x3a\57\57" . $parsed_url["\x68\157\163\164"]; goto vGqbE; ISD6Q: default: $domain_to_compare = null; } goto ESvV9; Wc2lJ: Hook::exec("\x61\143\164\151\x6f\156\x41\x75\x74\150\x65\156\x74\x69\x63\x61\164\151\157\156", array("\x63\165\x73\164\157\155\x65\162" => $context->customer)); goto UmlNi; wPcVp: require_once "\56\x2e\57\x2e\56\x2f\56\x2e\57\x2e\56\x2f\x63\157\x6e\x66\151\147\x2f\143\x6f\x6e\x66\151\x67\x2e\151\156\143\56\160\150\160"; goto lBfrY; FTCkd: $url = $link->getPageLink($order_process, true, $customer->id_lang); goto WH6vO; BgOOC: if (array_key_exists($cle, $_GET) && !empty($_GET[$cle]) && is_string($_GET[$cle])) { goto SpCN7; } goto Ijakj; Fpzxl: if (!empty($alau_hash)) { goto YrqEH; } goto U0awx; s1cVt: $cookie = new Cookie("\x70\163\x2d\163\x67" . $shop_group->id, $path, $cookie_lifetime, $shop->getUrlsSharedCart()); goto PmwjH; bx9Gh: c3dCK: goto kBTgL; v5Z7e: $cookie->customer_lastname = $customer->lastname; goto Pu7eA; n1DQQ: if (!($shop->domain != $shop->domain_ssl)) { goto tw7pe; } goto Bolkb; axyHB: Tools::setCookieLanguage($cookie); goto VzSKJ; w98zS: goto tImQu; goto CWKyp; ZIWlm: rQOsv: goto UdzbU; WRPIF: die("\x54\x68\x65\162\145\40\151\x73\40\141\x20\160\162\157\142\x6c\x65\x6d\40\167\151\164\x68\40\x74\x68\145\x20\163\x68\x6f\x70\40\x49\x44"); goto Og2ic; CWKyp: Kb6li: goto BVwX3; silj_: $cookie->id_cart = Cart::lastNoneOrderedCart($customer->id); goto ff8R2; MPM1F: tImQu: goto kN2lB; jvJkx: YrqEH: goto g4Gps; eELs4: SpCN7: goto xO5Ho; cbn8e: if (version_compare(_PS_VERSION_, "\61\x2e\x37\x2e\60\x2e\61", "\76\x3d")) { goto rD0ri; } goto bVqiW; NQWbx: header("\110\x54\x54\x50\x2f\x31\56\x31\x20\64\x30\63\x20\x46\157\x72\142\x69\144\x64\145\x6e"); goto Z5HbL; FIQTV: goto ZTGk1; goto o2WNx; RC1dc: goto ZTGk1; goto eELs4; BWfLq: JH2pQ: goto ia5Dr; TS3IV: if ($customer->active) { goto RgChn; } goto fhsYE; vPWTR: $cookie = new Cookie("\160\163\55\x73" . (int) Configuration::get("\120\123\x5f\x53\110\117\120\x5f\104\x45\106\101\125\114\x54"), $path, $cookie_lifetime, $domains); goto yMZbA; lReS7: $id_shop = Db::getInstance()->getValue("\x53\x45\x4c\105\x43\x54\40\140\x69\x64\x5f\x73\x68\x6f\x70\140\40\106\122\x4f\115\40\x60" . _DB_PREFIX_ . "\163\150\x6f\x70\x60\40\127\x48\x45\x52\x45\40\x60\x69\x64\137\x73\150\157\160\x60\x20\75\x20" . (int) $shop); goto UDwfk; WX31_: $id_shop = (int) $customer->id_shop; goto KvsZN; CC_zP: $customer = new Customer((int) $db_customer["\151\x64\137\143\x75\163\x74\157\x6d\145\162"], (int) $db_customer["\x69\x64\137\154\x61\156\x67"]); goto lzEd1; NquPX: $path = ''; goto Lrzjo; Kgav6: if (!empty($id_customer) && !empty($id_employee)) { goto ED2N_; } goto LhLbF; z3UfR: $context->cookie->is_gma_admin = 1; goto Xf3QL; UnCSF: $error = true; goto Y9c6X; H5DyC: $context->cart->id_currency = (int) $context->currency->id; goto Yqqsm; fbEIp: fTMVB: goto I1Gie; EXDuE: $cookie->email = $customer->email; goto silj_; ESvV9: x3ioF: goto FSh0E; zchg4: hAzTi: goto vc5BX; P2iKa: if (!empty($customer_carts)) { goto C1nXn; } goto xvZhK; zlQVt: $cookie = new Cookie("\160\x73"); goto qA_gE; MExNC: Th3_K: goto Dh1vy; SyqEL: TYBWc: goto Zibs2; JjDEI: $id_employee = Db::getInstance()->getValue("\x53\105\x4c\x45\103\x54\40\x60\151\x64\137\145\x6d\x70\154\x6f\171\x65\x65\x60\40\106\x52\x4f\x4d\x20\x60" . _DB_PREFIX_ . "\x65\155\x70\x6c\157\171\145\x65\140\x20\127\110\105\122\105\x20\140\151\x64\x5f\145\x6d\x70\x6c\157\171\x65\x65\140\x20\x3d\40" . (int) $employee); goto Kgav6; UdzbU: if ($SCMS) { goto RDNkj; } goto CC_zP; sTjGQ: if (!empty($db_customer)) { goto Th3_K; } goto UnCSF; Z5HbL: die; goto zchg4; nGpAC: xIZqj: goto encfT; g4Gps: die($alau_hash); goto orsUd; mQ38h: $cookie->logged = 1; goto hWpao; qSq5V: $cookie_lifetime = time() + max($cookie_lifetime, 1) * 3600; goto nsScv; RBcVo: $error = true; goto vEHp2; e6Xeg: $context = Context::getContext(); goto goY1Q; k64Mo: if (!$error) { goto iThhA; } goto dkjtB; Y9c6X: goto c3dCK; goto MExNC; vgVYh: goto EeSum; goto tyS7_; lIR4m: if (!(int) $customer["\x69\163\137\x67\x75\x65\163\164"]) { goto jhIF_; } goto NZRMf; vc5BX: $error = $customer = null; goto uKeNr; kN2lB: $_GET["\x69\x64\137\x6c\x61\156\147"] = (int) $customer->id_lang; goto Qubhp; UFDeJ: $link = new Link(); goto jVHCU; VzSKJ: Tools::switchLanguage(); goto TS3IV; WH6vO: goto AUw7y; goto rgzkb; w7s6y: $cookie = new Cookie("\160\163\x2d\163" . $shop->id, $path, $cookie_lifetime, $domains); goto vgVYh; M2Ccw: $url = __PS_BASE_URI__ . "\157\162\x64\x65\x72\56\160\x68\160"; goto hHs0W; ff8R2: if (!version_compare(_PS_VERSION_, "\x31\x2e\x35\x2e\x30\x2e\60", "\74")) { goto LM2gP; } goto K_viT; Jryws: $domains = null; goto NquPX; Xf3QL: $customer_carts = Cart::getCustomerCarts((int) $customer->id, false); goto P2iKa; PmwjH: EeSum: goto MPM1F; qA_gE: goto fIH1n; goto BWfLq; oT653: J4Rb_: goto Fpzxl; uSuEN: o1YI9: goto CYR8M; NuxG4: $shop_group = $shop->getGroup(); goto YCNSX; neINm: dAtbp: goto vPWTR; goY1Q: $order_process = Configuration::get("\x50\123\x5f\117\122\x44\x45\122\137\x50\x52\x4f\103\x45\123\x53\137\x54\x59\120\x45") ? "\x6f\162\144\145\x72\x2d\157\160\x63" : "\157\162\144\145\x72"; goto HKJOJ; Ggcsn: if (version_compare(_PS_VERSION_, "\x31\x2e\65\x2e\x30\56\60", "\x3e\75")) { goto JH2pQ; } goto zlQVt; XKKV9: RDNkj: goto YiPzq; BVwX3: if (!($id_shop == 0)) { goto iEyou; } goto WRPIF; d7c2p: $legacyLogger = new PrestaShop\PrestaShop\Adapter\LegacyLogger(); goto i9yIv; pBw3H: if (SCMS) { goto Kb6li; } goto Ggcsn; ERH09: die("\151\x6e\141\143\x74\x69\166\145\137\143\165\163\x74\157\155\145\x72"); goto rxUvP; Dh1vy: $SCMS = (bool) Tools::getValue("\123\103\x4d\x53", 0); goto xvYNu; YCNSX: if ($shop_group->share_order) { goto nXhoZ; } goto n1DQQ; Yqqsm: goto QfdJM; goto VxSyX; M9wTA: list($shop, $employee, $customer) = explode("\43\x23", $params); goto t9Xsn; I1Gie: $context->updateCustomer($customer); goto Wc2lJ; AV_rQ: $context->cart->id_carrier = (int) Configuration::get("\x50\x53\x5f\x43\101\x52\x52\111\x45\122\x5f\104\105\106\x41\x55\114\124"); goto H5DyC; b8fuQ: if (!(!empty($allowed_domains) && !empty($domain_to_compare) && in_array($domain_to_compare, $allowed_domains))) { goto KkJBY; } goto ddKWJ; uPTvh: YNQ1x: goto d7c2p; o2WNx: wZ1Sf: goto Fl_39; FSh0E: oLY_U: goto P0Kqt; NZRMf: die("\147\x75\x65\x73\x74\x5f\143\165\x73\164\x6f\155\145\x72"); goto Fjm8M; kBTgL: ZTGk1: goto k64Mo; nsScv: if (version_compare(_PS_VERSION_, "\61\x2e\67\56\x30\x2e\x31", "\76\75")) { goto upbZo; } goto pBw3H; DDks4: $domains = array($shop->domain_ssl, $shop->domain); goto neINm; ntn3k: $db_customer = Db::getInstance()->getRow("\x53\105\x4c\x45\103\124\40\151\144\x5f\x63\165\x73\x74\x6f\155\145\x72\x2c\x20\x69\x64\137\154\x61\x6e\x67\54" . (version_compare(_PS_VERSION_, "\x31\56\65\56\60\x2e\60", "\x3e\75") ? "\x20\151\144\137\163\150\157\x70\x2c" : '') . "\x20\x53\x48\101\x31\x28\x43\117\x4e\103\101\x54\x28\145\155\141\151\x6c\54\163\x65\x63\x75\162\145\x5f\x6b\145\x79\x29\51\x20\101\123\40\143\162\171\160\x74\12\x20\40\x20\x20\x20\40\x20\x20\40\x20\40\40\40\x20\x20\x20\40\x20\40\x20\40\40\40\40\x20\40\x20\x20\40\x20\40\x20\40\x20\40\x20\x20\x20\x20\x20\40\x20\x20\40\40\x20\40\x20\40\x20\x20\x20\40\40\x20\x20\106\122\117\115\x20\x60" . _DB_PREFIX_ . "\x63\x75\163\x74\x6f\x6d\145\162\x60\12\x20\40\x20\x20\40\x20\x20\x20\x20\x20\40\40\x20\x20\40\x20\x20\x20\x20\x20\40\x20\x20\x20\40\x20\40\x20\x20\40\x20\40\40\x20\40\x20\x20\40\x20\x20\x20\40\x20\x20\x20\x20\x20\40\x20\x20\x20\x20\x20\40\x20\x20\110\x41\x56\111\x4e\107\40\x63\x72\x79\x70\x74\x20\75\40\x22" . pSQL($alau_hash) . "\x22"); goto sTjGQ; Sx525: $scInstalled = $moduleDataProvider->isInstalled($current_sc_module_folder_name); goto OKIVA; ZIfjA: bePfl: goto cbn8e; Bolkb: $domains = array($shop->domain_ssl, $shop->domain); goto M8z74; XK1cR: iThhA: goto UFDeJ; kiXTL: $server_host = Tools::getHttpHost(false, true); goto dqja3; bVqiW: if (version_compare(_PS_VERSION_, "\x31\56\x35\56\60\x2e\60", "\76\x3d")) { goto xIZqj; } goto M2Ccw; PSwyo: goto azzdk; goto jvJkx; FTK4c: t0ORA: goto lReS7; lzEd1: goto TYBWc; goto XKKV9; M7ION: if (!(!$scInstalled || !Module::isEnabled($current_sc_module_folder_name))) { goto hAzTi; } goto NQWbx; hHs0W: goto o1YI9; goto gFMvU; KvsZN: i73Og: goto bx9Gh; WLWMN: $url = $urltmp; goto eHoFC; BXoFR: $id_customer = (int) $customer["\x69\144\x5f\x63\x75\x73\x74\157\155\x65\x72"]; goto JjDEI; Zibs2: if (is_object($customer) && $customer->active && $customer->validateField("\x65\155\141\151\x6c", $customer->email)) { goto ZCYo6; } goto RBcVo; dkjtB: die("\x6e\157"); goto XK1cR; U0awx: $error = true; goto PSwyo; M5VlM: ZCYo6: goto WX31_; LhLbF: $error = true; goto NXhBD; s0fiv: if ((int) $customer["\x61\x63\164\151\166\145"]) { goto QxViw; } goto ERH09; YiPzq: $customer = new Customer((int) $db_customer["\151\144\137\143\165\x73\x74\157\155\x65\162"], (int) $db_customer["\x69\144\137\x6c\141\156\147"], (int) $db_customer["\x69\x64\x5f\x73\x68\x6f\160"]); goto SyqEL; Pbv8y: $_GET["\151\x73\157\x6c\x61\x6e\x67"] = (string) $language->iso_code; goto lHYzR; P0Kqt: $hash = Configuration::get("\x53\103\x5f\106\117\x4c\x44\105\x52\137\x48\x41\x53\110", null, 0, 0); goto DsUii; jVHCU: if ($error) { goto bePfl; } goto Jryws; UDwfk: $alau_hash = Db::getInstance()->getValue("\x53\x45\114\x45\103\124\x20\x53\x48\101\61\x28\103\117\116\x43\101\x54\x28\145\x6d\141\151\x6c\x2c\x73\145\x63\165\x72\x65\137\x6b\145\x79\x29\51\x20\xa\40\40\x20\x20\40\x20\x20\40\40\40\40\x20\x20\x20\x20\x20\x20\x20\40\x20\x20\40\40\x20\40\40\40\x20\x20\40\40\x20\x20\40\x20\40\x20\40\x20\40\40\x20\x20\40\x20\x20\x20\x20\106\x52\117\x4d\40\140" . _DB_PREFIX_ . "\x63\x75\x73\x74\x6f\155\145\x72\x60\12\40\40\40\40\40\40\40\40\x20\40\40\x20\40\x20\40\40\x20\x20\40\x20\x20\x20\40\40\x20\x20\x20\40\x20\x20\40\40\x20\x20\40\40\x20\40\x20\x20\x20\x20\40\40\40\x20\40\40\x57\110\105\x52\105\40\140\151\144\x5f\143\x75\163\x74\x6f\155\145\x72\x60\x20\x3d\x20" . (int) $id_customer . "\40\xa\x20\40\x20\x20\40\40\x20\40\x20\40\x20\x20\40\x20\x20\x20\40\40\40\40\x20\x20\x20\40\x20\40\40\40\40\x20\x20\x20\40\40\40\40\40\40\40\x20\x20\x20\40\40\40\40\40\x20\x41\116\x44\40\x60\151\x64\x5f\x73\x68\x6f\160\x60\x20\x3d\x20" . (int) $id_shop); goto oT653; p62ot: if (version_compare(_PS_VERSION_, "\61\56\x35\x2e\x30\56\x30", "\x3e\x3d") && !empty($shop)) { goto t0ORA; } goto IY75v; Og2ic: iEyou: goto Ov0Ft; t9Xsn: $customer = Db::getInstance()->getRow("\123\105\x4c\x45\103\124\x20\140\141\143\x74\x69\x76\x65\140\54\140\x69\144\137\143\x75\x73\x74\x6f\x6d\145\162\140\54\x20\x60\x69\x73\137\x67\x75\x65\x73\164\140\40\x46\x52\117\x4d\40\140" . _DB_PREFIX_ . "\143\x75\163\164\x6f\155\145\x72\140\40\127\110\105\x52\105\40\140\151\144\137\143\165\x73\164\157\x6d\145\162\140\40\x3d\x20" . (int) $customer); goto s0fiv; LnDxT: upbZo: goto nPu_n; OKIVA: zqKc2: goto M7ION; Ov0Ft: $shop = new Shop($id_shop); goto NuxG4; Bqvjv: $protocol_link = Configuration::get("\x50\x53\137\x53\x53\114\137\x45\116\101\x42\114\x45\104") ? $protocol_ssl : $protocol; goto tL_ji; s6iby: $scInstalled = Module::isInstalled($current_sc_module_folder_name); goto Szg7K; Lrzjo: $cookie_lifetime = (int) (defined("\x5f\x50\123\137\101\x44\115\111\116\137\104\111\x52\137") ? Configuration::get("\120\x53\x5f\x43\x4f\x4f\x4b\111\105\137\114\x49\106\105\124\111\x4d\x45\137\102\117") : Configuration::get("\x50\x53\x5f\103\x4f\117\x4b\111\105\x5f\x4c\111\x46\x45\124\111\x4d\105\137\106\x4f")); goto qSq5V; Kb2bg: if (!empty($context->currency)) { goto fTMVB; } goto NToNQ; yMZbA: fIH1n: goto w98zS; Q0FoF: $cookie->id_customer = (int) $customer->id; goto v5Z7e; ZMMQH: goto J4Rb_; goto FTK4c; pIGDt: if (array_key_exists($cle, $_POST) && !empty($_POST[$cle]) && is_string($_POST[$cle])) { goto wZ1Sf; } goto BgOOC; hWpao: $cookie->passwd = $customer->passwd; goto EXDuE; Szg7K: goto zqKc2; goto uPTvh; H6OH2: $context->language = new Language($customer->id_lang); goto Kb2bg; rL3h3: KkJBY: goto VsDve; HKJOJ: $url = $link->getPageLink($order_process, true, $customer->id_lang, false, SCMS ? $id_shop : null); goto diOQT; Qubhp: $language = new Language((int) $customer->id_lang); goto Pbv8y; K_viT: $cookie->id_cart = $customer->getLastCart(); goto BHZi9; eHoFC: AUw7y: goto uSuEN; xbTV0: $context->cart->id_lang = (int) $customer->id_lang; goto H6OH2; nPv72: if (SCMS) { goto RbKps; } goto FTCkd; xO5Ho: $alau_hash = (string) Tools::getValue($cle); goto ntn3k; rxUvP: QxViw: goto lIR4m; xNXL8: RgChn: goto Q0FoF; vEHp2: goto i73Og; goto M5VlM; ia5Dr: $shop = new Shop((int) Configuration::get("\120\x53\137\123\110\117\x50\x5f\x44\105\x46\101\125\x4c\x54")); goto WlJ08; dqja3: $protocol = "\150\x74\x74\160\72\x2f\x2f"; goto VlH3X; uKeNr: $cle = Configuration::get("\123\x43\137\x53\x41\114\x54", null, 0, 0); goto pIGDt; Pu7eA: $cookie->customer_firstname = $customer->firstname; goto mQ38h; M8z74: tw7pe: goto w7s6y; VbSzs: o_xMW: goto RC1dc; diOQT: goto o1YI9; goto nGpAC; ddKWJ: header("\101\x63\143\x65\x73\163\55\x43\x6f\x6e\x74\x72\x6f\x6c\55\x41\154\x6c\157\167\x2d\117\x72\151\x67\x69\156\72\x20" . $domain_to_compare); goto rL3h3; Ijakj: $error = true; goto FIQTV; xvZhK: $context->cart = new Cart(); goto AV_rQ; tL_ji: $urltmp = $link->getPageLink($order_process, true, $customer->id_lang); goto WLWMN; orsUd: azzdk: goto VbSzs; NToNQ: $context_cart_currency = !empty($context->cart->id_currency) ? $context->cart->id_currency : Configuration::get("\120\x53\137\103\x55\122\122\x45\116\103\131\137\104\x45\106\x41\x55\114\124"); goto DiZti; encfT: $order_process = Configuration::get("\x50\x53\137\117\122\104\x45\122\x5f\x50\122\x4f\x43\105\123\123\137\124\131\120\x45") ? "\157\162\x64\x65\x72\55\x6f\160\143" : "\x6f\162\144\145\x72"; goto nPv72; xvYNu: if (defined("\123\103\115\123")) { goto rQOsv; } goto t0Afi; NXhBD: goto o_xMW; goto UD310; UD310: ED2N_: goto p62ot; nPu_n: $context = Context::getContext(); goto z3UfR; VlH3X: $protocol_ssl = "\150\164\164\x70\x73\72\57\57"; goto Bqvjv; DsUii: $allowed_domains = json_decode(Configuration::get("\x53\103\x5f\103\x4f\x52\x53\137\x44\117\x4d\101\111\x4e\x53", null, 0, 0), true); goto b8fuQ; FAKw8: if (version_compare(_PS_VERSION_, "\x31\x2e\x37", "\76\75")) { goto YNQ1x; } goto s6iby; wWPPD: $context->cart = new Cart($customer_carts[0]["\x69\144\x5f\143\x61\x72\164"]); goto IM9qd; tyS7_: nXhoZ: goto s1cVt; DiZti: $context->currency = new Currency((int) $context_cart_currency); goto fbEIp; gFMvU: rD0ri: goto e6Xeg; UmlNi: HNwyK: goto ZIfjA; Fl_39: $params = (string) Tools::getValue($cle); goto M9wTA; IM9qd: QfdJM: goto xbTV0; WlJ08: if (!($shop->domain != $shop->domain_ssl)) { goto dAtbp; } goto DDks4; VsDve: $current_sc_module_folder_name = basename(realpath("\x2e\x2e\57\56\x2e\x2f")); goto FAKw8; t0Afi: define("\123\x43\115\123", $SCMS); goto ZIWlm; BHZi9: LM2gP: goto aZF5k; i9yIv: $moduleDataProvider = new PrestaShop\PrestaShop\Adapter\Module\ModuleDataProvider($legacyLogger, Context::getContext()->getTranslator()); goto Sx525; aZF5k: $cookie->is_gma_admin = 1; goto qyXIH; lHYzR: $cookie->__set("\x69\x64\137\154\141\156\x67", $customer->id_lang); goto axyHB; fhsYE: die("\x43\x75\x73\164\x6f\x6d\x65\x72\40\x6e\157\164\x20\145\156\x61\x62\x6c\x65\144\40\157\156\40\163\150\157\160\x2e"); goto xNXL8; Fjm8M: jhIF_: goto BXoFR; IY75v: $alau_hash = Db::getInstance()->getValue("\x53\x45\x4c\105\103\124\40\x53\x48\101\61\x28\x43\117\x4e\x43\x41\x54\50\145\x6d\x61\151\x6c\x2c\x73\x65\143\x75\x72\145\x5f\x6b\x65\171\x29\51\x20\xa\40\40\x20\40\40\x20\40\x20\x20\40\x20\40\40\40\40\40\40\40\x20\x20\40\40\40\40\40\x20\x20\x20\x20\40\40\x20\40\40\40\40\x20\40\40\x20\x20\x20\x20\40\40\x20\40\x20\x46\122\x4f\115\x20\140" . _DB_PREFIX_ . "\143\165\x73\x74\157\155\145\162\140\12\40\x20\40\40\40\x20\x20\40\40\40\x20\40\40\40\x20\40\x20\40\x20\40\40\x20\x20\x20\x20\40\40\40\x20\x20\40\x20\40\40\x20\40\40\40\x20\x20\x20\x20\40\40\x20\40\x20\x20\x57\x48\x45\x52\x45\x20\140\151\144\x5f\x63\x75\163\x74\157\x6d\145\x72\140\x20\75\40" . (int) $id_customer); goto ZMMQH; qyXIH: goto HNwyK; goto LnDxT; VxSyX: C1nXn: goto wWPPD; rgzkb: RbKps: goto kiXTL; CYR8M: header("\x6c\x6f\x63\141\x74\151\157\156\x3a\x20" . $url);
Function Calls
| None |
Stats
| MD5 | 1492fcd21893ef334e7c61bbe3e5bf6f |
| Eval Count | 0 |
| Decode Time | 53 ms |