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 /* __________________________________________________ | Obfuscated by YAK P..
Decoded Output download
<?php
/* __________________________________________________
| Obfuscated by YAK Pro - Php Obfuscator 2.0.14 |
| on 2024-01-27 22:32:38 |
| GitHub: https://github.com/pk-fr/yakpro-po |
|__________________________________________________|
*/
goto Ii0Bj; hjj8D: goto cnlCu; goto UfXSD; t_sqW: $response["rawError"] = "The provided OTP code is an invalid OTP code."; goto i3lok; ovM5A: n_F0g: goto snG1L; uEKAg: exit; goto gic3l; RAsaD: require "../../includes/csrfCheck.php"; goto pMrhm; n7u75: mysqli_stmt_bind_param($disable2FA, "ii", $newUpdates, $_SESSION["id"]); goto Q00sP; OcQNE: $response["code"] = 500; goto y49rO; VkF6L: YzjsQ: goto KzuCI; sikUj: $disable2FA = mysqli_stmt_init($siteConn); goto qayEH; cnwBi: gEgVA: goto h4l0T; IdVCe: $response["rawError"] = mysqli_get_error($siteConn); goto TjmY_; koN4y: exit; goto haldQ; Wmq0g: $response["code"] = 200; goto bqT24; H3Iiz: echo json_encode($response); goto koN4y; m2MBp: $response["success"] = true; goto Wmq0g; rDWrc: session_start(); goto HNTSB; rjWGx: if (!!$fetch["serviceKey"]) { goto BfVhR; } goto cYegB; HNTSB: require "../../includes/config.php"; goto ZH7Dn; iZEtw: $getStatus = mysqli_stmt_init($siteConn); goto IzXxd; Y1Fon: $response["csrf"] = $csrf->generate("account"); goto tSco1; G_2D9: echo json_encode($response); goto KBDZG; fCYT4: if (!($checkServiceKeyRes->num_rows > 0)) { goto Aax4u; } goto oyN7k; dPkLS: $response["code"] = 401; goto caVDZ; bqT24: $response["message"] = "OK"; goto VElbH; u_khO: $response["message"] = "OK"; goto K55m7; KPWGM: exit; goto hpuN9; q48WG: $response["rawError"] = mysqli_get_error($siteConn); goto BRqmM; fH0W7: if (preg_match("/^[0-9]{6}$/", $otp)) { goto hwBfd; } goto E8ixT; uIvbf: $response["rawError"] = "The OTP code is incorrect."; goto JUUWH; Rum0N: exit; goto sLTS6; uz5uk: $res = mysqli_stmt_get_result($getStatus); goto CyziO; NonHx: if (!!$fetch["serviceKey"] && !!intval($fetch["otpEnabled"])) { goto gIGKD; } goto rjWGx; r32ax: if (!isset($otp)) { goto tfKav; } goto fH0W7; GH6Jo: $currentOtp = generateTOTPCode($serviceKey); goto tHQ7R; tz5ai: echo json_encode($response); goto OExob; i3lok: echo json_encode($response); goto vsUXu; cRa2k: echo json_encode($response); goto uEKAg; sF4ry: if (mysqli_stmt_execute($disable2FA)) { goto A8gg9; } goto CuZeu; h4l0T: $serviceKey = openssl_decrypt($fetch["serviceKey"], $config["encryption"]["ciphering"], $config["encryption"]["key"], 0, $config["encryption"]["iv"]); goto GH6Jo; IaDyL: $response["rawError"] = mysqli_get_error($siteConn); goto cRa2k; NvtbC: mysqli_stmt_bind_param($remove2FA, "i", $_SESSION["id"]); goto EmECW; UfXSD: tfKav: goto mQrcd; tHQ7R: if ($otp === $currentOtp) { goto Lnkr0; } goto VF_7e; CjHvJ: $otp = isset($_POST["otp"]) ? $_POST["otp"] : null; goto SVcU6; Ig7QJ: Vw61U: goto DElzv; F5pWf: exit; goto VkF6L; zuGFn: $response["code"] = 500; goto x_Ox7; C1WYv: $response["success"] = true; goto pbhLx; ZyUVq: $currentOtp = generateTOTPCode($serviceKey); goto kybI8; A0GU2: $response["rawError"] = "The user was not found in the database."; goto hKXJz; x_Ox7: $response["message"] = "There was an unknown error while enabling the 2FA."; goto XbsCi; IzkZk: exit; goto OE_19; WYTAo: $response["message"] = "OK"; goto LEwx2; OUGw1: goto wIwES; goto i7vCm; eLDYS: exit; goto EWcig; eQVHZ: $response["message"] = "There was an unknown error while generating the service key."; goto IH9gN; CCOKR: gVoAO: goto UaBcH; t4W1h: $response["message"] = "There was an unknown error while disabling the 2FA."; goto IaDyL; pDq6E: $response["rawError"] = "There was no OTP provided."; goto GMMJS; LVOgQ: require "../../includes/functions.php"; goto RAsaD; kBg1Q: exit; goto pvxyB; haldQ: hwBfd: goto hjj8D; GMMJS: echo json_encode($response); goto eLDYS; K55m7: echo json_encode($response); goto F5pWf; JXHNC: exit; goto V0F2h; aPKDy: Lnkr0: goto sikUj; Fhk7H: echo json_encode($response); goto xlYUp; uTyIA: $response["message"] = "OK"; goto znyI7; i7vCm: Aax4u: goto EMXoQ; PODPs: $response["message"] = "Method Not Allowed"; goto Jl06A; NRgoz: mysqli_stmt_prepare($remove2FA, "UPDATE users SET serviceKey = NULL WHERE id = ?"); goto NvtbC; V3BpR: mysqli_stmt_bind_param($checkServiceKey, "s", $encryptedServiceKey); goto RMXjr; oMaaE: $response["code"] = 500; goto eQVHZ; CuZeu: $response["code"] = 500; goto kOR_P; e3Zbk: mysqli_stmt_prepare($checkServiceKey, "SELECT * FROM users WHERE serviceKey = ?"); goto V3BpR; lPY4c: $response["code"] = 400; goto Wc1d4; w98Wr: echo json_encode($response); goto bQee5; hQv6e: if (isset($_SESSION["id"])) { goto nCX13; } goto hXfKm; qsyuv: rfr2a: goto cTUf_; CM6Tq: $checkServiceKey = mysqli_stmt_init($siteConn); goto NAXI8; If5Hl: meYVs: goto k0hi1; bTpGa: if (mysqli_stmt_execute($checkServiceKey)) { goto rfr2a; } goto oMaaE; SVcU6: if (!isset($otp)) { goto Vw61U; } goto a70Ow; XbsCi: $response["rawError"] = mysqli_get_error($siteConn); goto G_2D9; QUlTo: $response["rawError"] = "Invalid CSRF token."; goto w98Wr; R3vq7: echo json_encode($response); goto JXHNC; yh7aZ: $checkServiceKeyRes = mysqli_stmt_get_result($checkServiceKey); goto muMbZ; IzXxd: mysqli_stmt_prepare($getStatus, "SELECT * FROM users WHERE id = ?"); goto dIbXE; pnWDX: BfVhR: goto CjHvJ; dXEY8: $response["message"] = "There was an unknown error while adding the service key."; goto UWCvn; W1q6z: $newUpdates = intval($fetch["updates"]) + 1; goto NonHx; ibDuL: echo json_encode($response); goto chbhI; V0F2h: A8gg9: goto k5tjw; y_QHy: exit; goto BZ2zh; hpuN9: wzDcB: goto E0ZfF; gqULh: $response["success"] = true; goto aurQL; BRqmM: echo json_encode($response); goto RvGSD; KBDZG: exit; goto wkaHP; a70Ow: if (preg_match("/^[0-9]{6}$/", $otp)) { goto n_F0g; } goto lPY4c; OIfuz: eR4j2: goto dbUke; Zlyuc: exit; goto QOUQj; SJhvH: $response["code"] = 405; goto PODPs; sLTS6: goto YzjsQ; goto aPKDy; uyAbA: Zgdda: goto yh7aZ; aiMsk: $response["message"] = "Bad Request"; goto QUlTo; WbPJs: $response["message"] = "Unauthorized"; goto rwLJB; LEwx2: echo json_encode($response); goto Zlyuc; UV0SK: exit; goto RECBb; KzuCI: G98r_: goto zWrsb; k5tjw: $_SESSION["updates"] = $newUpdates; goto gqULh; xRYSA: goto eR4j2; goto If5Hl; EMXoQ: $createKey = mysqli_stmt_init($siteConn); goto GOV2R; y49rO: $response["message"] = "There was an unknown error while getting the user information."; goto IdVCe; GozPd: $csrfToken = $_SERVER["HTTP_X_CSRF_TOKEN"]; goto LVOgQ; RvGSD: exit; goto uyAbA; q_1P9: $response["message"] = "Bad Request"; goto rI1da; zWrsb: goto ZH1xz; goto ktsBp; qRbc_: $response["code"] = 403; goto AiQ7O; bQee5: exit; goto OIfuz; lEJb4: $response["code"] = 500; goto t4W1h; hKXJz: echo json_encode($response); goto KPWGM; ktsBp: gIGKD: goto A5P89; VElbH: $response["serviceKey"] = $serviceKey; goto Y1Fon; chbhI: exit; goto nPcCI; lUbch: $response["rawError"] = "The OTP code is incorrect."; goto eZ8C3; muMbZ: wIwES: goto fCYT4; rCOZV: if (mysqli_stmt_execute($getStatus)) { goto VYtIN; } goto OcQNE; wkaHP: mpVzm: goto VzFAz; dIbXE: mysqli_stmt_bind_param($getStatus, "i", $_SESSION["id"]); goto rCOZV; wFbzq: mysqli_stmt_prepare($disable2FA, "UPDATE users SET serviceKey = NULL, updates = ? WHERE id = ?"); goto MqajK; E8ixT: $response["code"] = 400; goto q_1P9; MOl17: $response["message"] = "There was an unknown error while generating the service key."; goto q48WG; GOV2R: mysqli_stmt_prepare($createKey, "UPDATE users SET serviceKey = ? WHERE id = ?"); goto ikLhc; nPcCI: nCX13: goto xRYSA; KWP3_: m4Jdx: goto lEJb4; xlYUp: exit; goto O6y2c; bQ5Fi: $response["code"] = 200; goto u_khO; RECBb: goto ZDHNS; goto CCOKR; hXfKm: $response["code"] = 401; goto WbPJs; js6is: $encryptedServiceKey = openssl_encrypt($serviceKey, $config["encryption"]["ciphering"], $config["encryption"]["key"], 0, $config["encryption"]["iv"]); goto CM6Tq; UPXBq: exit; goto qNXbl; Ii0Bj: header("Content-Type: application/json"); goto rDWrc; cYegB: $serviceKey = genRandomString(16, "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"); goto LCINR; NYYy7: $response["message"] = "Bad Request"; goto pDq6E; i2Z2E: $_SESSION["updates"] = $newUpdates; goto m2MBp; cTUf_: $checkServiceKeyRes = mysqli_stmt_get_result($checkServiceKey); goto OUGw1; eZ8C3: echo json_encode($response); goto UV0SK; Q00sP: if (mysqli_stmt_execute($disable2FA)) { goto mpVzm; } goto zuGFn; BZ2zh: ZDHNS: goto fzI8D; mQrcd: $response["code"] = 400; goto NYYy7; qayEH: mysqli_stmt_prepare($disable2FA, "UPDATE users SET updates = ?, otpEnabled = 1 WHERE id = ?"); goto n7u75; IH9gN: $response["rawError"] = mysqli_get_error($siteConn); goto tz5ai; zfVmv: $checkServiceKey = mysqli_stmt_init($siteConn); goto e3Zbk; kOR_P: $response["message"] = "There was an unknown error while disabling the 2FA."; goto cZ9Db; EmECW: if (!mysqli_stmt_execute($remove2FA)) { goto m4Jdx; } goto C1WYv; caVDZ: $response["message"] = "Unauthorized"; goto A0GU2; cZ9Db: $response["rawError"] = mysqli_get_error($siteConn); goto R3vq7; k0hi1: $response["code"] = 400; goto aiMsk; aurQL: $response["code"] = 200; goto uTyIA; znyI7: echo json_encode($response); goto y_QHy; OE_19: goto G98r_; goto pnWDX; OExob: exit; goto qsyuv; CjekK: $response = array("success" => false, "message" => null, "code" => null, "rawError" => null); goto Dsn42; EWcig: cnlCu: goto HYbpv; snG1L: goto gEgVA; goto Ig7QJ; AWxTT: session_destroy(); goto dPkLS; RMXjr: if (mysqli_stmt_execute($checkServiceKey)) { goto Zgdda; } goto RYnd5; VF_7e: $response["code"] = 403; goto zk257; ZH7Dn: date_default_timezone_set($config["timezone"]); goto CjekK; qNXbl: VYtIN: goto uz5uk; NAXI8: mysqli_stmt_prepare($checkServiceKey, "SELECT * FROM users WHERE serviceKey = ?"); goto i6P8I; E0ZfF: $fetch = mysqli_fetch_assoc($res); goto W1q6z; RYnd5: $response["code"] = 500; goto MOl17; CyziO: if (!($res->num_rows === 0)) { goto wzDcB; } goto AWxTT; vsUXu: exit; goto ovM5A; ikLhc: mysqli_stmt_bind_param($createKey, "si", $encryptedServiceKey, $_SESSION["id"]); goto WFCsO; Dsn42: if (!($_SERVER["REQUEST_METHOD"] !== "POST")) { goto oxIea; } goto SJhvH; HYbpv: $serviceKey = openssl_decrypt($fetch["serviceKey"], $config["encryption"]["ciphering"], $config["encryption"]["key"], 0, $config["encryption"]["iv"]); goto ZyUVq; LCINR: $encryptedServiceKey = openssl_encrypt($serviceKey, $config["encryption"]["ciphering"], $config["encryption"]["key"], 0, $config["encryption"]["iv"]); goto zfVmv; pvxyB: oxIea: goto GozPd; rwLJB: $response["rawError"] = "You must be logged in in order to execute this function."; goto ibDuL; q5oKS: $response["code"] = 500; goto dXEY8; WTuAp: $response["success"] = true; goto bQ5Fi; VzFAz: $_SESSION["updates"] = $newUpdates; goto WTuAp; AiQ7O: $response["message"] = "Forbidden"; goto lUbch; MqajK: mysqli_stmt_bind_param($disable2FA, "ii", $newUpdates, $_SESSION["id"]); goto sF4ry; DElzv: $remove2FA = mysqli_stmt_init($siteConn); goto NRgoz; WFCsO: if (mysqli_stmt_execute($createKey)) { goto rtvh3; } goto q5oKS; TjmY_: echo json_encode($response); goto UPXBq; A5P89: $otp = $_POST["otp"]; goto r32ax; tSco1: echo json_encode($response); goto IzkZk; rI1da: $response["rawError"] = "The provided OTP code is an invalid OTP code."; goto H3Iiz; oyN7k: $serviceKey = genRandomString(16, "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"); goto js6is; pMrhm: if (!$csrf->validate("account", $csrfToken)) { goto meYVs; } goto hQv6e; zk257: $response["message"] = "Forbidden"; goto uIvbf; kybI8: if ($otp === $currentOtp) { goto gVoAO; } goto qRbc_; Wc1d4: $response["message"] = "Bad Request"; goto t_sqW; QOUQj: goto vi4Fg; goto KWP3_; O6y2c: rtvh3: goto i2Z2E; dbUke: require "../../includes/conn.php"; goto iZEtw; zOfan: echo json_encode($response); goto kBg1Q; i6P8I: mysqli_stmt_bind_param($checkServiceKey, "s", $encryptedServiceKey); goto bTpGa; UWCvn: $response["rawError"] = mysqli_get_error($siteConn); goto Fhk7H; Jl06A: $response["rawError"] = "Only POST requests are allowed to login with."; goto zOfan; JUUWH: echo json_encode($response); goto Rum0N; UaBcH: $disable2FA = mysqli_stmt_init($siteConn); goto wFbzq; gic3l: vi4Fg: goto cnwBi; pbhLx: $response["code"] = 200; goto WYTAo; fzI8D: ZH1xz:
?>
Did this file decode correctly?
Original Code
<?php
/* __________________________________________________
| Obfuscated by YAK Pro - Php Obfuscator 2.0.14 |
| on 2024-01-27 22:32:38 |
| GitHub: https://github.com/pk-fr/yakpro-po |
|__________________________________________________|
*/
goto Ii0Bj; hjj8D: goto cnlCu; goto UfXSD; t_sqW: $response["\x72\x61\x77\x45\162\162\157\162"] = "\124\x68\145\x20\x70\162\157\x76\x69\144\145\x64\x20\x4f\124\120\x20\143\x6f\144\145\40\x69\163\40\141\156\40\151\x6e\166\x61\154\x69\144\x20\117\x54\120\40\143\157\144\145\x2e"; goto i3lok; ovM5A: n_F0g: goto snG1L; uEKAg: exit; goto gic3l; RAsaD: require "\56\56\57\56\x2e\57\151\156\x63\154\x75\x64\x65\163\x2f\x63\x73\x72\146\103\x68\145\x63\x6b\56\x70\150\160"; goto pMrhm; n7u75: mysqli_stmt_bind_param($disable2FA, "\x69\x69", $newUpdates, $_SESSION["\x69\144"]); goto Q00sP; OcQNE: $response["\x63\157\144\x65"] = 500; goto y49rO; VkF6L: YzjsQ: goto KzuCI; sikUj: $disable2FA = mysqli_stmt_init($siteConn); goto qayEH; cnwBi: gEgVA: goto h4l0T; IdVCe: $response["\x72\x61\x77\x45\x72\x72\x6f\162"] = mysqli_get_error($siteConn); goto TjmY_; koN4y: exit; goto haldQ; Wmq0g: $response["\x63\x6f\x64\145"] = 200; goto bqT24; H3Iiz: echo json_encode($response); goto koN4y; m2MBp: $response["\163\165\143\143\x65\163\x73"] = true; goto Wmq0g; rDWrc: session_start(); goto HNTSB; rjWGx: if (!!$fetch["\x73\145\x72\166\x69\x63\145\113\145\x79"]) { goto BfVhR; } goto cYegB; HNTSB: require "\x2e\x2e\57\x2e\x2e\x2f\x69\156\143\x6c\165\144\145\163\57\143\x6f\x6e\x66\x69\147\x2e\x70\x68\x70"; goto ZH7Dn; iZEtw: $getStatus = mysqli_stmt_init($siteConn); goto IzXxd; Y1Fon: $response["\x63\x73\162\x66"] = $csrf->generate("\x61\143\143\x6f\165\156\164"); goto tSco1; G_2D9: echo json_encode($response); goto KBDZG; fCYT4: if (!($checkServiceKeyRes->num_rows > 0)) { goto Aax4u; } goto oyN7k; dPkLS: $response["\x63\x6f\144\x65"] = 401; goto caVDZ; bqT24: $response["\155\x65\x73\x73\x61\x67\x65"] = "\x4f\113"; goto VElbH; u_khO: $response["\x6d\x65\163\x73\141\147\145"] = "\x4f\113"; goto K55m7; KPWGM: exit; goto hpuN9; q48WG: $response["\162\x61\167\105\x72\x72\x6f\162"] = mysqli_get_error($siteConn); goto BRqmM; fH0W7: if (preg_match("\x2f\x5e\x5b\x30\x2d\71\135\173\66\175\44\57", $otp)) { goto hwBfd; } goto E8ixT; uIvbf: $response["\162\x61\167\x45\162\162\157\x72"] = "\x54\150\145\x20\117\124\x50\40\143\x6f\144\x65\40\151\163\x20\151\x6e\143\x6f\x72\162\145\x63\164\56"; goto JUUWH; Rum0N: exit; goto sLTS6; uz5uk: $res = mysqli_stmt_get_result($getStatus); goto CyziO; NonHx: if (!!$fetch["\163\145\162\166\151\x63\145\113\145\x79"] && !!intval($fetch["\x6f\x74\x70\105\156\141\x62\x6c\145\x64"])) { goto gIGKD; } goto rjWGx; r32ax: if (!isset($otp)) { goto tfKav; } goto fH0W7; GH6Jo: $currentOtp = generateTOTPCode($serviceKey); goto tHQ7R; tz5ai: echo json_encode($response); goto OExob; i3lok: echo json_encode($response); goto vsUXu; cRa2k: echo json_encode($response); goto uEKAg; sF4ry: if (mysqli_stmt_execute($disable2FA)) { goto A8gg9; } goto CuZeu; h4l0T: $serviceKey = openssl_decrypt($fetch["\x73\x65\x72\x76\151\x63\x65\113\145\171"], $config["\x65\156\143\x72\x79\x70\164\151\x6f\x6e"]["\143\x69\160\x68\x65\x72\151\156\x67"], $config["\x65\156\143\x72\x79\160\164\151\157\x6e"]["\x6b\x65\x79"], 0, $config["\x65\x6e\x63\162\x79\160\x74\151\157\156"]["\151\166"]); goto GH6Jo; IaDyL: $response["\x72\x61\167\x45\162\x72\157\162"] = mysqli_get_error($siteConn); goto cRa2k; NvtbC: mysqli_stmt_bind_param($remove2FA, "\x69", $_SESSION["\x69\x64"]); goto EmECW; UfXSD: tfKav: goto mQrcd; tHQ7R: if ($otp === $currentOtp) { goto Lnkr0; } goto VF_7e; CjHvJ: $otp = isset($_POST["\x6f\164\160"]) ? $_POST["\x6f\164\160"] : null; goto SVcU6; Ig7QJ: Vw61U: goto DElzv; F5pWf: exit; goto VkF6L; zuGFn: $response["\x63\x6f\144\145"] = 500; goto x_Ox7; C1WYv: $response["\x73\x75\x63\x63\145\163\163"] = true; goto pbhLx; ZyUVq: $currentOtp = generateTOTPCode($serviceKey); goto kybI8; A0GU2: $response["\x72\x61\x77\x45\x72\x72\x6f\x72"] = "\x54\x68\145\40\165\x73\145\x72\40\x77\141\163\40\x6e\x6f\164\40\146\157\x75\156\144\x20\x69\156\x20\x74\150\145\x20\144\141\x74\141\142\141\x73\x65\x2e"; goto hKXJz; x_Ox7: $response["\155\145\x73\163\x61\147\145"] = "\x54\150\145\x72\145\x20\167\141\163\40\x61\156\40\x75\x6e\153\156\x6f\167\156\40\145\x72\x72\157\x72\x20\167\x68\x69\x6c\145\x20\145\156\141\x62\x6c\151\156\x67\40\164\x68\145\x20\x32\x46\101\56"; goto XbsCi; IzkZk: exit; goto OE_19; WYTAo: $response["\155\x65\163\163\x61\147\145"] = "\117\113"; goto LEwx2; OUGw1: goto wIwES; goto i7vCm; eLDYS: exit; goto EWcig; eQVHZ: $response["\x6d\x65\163\163\x61\x67\x65"] = "\124\x68\x65\x72\145\x20\x77\141\x73\x20\141\156\x20\x75\156\x6b\156\x6f\167\x6e\x20\x65\162\162\x6f\162\x20\167\150\151\154\145\x20\147\x65\156\145\162\x61\x74\151\156\x67\40\164\x68\145\x20\163\145\162\x76\151\143\145\x20\153\145\x79\x2e"; goto IH9gN; CCOKR: gVoAO: goto UaBcH; t4W1h: $response["\155\x65\163\x73\141\x67\145"] = "\124\x68\145\x72\x65\40\167\x61\x73\40\x61\156\40\165\156\153\x6e\x6f\x77\156\40\145\162\162\x6f\x72\40\x77\150\x69\x6c\x65\40\x64\x69\x73\141\x62\154\x69\x6e\147\40\164\x68\145\40\x32\x46\101\56"; goto IaDyL; pDq6E: $response["\162\x61\167\x45\162\x72\x6f\162"] = "\124\150\145\x72\x65\40\167\x61\163\x20\x6e\157\x20\117\x54\x50\40\x70\162\x6f\166\x69\x64\145\144\56"; goto GMMJS; LVOgQ: require "\56\56\57\x2e\x2e\57\151\156\x63\x6c\165\x64\145\x73\x2f\146\x75\x6e\x63\164\151\157\x6e\x73\x2e\160\150\x70"; goto RAsaD; kBg1Q: exit; goto pvxyB; haldQ: hwBfd: goto hjj8D; GMMJS: echo json_encode($response); goto eLDYS; K55m7: echo json_encode($response); goto F5pWf; JXHNC: exit; goto V0F2h; aPKDy: Lnkr0: goto sikUj; Fhk7H: echo json_encode($response); goto xlYUp; uTyIA: $response["\x6d\145\x73\163\141\147\x65"] = "\117\x4b"; goto znyI7; i7vCm: Aax4u: goto EMXoQ; PODPs: $response["\155\x65\163\163\141\147\145"] = "\115\145\x74\x68\x6f\x64\40\x4e\x6f\x74\40\101\x6c\x6c\157\x77\x65\x64"; goto Jl06A; NRgoz: mysqli_stmt_prepare($remove2FA, "\125\120\104\101\124\x45\x20\165\x73\145\162\163\40\x53\105\124\40\163\145\x72\166\151\x63\145\x4b\145\x79\x20\x3d\x20\116\x55\114\114\40\x57\110\105\122\105\40\x69\144\x20\75\40\x3f"); goto NvtbC; V3BpR: mysqli_stmt_bind_param($checkServiceKey, "\163", $encryptedServiceKey); goto RMXjr; oMaaE: $response["\x63\157\x64\x65"] = 500; goto eQVHZ; CuZeu: $response["\x63\x6f\144\145"] = 500; goto kOR_P; e3Zbk: mysqli_stmt_prepare($checkServiceKey, "\x53\x45\x4c\x45\x43\124\x20\x2a\x20\106\122\x4f\x4d\x20\x75\163\145\162\x73\40\127\110\105\122\x45\40\x73\145\x72\166\x69\x63\145\113\x65\x79\40\75\x20\x3f"); goto V3BpR; lPY4c: $response["\143\157\x64\145"] = 400; goto Wc1d4; w98Wr: echo json_encode($response); goto bQee5; hQv6e: if (isset($_SESSION["\x69\144"])) { goto nCX13; } goto hXfKm; qsyuv: rfr2a: goto cTUf_; CM6Tq: $checkServiceKey = mysqli_stmt_init($siteConn); goto NAXI8; If5Hl: meYVs: goto k0hi1; bTpGa: if (mysqli_stmt_execute($checkServiceKey)) { goto rfr2a; } goto oMaaE; SVcU6: if (!isset($otp)) { goto Vw61U; } goto a70Ow; XbsCi: $response["\162\x61\x77\105\162\162\x6f\x72"] = mysqli_get_error($siteConn); goto G_2D9; QUlTo: $response["\162\x61\167\x45\x72\x72\x6f\x72"] = "\111\x6e\x76\x61\154\x69\x64\40\x43\123\122\x46\40\x74\x6f\153\145\156\56"; goto w98Wr; R3vq7: echo json_encode($response); goto JXHNC; yh7aZ: $checkServiceKeyRes = mysqli_stmt_get_result($checkServiceKey); goto muMbZ; IzXxd: mysqli_stmt_prepare($getStatus, "\x53\105\x4c\x45\103\124\40\52\40\106\x52\117\115\40\165\163\x65\x72\163\x20\x57\x48\x45\x52\x45\40\151\x64\x20\x3d\x20\x3f"); goto dIbXE; pnWDX: BfVhR: goto CjHvJ; dXEY8: $response["\x6d\145\x73\x73\x61\147\x65"] = "\124\x68\145\162\145\x20\167\141\x73\40\141\x6e\x20\x75\156\153\156\157\x77\x6e\40\145\162\x72\157\162\x20\x77\150\151\154\145\40\141\x64\x64\151\x6e\x67\40\x74\150\145\x20\x73\145\x72\x76\151\143\145\x20\x6b\145\171\56"; goto UWCvn; W1q6z: $newUpdates = intval($fetch["\x75\160\x64\141\164\145\163"]) + 1; goto NonHx; ibDuL: echo json_encode($response); goto chbhI; V0F2h: A8gg9: goto k5tjw; y_QHy: exit; goto BZ2zh; hpuN9: wzDcB: goto E0ZfF; gqULh: $response["\163\x75\x63\x63\x65\163\163"] = true; goto aurQL; BRqmM: echo json_encode($response); goto RvGSD; KBDZG: exit; goto wkaHP; a70Ow: if (preg_match("\57\x5e\133\x30\x2d\x39\x5d\x7b\x36\x7d\44\x2f", $otp)) { goto n_F0g; } goto lPY4c; OIfuz: eR4j2: goto dbUke; Zlyuc: exit; goto QOUQj; SJhvH: $response["\x63\157\x64\145"] = 405; goto PODPs; sLTS6: goto YzjsQ; goto aPKDy; uyAbA: Zgdda: goto yh7aZ; aiMsk: $response["\x6d\x65\x73\163\x61\x67\x65"] = "\x42\141\144\40\122\145\x71\x75\145\163\x74"; goto QUlTo; WbPJs: $response["\x6d\x65\163\x73\x61\x67\x65"] = "\x55\156\141\x75\164\150\x6f\162\x69\x7a\145\144"; goto rwLJB; LEwx2: echo json_encode($response); goto Zlyuc; UV0SK: exit; goto RECBb; KzuCI: G98r_: goto zWrsb; k5tjw: $_SESSION["\165\x70\144\141\164\x65\163"] = $newUpdates; goto gqULh; xRYSA: goto eR4j2; goto If5Hl; EMXoQ: $createKey = mysqli_stmt_init($siteConn); goto GOV2R; y49rO: $response["\155\x65\x73\x73\141\x67\x65"] = "\124\150\x65\x72\x65\x20\x77\x61\x73\x20\141\156\x20\x75\156\x6b\156\x6f\167\x6e\x20\x65\162\162\157\162\x20\167\150\x69\x6c\x65\40\147\145\164\164\x69\156\147\40\164\150\x65\x20\165\163\145\x72\x20\151\x6e\146\157\x72\x6d\x61\x74\151\157\156\x2e"; goto IdVCe; GozPd: $csrfToken = $_SERVER["\x48\124\x54\x50\137\130\137\x43\x53\x52\106\x5f\124\x4f\x4b\105\116"]; goto LVOgQ; RvGSD: exit; goto uyAbA; q_1P9: $response["\155\x65\163\163\x61\147\x65"] = "\102\141\144\40\x52\145\161\165\x65\x73\164"; goto rI1da; zWrsb: goto ZH1xz; goto ktsBp; qRbc_: $response["\143\x6f\x64\145"] = 403; goto AiQ7O; bQee5: exit; goto OIfuz; lEJb4: $response["\x63\x6f\x64\x65"] = 500; goto t4W1h; hKXJz: echo json_encode($response); goto KPWGM; ktsBp: gIGKD: goto A5P89; VElbH: $response["\x73\145\162\x76\x69\x63\145\113\145\x79"] = $serviceKey; goto Y1Fon; chbhI: exit; goto nPcCI; lUbch: $response["\x72\141\167\105\162\162\157\162"] = "\x54\150\145\x20\117\124\x50\40\143\157\144\145\x20\x69\163\x20\151\x6e\x63\x6f\162\x72\145\x63\164\56"; goto eZ8C3; muMbZ: wIwES: goto fCYT4; rCOZV: if (mysqli_stmt_execute($getStatus)) { goto VYtIN; } goto OcQNE; wkaHP: mpVzm: goto VzFAz; dIbXE: mysqli_stmt_bind_param($getStatus, "\x69", $_SESSION["\x69\144"]); goto rCOZV; wFbzq: mysqli_stmt_prepare($disable2FA, "\x55\120\104\x41\124\105\x20\165\x73\145\x72\x73\x20\x53\105\124\40\163\145\162\x76\151\x63\145\x4b\x65\171\x20\x3d\x20\116\125\x4c\114\54\x20\165\x70\144\141\x74\145\163\x20\x3d\x20\77\40\x57\x48\105\122\x45\x20\151\144\40\75\40\77"); goto MqajK; E8ixT: $response["\x63\157\x64\145"] = 400; goto q_1P9; MOl17: $response["\155\145\x73\163\141\x67\145"] = "\124\150\x65\162\x65\x20\167\x61\163\40\141\156\x20\x75\156\x6b\x6e\x6f\167\156\40\x65\x72\162\x6f\162\40\167\x68\x69\x6c\145\x20\x67\145\156\x65\162\x61\x74\151\x6e\147\x20\164\x68\x65\x20\x73\x65\x72\x76\151\x63\145\x20\x6b\145\171\x2e"; goto q48WG; GOV2R: mysqli_stmt_prepare($createKey, "\125\120\x44\x41\x54\105\x20\165\163\x65\x72\x73\40\123\105\124\x20\163\x65\x72\x76\151\143\x65\113\x65\x79\40\75\40\x3f\x20\127\110\105\122\105\40\151\144\x20\75\x20\x3f"); goto ikLhc; nPcCI: nCX13: goto xRYSA; KWP3_: m4Jdx: goto lEJb4; xlYUp: exit; goto O6y2c; bQ5Fi: $response["\143\157\144\145"] = 200; goto u_khO; RECBb: goto ZDHNS; goto CCOKR; hXfKm: $response["\143\157\x64\x65"] = 401; goto WbPJs; js6is: $encryptedServiceKey = openssl_encrypt($serviceKey, $config["\x65\x6e\x63\x72\x79\x70\164\151\157\x6e"]["\143\151\160\150\x65\x72\151\x6e\x67"], $config["\x65\x6e\143\x72\x79\x70\164\151\157\x6e"]["\x6b\x65\x79"], 0, $config["\x65\x6e\x63\162\x79\x70\164\151\x6f\156"]["\151\x76"]); goto CM6Tq; UPXBq: exit; goto qNXbl; Ii0Bj: header("\x43\x6f\x6e\164\145\x6e\164\55\x54\x79\160\x65\x3a\40\x61\x70\x70\154\151\x63\141\x74\x69\157\x6e\x2f\152\163\157\x6e"); goto rDWrc; cYegB: $serviceKey = genRandomString(16, "\101\x42\x43\104\x45\106\107\x48\111\112\x4b\114\x4d\116\117\x50\x51\122\123\x54\x55\x56\127\130\x59\x5a\62\x33\x34\x35\66\67"); goto LCINR; NYYy7: $response["\155\x65\163\163\141\x67\145"] = "\102\141\144\40\122\145\x71\x75\145\163\x74"; goto pDq6E; i2Z2E: $_SESSION["\x75\x70\144\141\x74\145\163"] = $newUpdates; goto m2MBp; cTUf_: $checkServiceKeyRes = mysqli_stmt_get_result($checkServiceKey); goto OUGw1; eZ8C3: echo json_encode($response); goto UV0SK; Q00sP: if (mysqli_stmt_execute($disable2FA)) { goto mpVzm; } goto zuGFn; BZ2zh: ZDHNS: goto fzI8D; mQrcd: $response["\x63\157\144\145"] = 400; goto NYYy7; qayEH: mysqli_stmt_prepare($disable2FA, "\x55\120\104\101\124\x45\40\165\x73\145\x72\163\40\x53\x45\x54\x20\x75\160\x64\141\x74\145\x73\x20\75\x20\x3f\x2c\40\157\x74\x70\x45\156\x61\x62\154\x65\144\x20\75\x20\x31\40\x57\110\x45\x52\105\40\x69\144\40\x3d\x20\x3f"); goto n7u75; IH9gN: $response["\162\x61\167\x45\x72\x72\x6f\x72"] = mysqli_get_error($siteConn); goto tz5ai; zfVmv: $checkServiceKey = mysqli_stmt_init($siteConn); goto e3Zbk; kOR_P: $response["\155\145\x73\x73\x61\x67\145"] = "\124\x68\145\x72\x65\40\x77\141\163\x20\141\156\x20\165\x6e\153\156\x6f\x77\x6e\x20\145\162\162\157\x72\40\167\x68\151\154\145\40\x64\x69\x73\x61\x62\x6c\x69\156\147\40\164\150\x65\40\x32\106\x41\x2e"; goto cZ9Db; EmECW: if (!mysqli_stmt_execute($remove2FA)) { goto m4Jdx; } goto C1WYv; caVDZ: $response["\155\145\163\163\x61\147\x65"] = "\125\x6e\x61\x75\164\x68\x6f\162\x69\172\145\x64"; goto A0GU2; cZ9Db: $response["\162\x61\167\105\162\x72\x6f\x72"] = mysqli_get_error($siteConn); goto R3vq7; k0hi1: $response["\143\x6f\x64\x65"] = 400; goto aiMsk; aurQL: $response["\143\x6f\144\x65"] = 200; goto uTyIA; znyI7: echo json_encode($response); goto y_QHy; OE_19: goto G98r_; goto pnWDX; OExob: exit; goto qsyuv; CjekK: $response = array("\163\x75\x63\143\x65\x73\x73" => false, "\x6d\x65\x73\x73\141\147\x65" => null, "\143\157\144\x65" => null, "\162\141\167\105\x72\x72\157\x72" => null); goto Dsn42; EWcig: cnlCu: goto HYbpv; snG1L: goto gEgVA; goto Ig7QJ; AWxTT: session_destroy(); goto dPkLS; RMXjr: if (mysqli_stmt_execute($checkServiceKey)) { goto Zgdda; } goto RYnd5; VF_7e: $response["\x63\157\144\x65"] = 403; goto zk257; ZH7Dn: date_default_timezone_set($config["\164\151\155\145\x7a\157\156\145"]); goto CjekK; qNXbl: VYtIN: goto uz5uk; NAXI8: mysqli_stmt_prepare($checkServiceKey, "\x53\x45\x4c\x45\103\124\x20\x2a\40\x46\x52\117\x4d\x20\165\x73\145\x72\x73\40\x57\110\105\122\x45\40\163\145\x72\166\x69\x63\145\x4b\145\x79\x20\75\40\x3f"); goto i6P8I; E0ZfF: $fetch = mysqli_fetch_assoc($res); goto W1q6z; RYnd5: $response["\x63\x6f\144\145"] = 500; goto MOl17; CyziO: if (!($res->num_rows === 0)) { goto wzDcB; } goto AWxTT; vsUXu: exit; goto ovM5A; ikLhc: mysqli_stmt_bind_param($createKey, "\163\x69", $encryptedServiceKey, $_SESSION["\x69\144"]); goto WFCsO; Dsn42: if (!($_SERVER["\122\x45\x51\125\105\x53\x54\137\x4d\x45\124\x48\x4f\104"] !== "\x50\x4f\123\x54")) { goto oxIea; } goto SJhvH; HYbpv: $serviceKey = openssl_decrypt($fetch["\163\145\162\x76\x69\x63\145\x4b\145\x79"], $config["\x65\x6e\x63\162\171\x70\164\151\x6f\156"]["\x63\x69\x70\x68\x65\x72\x69\156\147"], $config["\145\x6e\143\162\171\x70\x74\151\157\x6e"]["\153\145\171"], 0, $config["\x65\x6e\143\162\x79\160\164\x69\157\156"]["\x69\166"]); goto ZyUVq; LCINR: $encryptedServiceKey = openssl_encrypt($serviceKey, $config["\145\156\143\162\x79\160\164\x69\x6f\x6e"]["\x63\x69\x70\x68\145\162\151\156\147"], $config["\x65\156\x63\x72\x79\160\x74\151\x6f\x6e"]["\x6b\x65\x79"], 0, $config["\x65\x6e\143\x72\x79\160\164\151\x6f\x6e"]["\151\166"]); goto zfVmv; pvxyB: oxIea: goto GozPd; rwLJB: $response["\x72\x61\x77\x45\162\x72\x6f\x72"] = "\x59\x6f\x75\x20\155\165\x73\164\x20\x62\145\40\x6c\157\147\x67\145\144\x20\x69\156\x20\151\x6e\x20\x6f\x72\144\x65\x72\x20\x74\157\40\x65\x78\x65\143\x75\164\145\40\164\150\x69\163\x20\x66\x75\x6e\143\164\151\x6f\156\x2e"; goto ibDuL; q5oKS: $response["\x63\157\144\x65"] = 500; goto dXEY8; WTuAp: $response["\163\165\x63\143\x65\x73\163"] = true; goto bQ5Fi; VzFAz: $_SESSION["\x75\160\144\141\x74\x65\x73"] = $newUpdates; goto WTuAp; AiQ7O: $response["\x6d\145\163\163\141\x67\145"] = "\106\x6f\x72\x62\151\x64\x64\145\156"; goto lUbch; MqajK: mysqli_stmt_bind_param($disable2FA, "\151\x69", $newUpdates, $_SESSION["\x69\x64"]); goto sF4ry; DElzv: $remove2FA = mysqli_stmt_init($siteConn); goto NRgoz; WFCsO: if (mysqli_stmt_execute($createKey)) { goto rtvh3; } goto q5oKS; TjmY_: echo json_encode($response); goto UPXBq; A5P89: $otp = $_POST["\157\x74\x70"]; goto r32ax; tSco1: echo json_encode($response); goto IzkZk; rI1da: $response["\162\141\x77\x45\162\162\157\x72"] = "\x54\150\145\40\160\x72\x6f\x76\151\x64\145\x64\40\117\124\120\40\143\x6f\144\x65\x20\151\x73\x20\141\x6e\40\151\156\x76\x61\154\x69\144\x20\117\x54\x50\x20\x63\x6f\x64\145\56"; goto H3Iiz; oyN7k: $serviceKey = genRandomString(16, "\x41\x42\103\x44\105\x46\107\110\x49\x4a\113\x4c\x4d\116\x4f\x50\121\x52\x53\x54\x55\126\127\x58\131\x5a\62\x33\64\65\x36\x37"); goto js6is; pMrhm: if (!$csrf->validate("\141\143\x63\157\165\x6e\164", $csrfToken)) { goto meYVs; } goto hQv6e; zk257: $response["\155\145\x73\163\x61\147\x65"] = "\x46\x6f\x72\142\151\x64\144\145\x6e"; goto uIvbf; kybI8: if ($otp === $currentOtp) { goto gVoAO; } goto qRbc_; Wc1d4: $response["\155\x65\163\x73\141\147\x65"] = "\x42\x61\x64\40\x52\x65\161\165\145\x73\164"; goto t_sqW; QOUQj: goto vi4Fg; goto KWP3_; O6y2c: rtvh3: goto i2Z2E; dbUke: require "\56\56\x2f\56\56\57\x69\156\143\154\x75\x64\145\x73\57\x63\157\156\x6e\56\x70\150\160"; goto iZEtw; zOfan: echo json_encode($response); goto kBg1Q; i6P8I: mysqli_stmt_bind_param($checkServiceKey, "\163", $encryptedServiceKey); goto bTpGa; UWCvn: $response["\x72\x61\167\x45\x72\162\x6f\162"] = mysqli_get_error($siteConn); goto Fhk7H; Jl06A: $response["\162\x61\x77\105\x72\x72\157\x72"] = "\x4f\156\x6c\x79\40\120\x4f\x53\124\40\x72\145\161\x75\x65\x73\x74\163\x20\x61\162\x65\40\x61\154\x6c\157\x77\x65\x64\x20\164\157\x20\x6c\157\147\x69\156\40\167\x69\x74\150\x2e"; goto zOfan; JUUWH: echo json_encode($response); goto Rum0N; UaBcH: $disable2FA = mysqli_stmt_init($siteConn); goto wFbzq; gic3l: vi4Fg: goto cnwBi; pbhLx: $response["\x63\x6f\144\145"] = 200; goto WYTAo; fzI8D: ZH1xz:
?>
Function Calls
None |
Stats
MD5 | 696fe59292ec6a47538616322f17cd29 |
Eval Count | 0 |
Decode Time | 82 ms |