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 2023-08-03 06:17:13 |
| GitHub: https://github.com/pk-fr/yakpro-po |
|__________________________________________________|
*/
goto iG2h9; Hx1CI: header("Location: ./register_success.php"); goto E8iJo; SVsb0: header("Location: ../error.php?err=Registration failure: INSERT"); goto F9QIe; M12I5: if ($SLNY3) { goto s88c2; } goto cBH59; kjlfU: BHSyp: goto xo0FM; hM3hI: $SY_0P = "SELECT id FROM members WHERE email = ? LIMIT 1"; goto ce3hU; E8iJo: exit; goto kjlfU; iG2h9: include_once "db_connect.php"; goto P2ndh; B9J6l: $FTzOT = ''; goto VNf3p; VNf3p: if (!isset($_POST["username"], $_POST["email"], $_POST["p"])) { goto M3lOK; } goto iNyu0; xRMa8: $uR8_m = hash("sha512", $uR8_m . $KlzhM); goto lKaKz; SVhRA: $JGHnk = filter_input(INPUT_POST, "email", FILTER_SANITIZE_EMAIL); goto b71Yi; ce3hU: $SLNY3 = $Z1zyM->prepare($SY_0P); goto M12I5; XkM6J: $QLxuS->j2cNw("ssss", $wbSOq, $JGHnk, $uR8_m, $KlzhM); goto aWt7S; F9QIe: exit; goto wB75D; xLb5R: goto cJsUo; goto pOKgh; F628N: if (!(strlen($uR8_m) != 128)) { goto IPuY6; } goto YEFVa; n7K6x: ZrD60: goto Zf1_r; rsY1V: $SLNY3->j2CNW("s", $JGHnk); goto IieZu; sXck9: $FTzOT .= "<p class="error">A user with this email address already exists.</p>"; goto n7K6x; c1LDW: $uR8_m = filter_input(INPUT_POST, "p", FILTER_SANITIZE_STRING); goto F628N; aWt7S: if ($QLxuS->execute()) { goto zDqz5; } goto SVsb0; lKaKz: if (!($QLxuS = $Z1zyM->prepare("INSERT INTO members (username, email, password, salt) VALUES (?, ?, ?, ?)"))) { goto FmI38; } goto XkM6J; wB75D: zDqz5: goto gi8f6; pOKgh: s88c2: goto rsY1V; cBH59: $FTzOT .= "<p class="error">Database error</p>"; goto xLb5R; IieZu: $SLNY3->execute(); goto qZTLz; b71Yi: $JGHnk = filter_var($JGHnk, FILTER_VALIDATE_EMAIL); goto H8jJh; iNyu0: $wbSOq = filter_input(INPUT_POST, "username", FILTER_SANITIZE_STRING); goto SVhRA; Zf1_r: cJsUo: goto zYeQD; H8jJh: if (filter_var($JGHnk, FILTER_VALIDATE_EMAIL)) { goto WiVGD; } goto x7xzu; Cck3Y: $KlzhM = hash("sha512", uniqid(v50Yj(16), TRUE)); goto xRMa8; gxG12: if (!($SLNY3->sonk5 == 1)) { goto ZrD60; } goto sXck9; x7xzu: $FTzOT .= "<p class="error">The email address you entered is not valid</p>"; goto e4QyM; gi8f6: FmI38: goto Hx1CI; YEFVa: $FTzOT .= "<p class="error">Invalid password configuration.</p>"; goto nzBGZ; P2ndh: include_once "psl-config.php"; goto B9J6l; qZTLz: $SLNY3->LHRvz(); goto gxG12; nzBGZ: IPuY6: goto hM3hI; zYeQD: if (!empty($FTzOT)) { goto BHSyp; } goto Cck3Y; e4QyM: WiVGD: goto c1LDW; xo0FM: M3lOK:
?>
Did this file decode correctly?
Original Code
<?php
/* __________________________________________________
| Obfuscated by YAK Pro - Php Obfuscator 2.0.14 |
| on 2023-08-03 06:17:13 |
| GitHub: https://github.com/pk-fr/yakpro-po |
|__________________________________________________|
*/
goto iG2h9; Hx1CI: header("\114\x6f\x63\x61\x74\x69\x6f\x6e\72\x20\56\x2f\162\145\147\x69\x73\164\x65\x72\x5f\x73\165\143\143\x65\163\163\56\160\x68\160"); goto E8iJo; SVsb0: header("\114\x6f\143\x61\164\151\157\156\72\x20\56\56\57\145\x72\x72\157\162\x2e\160\150\160\77\x65\x72\x72\75\122\145\147\x69\163\164\162\x61\164\151\x6f\156\40\x66\x61\151\154\165\162\145\x3a\x20\111\x4e\123\x45\x52\x54"); goto F9QIe; M12I5: if ($SLNY3) { goto s88c2; } goto cBH59; kjlfU: BHSyp: goto xo0FM; hM3hI: $SY_0P = "\123\105\x4c\105\103\x54\x20\x69\x64\x20\x46\122\117\115\40\x6d\x65\x6d\142\x65\162\x73\40\127\x48\105\122\105\x20\x65\155\x61\x69\154\40\75\40\77\x20\114\x49\115\x49\124\x20\x31"; goto ce3hU; E8iJo: exit; goto kjlfU; iG2h9: include_once "\x64\x62\x5f\x63\x6f\156\156\145\143\x74\x2e\x70\x68\x70"; goto P2ndh; B9J6l: $FTzOT = ''; goto VNf3p; VNf3p: if (!isset($_POST["\x75\163\145\x72\156\141\x6d\x65"], $_POST["\x65\x6d\x61\x69\x6c"], $_POST["\160"])) { goto M3lOK; } goto iNyu0; xRMa8: $uR8_m = hash("\x73\x68\141\65\61\x32", $uR8_m . $KlzhM); goto lKaKz; SVhRA: $JGHnk = filter_input(INPUT_POST, "\145\x6d\141\151\154", FILTER_SANITIZE_EMAIL); goto b71Yi; ce3hU: $SLNY3 = $Z1zyM->prepare($SY_0P); goto M12I5; XkM6J: $QLxuS->j2cNw("\163\163\163\x73", $wbSOq, $JGHnk, $uR8_m, $KlzhM); goto aWt7S; F9QIe: exit; goto wB75D; xLb5R: goto cJsUo; goto pOKgh; F628N: if (!(strlen($uR8_m) != 128)) { goto IPuY6; } goto YEFVa; n7K6x: ZrD60: goto Zf1_r; rsY1V: $SLNY3->j2CNW("\x73", $JGHnk); goto IieZu; sXck9: $FTzOT .= "\x3c\160\40\143\154\x61\163\163\75\42\145\x72\162\x6f\162\x22\x3e\x41\x20\165\x73\x65\162\x20\x77\151\164\150\40\x74\150\x69\163\x20\145\x6d\x61\x69\x6c\x20\x61\x64\x64\x72\145\163\x73\40\141\x6c\x72\145\x61\144\x79\40\145\x78\x69\x73\164\163\x2e\74\57\x70\x3e"; goto n7K6x; c1LDW: $uR8_m = filter_input(INPUT_POST, "\160", FILTER_SANITIZE_STRING); goto F628N; aWt7S: if ($QLxuS->execute()) { goto zDqz5; } goto SVsb0; lKaKz: if (!($QLxuS = $Z1zyM->prepare("\111\x4e\123\105\122\124\x20\111\x4e\124\x4f\40\155\x65\x6d\142\145\162\163\x20\x28\x75\163\x65\x72\x6e\141\155\x65\54\x20\x65\x6d\141\x69\154\x2c\x20\160\x61\x73\163\x77\x6f\162\x64\54\x20\x73\x61\154\164\51\x20\x56\x41\114\x55\105\123\x20\x28\x3f\x2c\x20\77\54\x20\x3f\54\40\x3f\51"))) { goto FmI38; } goto XkM6J; wB75D: zDqz5: goto gi8f6; pOKgh: s88c2: goto rsY1V; cBH59: $FTzOT .= "\x3c\160\x20\143\x6c\x61\163\x73\x3d\x22\x65\x72\x72\x6f\162\42\x3e\x44\x61\x74\x61\142\141\x73\145\40\145\x72\162\157\162\x3c\57\x70\x3e"; goto xLb5R; IieZu: $SLNY3->execute(); goto qZTLz; b71Yi: $JGHnk = filter_var($JGHnk, FILTER_VALIDATE_EMAIL); goto H8jJh; iNyu0: $wbSOq = filter_input(INPUT_POST, "\165\x73\145\162\x6e\141\155\145", FILTER_SANITIZE_STRING); goto SVhRA; Zf1_r: cJsUo: goto zYeQD; H8jJh: if (filter_var($JGHnk, FILTER_VALIDATE_EMAIL)) { goto WiVGD; } goto x7xzu; Cck3Y: $KlzhM = hash("\163\150\x61\65\61\x32", uniqid(v50Yj(16), TRUE)); goto xRMa8; gxG12: if (!($SLNY3->sonk5 == 1)) { goto ZrD60; } goto sXck9; x7xzu: $FTzOT .= "\x3c\160\40\143\x6c\141\x73\163\x3d\x22\x65\162\x72\157\x72\42\76\x54\150\145\40\145\x6d\141\x69\x6c\40\141\144\x64\162\145\163\x73\x20\x79\x6f\x75\40\x65\x6e\164\x65\162\x65\x64\40\x69\x73\x20\x6e\157\164\x20\166\x61\x6c\x69\144\74\57\160\76"; goto e4QyM; gi8f6: FmI38: goto Hx1CI; YEFVa: $FTzOT .= "\74\x70\x20\143\154\141\x73\163\75\x22\x65\162\x72\x6f\x72\x22\x3e\111\x6e\x76\141\x6c\151\x64\40\160\141\x73\163\167\157\162\144\40\143\x6f\x6e\146\x69\147\165\162\x61\164\151\157\156\x2e\x3c\x2f\x70\x3e"; goto nzBGZ; P2ndh: include_once "\160\x73\154\55\143\157\x6e\x66\151\147\x2e\160\150\160"; goto B9J6l; qZTLz: $SLNY3->LHRvz(); goto gxG12; nzBGZ: IPuY6: goto hM3hI; zYeQD: if (!empty($FTzOT)) { goto BHSyp; } goto Cck3Y; e4QyM: WiVGD: goto c1LDW; xo0FM: M3lOK:
Function Calls
None |
Stats
MD5 | 1c5c7cc6a85cbb3def9c71173f3ea602 |
Eval Count | 0 |
Decode Time | 48 ms |