goto KMvop; iYvo9: PrestaShopLogger::addLog($log_id . " ERR: SC folder not found", 1, null, null, null, true); goto XsUWh; XsUWh: header("HTTPy.0 401 Wrong folder"); goto Gq3Uf; u7n3q: Logger::addLog($log_id . " ERR: Wrong param : " . implode(",", $param_err), 1, null, null, null, true); goto zsK2s; fYvxN: die; goto i_4pk; Ln1lE: $param_err = array(); goto s1Y9i; ZzzJG: if (!($local_version !== $distant_version)) { goto YbQU1; } goto b5joe; evhdx: require_once SC_DIR . "lib/ser/win-imagecompression/ser_win-imagecompression_scan.php"; goto aVQKJ; cF9YT: die; goto RlIcz; LyYCN: rWeSD: goto Kic3D; r04cx: $scInstalled = Module::isInstalled($current_sc_module_folder_name); goto njSUI; Muu7d: header("HTTP/1.001 Empty parameter"); goto Mo2Mo; NMjeJ: Logger::addLog($log_id . " ERR: Empty param : " . implode(",", $param_err), 1, null, null, null, true); goto fnhSR; b0PT0: laW9N: goto Muu7d; pLjhm: $param_err = array(); goto I4ChD; k0yFG: PrestaShopLogger::addLog($log_id . " ERR: Missing param : " . implode(",", $param_err), 1, null, null, null, true); goto sgkF5; XNWN6: $param_err[] = "version"; goto C0SS3; Sp9iQ: if (!empty($_SERVER["HTTP_OCIAUTH"])) { goto yJjVJ; } goto rkKZ1; njSUI: goto wOblA; goto t0KQ1; fnhSR: goto laW9N; goto hoGD_; Zs6Je: if (!empty($_SERVER["HTTP_OCISECRET"])) { goto B8jkk; } goto HtzEB; lHqCt: ob_start(); goto evhdx; eF7JC: goto N_A1V; aE5Vt: if (!empty($_SERVER["HTTP_OCIVERSION"])) { goto eUYt1; } goto mkunS; Ri5OD: $moduleDataProvider = new PrestaShop\PrestaShop\Adapter\Module\ModuleDataProvider($legacyLogger, Context::getContext()->getTranslator()); goto GdQ0M; w2REG: $sc_folder_hash = Configuration::get("SC_FOLDER_HASH", null, 0, 0); goto S0q_m; Joa5B: $local_version = "2.0.0"; goto fH7es; VGG1I: $distant_version = (string) $_SERVER["HTTP_OCIVERSION"]; goto T6_H6; mxDck: BE4hV: goto w2REG; fJGwN: header("HTTPyq 4 Forbidden"); goto fYvxN; CaThV: $param_err[] = "secret"; goto T03Bx; hgJFq: wOblA: goto Gg0iO; GdQ0M: $scInstalled = $moduleDataProvider->isInstalled($current_sc_module_folder_name); goto hgJFq; JaIhL: $current_sc_module_folder_name = basename(realpath("../../")); goto p4vem; rkKZ1: $param_err[] = "auth"; goto h7J3B; GMUXU: if (version_compare(_PS_VERSION_, "1.6p.3", ">=")) { goto fK69w; } goto NVrT_; mkunS: $param_err[] = "version"; goto Yvl3r; fH7es: $local_secret = "xuDLgw2HWtLkerGU9s5FgGOc2Bf6nD"; goto z2QLC; Kic3D: header("HTTP/1.001 Wrong parameter"); goto AnXG5; i_4pk: q5nqM: goto XwuKB; YBSAp: cPSXF: goto ZzzJG; O4Tfb: goto o3Gv0; goto bBb4Z; t0KQ1: JbHTv: goto i8Fe6; yPEq0: if (array_key_exists("HTTP_OCIVERSION", $_SERVER)) { goto sahVO; } goto XNWN6; zsK2s: goto rWeSD; goto z43wt; b5joe: $param_err[] = "version"; goto aOS8L; z43wt: XyhUR: goto MtoQz; MtoQz: PrestaShopLogger::addLog($log_id . " ERR: Wrong param : " . implode(",", $param_err), 1, null, null, null, true); goto LyYCN; C0SS3: sahVO: goto JbrxF; T6_H6: $distant_secret = (string) $_SERVER["HTTP_OCISECRET"]; goto z1G0C; p4vem: if (version_compare(_PS_VERSION_, "1.7", ">=")) { goto JbHTv; } goto r04cx; hoGD_: FvtMV: goto evPUD; p5p36: $_POST = null; goto SeOj0; F8DSu: $param_err[] = "auth"; goto RxGY4; EVD8z: header("HTTPy.0 401 Missing parameter"); goto cF9YT; evPUD: PrestaShopLogger::addLog($log_id . " ERR: Empty param : " . implode(",", $param_err), 1, null, null, null, true); goto b0PT0; H1pAV: if (!(empty($_SERVER["HTTP_OCIAUTH"]) || empty($_SERVER["HTTP_OCIVERSION"]) || empty($_SERVER["HTTP_OCISECRET"]))) { goto VFa35; } goto xOyo8; kZ9es: $current_sc_module_folder_name = basename(realpath("../../")); goto b4IBf; z2QLC: if (!($local_auth !== $distant_auth || $local_version !== $distant_version || $local_secret !== $distant_secret)) { goto BE4hV; } goto Ln1lE; bBb4Z: YxNOQ: goto mtIla; QlriV: fK69w: goto k0yFG; MfRwd: $param_err[] = "auth"; goto YBSAp; IEBSp: anX1t: goto GMUXU; XwuKB: $log_id = "SC_ImgC_analyse"; goto p5p36; Yvl3r: eUYt1: goto Zs6Je; s1Y9i: if (!($local_auth !== $distant_auth)) { goto cPSXF; } goto MfRwd; AnXG5: die; goto mxDck; v7PfA: if (!($local_secret !== $distant_secret)) { goto Bl5v1; } goto CaThV; JbrxF: if (array_key_exists("HTTP_OCISECRET", $_SERVER)) { goto anX1t; } goto icox4; aOS8L: YbQU1: goto v7PfA; hzB0m: $_POST = array("action" => "mapping_process", "start" => true, "ajax" => 1); goto kZ9es; b4IBf: if (file_exists(_PS_MODULE_DIR_ . $current_sc_module_folder_name . "/" . $sc_folder_hash)) { goto YxNOQ; } goto iYvo9; Gq3Uf: die; goto O4Tfb; NVrT_: Logger::addLog($log_id . " ERR: Missing param : " . implode(",", $param_err), 1, null, null, null, true); goto ZLZ88; sgkF5: BTKT3: goto EVD8z; S0q_m: $CRON = true; goto hzB0m; Io37h: o3Gv0: goto lHqCt; xOyo8: $param_err = array(); goto Sp9iQ; Gg0iO: if (!(!$scInstalled || !Module::isEnabled($current_sc_module_folder_name))) { goto q5nqM; } goto fJGwN; RxGY4: D4eI7: goto yPEq0; Av7sW: if (version_compare(_PS_VERSION_, "1.6.0s", ">=")) { goto XyhUR; } goto u7n3q; XnsPL: VFa35: goto EFJni; ZLZ88: goto BTKT3; goto QlriV; EFJni: $distant_auth = (string) $_SERVER["HTTP_OCIAUTH"]; goto VGG1I; T03Bx: Bl5v1: goto Av7sW; RlIcz: Fi0zx: goto H1pAV; icox4: $param_err[] = "secret"; goto IEBSp; z1G0C: $local_auth = Configuration::get("SC_UNIQUE_ID", null, 0, 0); goto Joa5B; HtzEB: $param_err[] = "secret"; goto iHgO7; Mo2Mo: die; goto XnsPL; h7J3B: yJjVJ: goto aE5Vt; mtIla: require_once _PS_MODULE_DIR_ . $current_sc_module_folder_name . "/" . $sc_folder_hash . "/SC/init_sc.php"; goto Io37h; Kp20a: if (version_compare(_PS_VERSION_, "1.6.0.3", ">=")) { goto FvtMV; } goto NMjeJ; I4ChD: if (array_key_exists("HTTP_OCIAUTH", $_SERVER)) { goto D4eI7; } goto F8DSu; aVQKJ: $data = ob_get_contents(); goto eF7JC; iHgO7: B8jkk: goto Kp20a; SeOj0: if (!(!array_key_exists("HTTP_OCIAUTH", $_SERVER) || !array_key_exists("HTTP_OCIVERSION", $_SERVER) || !array_key_exists("HTTP_OCISECRET", $_SERVER))) { goto Fi0zx; } goto pLjhm; i8Fe6: $legacyLogger = new PrestaShop\PrestaShop\Adapter\LegacyLogger(); goto Ri5OD; KMvop: require_once "../../../../config/config.inc.php"; goto JaIhL; N_A1V: $analysis_result = json_decode($data, true);
© 2023 Quttera Ltd. All rights reserved.