Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
goto GKztV; Q8CgC: if (!($UbsKQ["\150\141\154\154"] != vEFbe)) { goto oq93H; } goto FDvh6;..
Decoded Output download
<? goto GKztV; Q8CgC: if (!($UbsKQ["hall"] != vEFbe)) { goto oq93H; } goto FDvh6; O19uy: oq93H: goto LivRT; S3aH7: define("svmQk", "utf8"); goto gla71; W3HxA: echo json_encode(["status" => "fail", "message" => "user_not_found"]); goto XkVZE; DKIdE: $cGyGJ = isset($_POST["balance"]) ? htmlspecialchars(trim($_POST["balance"])) : null; goto nUQdq; gla71: define("tkiB0", "u878150828_root"); goto uHq8q; XkVZE: PDfUB: goto zq32t; zq32t: switch ($_POST["cmd"]) { case "getBalance": goto e23p5; case "writeBet": goto e23p5; } goto UMGMr; dgQLd: if (!isset($UbsKQ["cmd"], $UbsKQ["hall"], $UbsKQ["key"], $UbsKQ["login"])) { goto FtKrR; } goto Q8CgC; rYaGb: define("A6K2U", "5nya57y2lkq2pc7yts64d6ov"); goto oyp2Z; O2Ofi: if (!($_SERVER["REQUEST_METHOD"] === "POST")) { goto tvhd3; } goto eOOY3; UMGMr: Zjmia: goto LKCFm; FDvh6: return; goto O19uy; LKCFm: e23p5: goto DKIdE; OmTO_: YZ21W: goto AUYb7; LivRT: if (!($UbsKQ["key"] != A6K2U)) { goto YZ21W; } goto QciWo; oyp2Z: function UhyZX(string $twQNH) { try { goto rsDEH; mjOGy: $nhtL7->execute(array("kullanici_mail" => $twQNH)); goto FZWZt; SmH3b: return $sQSRI ?: null; goto D26SC; PY79J: $nhtL7 = $UG2bD->prepare("SELECT * FROM kullanici WHERE kullanici_mail = :kullanici_mail ORDER BY kullanici_id DESC LIMIT 1"); goto mjOGy; rsDEH: $UG2bD = new PDO("mysql:host=" . YpPTa . ";dbname=" . G_vpJ . ";charset=" . svmQk, tkiB0, PjcA6); goto vJGNn; vJGNn: $UG2bD->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); goto PY79J; FZWZt: $sQSRI = $nhtL7->fetch(PDO::FETCH_ASSOC); goto SmH3b; D26SC: } catch (PDOException $GDD1V) { return null; } } goto O2Ofi; uHq8q: define("PjcA6", "U#c3w+ucA6=z"); goto kMhPD; eOOY3: $UbsKQ = json_decode(file_get_contents("php://input"), true); goto dgQLd; AUYb7: header("Content-Type: application/json"); goto h15if; b5eik: if (!($sQSRI == null)) { goto PDfUB; } goto W3HxA; nUQdq: FtKrR: goto b1AkM; h15if: $sQSRI = uhyZX($_POST["login"]); goto b5eik; QciWo: return; goto OmTO_; GKztV: define("YpPTa", "localhost"); goto P3TB1; kMhPD: define("vEFbe", "merit_hall1"); goto rYaGb; P3TB1: define("G_vpJ", "u878150828_sqlmerit"); goto S3aH7; b1AkM: tvhd3: ?>
Did this file decode correctly?
Original Code
goto GKztV; Q8CgC: if (!($UbsKQ["\150\141\154\154"] != vEFbe)) { goto oq93H; } goto FDvh6; O19uy: oq93H: goto LivRT; S3aH7: define("\163\x76\155\x51\x6b", "\x75\164\146\x38"); goto gla71; W3HxA: echo json_encode(["\x73\x74\141\164\165\163" => "\146\x61\151\x6c", "\x6d\x65\163\163\x61\147\145" => "\165\x73\145\x72\137\x6e\x6f\x74\x5f\x66\157\x75\156\144"]); goto XkVZE; DKIdE: $cGyGJ = isset($_POST["\x62\x61\154\x61\156\143\x65"]) ? htmlspecialchars(trim($_POST["\x62\x61\154\141\156\143\x65"])) : null; goto nUQdq; gla71: define("\164\x6b\x69\x42\x30", "\165\70\x37\x38\61\65\60\x38\62\x38\x5f\162\157\157\164"); goto uHq8q; XkVZE: PDfUB: goto zq32t; zq32t: switch ($_POST["\x63\x6d\x64"]) { case "\147\145\164\x42\x61\154\141\x6e\143\145": goto e23p5; case "\x77\x72\x69\164\x65\102\x65\164": goto e23p5; } goto UMGMr; dgQLd: if (!isset($UbsKQ["\x63\x6d\144"], $UbsKQ["\150\141\154\154"], $UbsKQ["\153\x65\171"], $UbsKQ["\x6c\157\147\151\x6e"])) { goto FtKrR; } goto Q8CgC; rYaGb: define("\x41\66\x4b\62\125", "\x35\x6e\171\141\65\x37\x79\62\154\x6b\161\x32\160\143\67\x79\164\163\66\x34\x64\66\x6f\166"); goto oyp2Z; O2Ofi: if (!($_SERVER["\122\x45\x51\125\x45\123\124\x5f\115\105\x54\x48\117\104"] === "\120\117\x53\124")) { goto tvhd3; } goto eOOY3; UMGMr: Zjmia: goto LKCFm; FDvh6: return; goto O19uy; LKCFm: e23p5: goto DKIdE; OmTO_: YZ21W: goto AUYb7; LivRT: if (!($UbsKQ["\153\x65\171"] != A6K2U)) { goto YZ21W; } goto QciWo; oyp2Z: function UhyZX(string $twQNH) { try { goto rsDEH; mjOGy: $nhtL7->execute(array("\153\165\154\x6c\141\156\x69\x63\x69\x5f\x6d\x61\x69\x6c" => $twQNH)); goto FZWZt; SmH3b: return $sQSRI ?: null; goto D26SC; PY79J: $nhtL7 = $UG2bD->prepare("\123\x45\x4c\105\103\x54\x20\x2a\x20\106\x52\117\x4d\x20\x6b\165\154\x6c\x61\x6e\x69\143\x69\40\x57\x48\105\x52\x45\40\x6b\x75\x6c\x6c\x61\x6e\151\x63\151\x5f\155\141\151\x6c\x20\75\x20\72\153\x75\x6c\x6c\141\x6e\151\x63\x69\x5f\x6d\141\x69\154\x20\117\x52\x44\105\122\40\102\x59\40\153\165\x6c\x6c\x61\156\x69\x63\x69\x5f\151\x64\40\x44\105\x53\x43\x20\114\111\115\111\x54\x20\x31"); goto mjOGy; rsDEH: $UG2bD = new PDO("\x6d\171\x73\161\154\x3a\x68\157\x73\164\x3d" . YpPTa . "\x3b\x64\142\156\x61\x6d\145\x3d" . G_vpJ . "\73\x63\150\141\x72\x73\145\x74\x3d" . svmQk, tkiB0, PjcA6); goto vJGNn; vJGNn: $UG2bD->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); goto PY79J; FZWZt: $sQSRI = $nhtL7->fetch(PDO::FETCH_ASSOC); goto SmH3b; D26SC: } catch (PDOException $GDD1V) { return null; } } goto O2Ofi; uHq8q: define("\120\x6a\143\101\66", "\x55\x23\143\63\x77\x2b\x75\x63\x41\66\x3d\172"); goto kMhPD; eOOY3: $UbsKQ = json_decode(file_get_contents("\160\x68\x70\72\x2f\57\x69\156\160\165\x74"), true); goto dgQLd; AUYb7: header("\x43\157\x6e\x74\x65\x6e\164\55\x54\171\x70\145\x3a\40\141\x70\160\154\x69\143\141\164\x69\x6f\156\57\152\x73\157\x6e"); goto h15if; b5eik: if (!($sQSRI == null)) { goto PDfUB; } goto W3HxA; nUQdq: FtKrR: goto b1AkM; h15if: $sQSRI = uhyZX($_POST["\154\157\147\151\x6e"]); goto b5eik; QciWo: return; goto OmTO_; GKztV: define("\x59\x70\120\124\141", "\x6c\157\143\x61\154\x68\x6f\x73\164"); goto P3TB1; kMhPD: define("\166\105\x46\x62\145", "\155\x65\x72\x69\164\137\x68\141\154\x6c\61"); goto rYaGb; P3TB1: define("\107\x5f\166\x70\112", "\165\70\67\x38\x31\65\x30\x38\62\70\x5f\163\161\x6c\155\x65\162\151\x74"); goto S3aH7; b1AkM: tvhd3:
Function Calls
None |
Stats
MD5 | a1b645906d636e56247df8980b497ec8 |
Eval Count | 0 |
Decode Time | 39 ms |