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 goto BLQyQ; BBeS9: echo "\x20\x20\40\40"; goto YP6ZD; rUF1A: if (isset($_POST["\x..

Decoded Output download

<?php 
 
goto BLQyQ; BBeS9: echo "    "; goto YP6ZD; rUF1A: if (isset($_POST["submit"])) { goto Vjnio; L8k72: if ($key !== $config["key"]) { goto T0CEX; baEi2: exit; goto fdelD; XsVgb: header("Location: login.php"); goto baEi2; T0CEX: $_SESSION["error"] = $error; goto XsVgb; fdelD: } goto m9_pQ; Vjnio: $key = clear($_POST["key"]); goto L8k72; dMd12: header("Location: index.php"); goto h27yA; m9_pQ: $_SESSION["login"] = $key; goto dMd12; h27yA: exit; goto GWO4S; GWO4S: } goto BBeS9; Zvtfg: require "inc/config.php"; goto DMdJp; DMdJp: $error = "S I L E N C E   I S   G O L D E N  !"; goto AwYDt; BLQyQ: session_start(); goto Zvtfg; TjmKI: function clear($param) { if (!preg_match("/^[A-Za-z0-9]+$/", $param)) { header("HTTP/1.1 500 Internal Server Error"); exit; } return $param; } goto rUF1A; YP6ZD: if (isset($_SESSION["error"])) { goto u1PXn; B0Wld: echo "<script> location.replace("index.php"); </script>"; goto HYPmi; QpgrX: echo "<script>alert('{$error}')</script>"; goto B0Wld; u1PXn: $error = $_SESSION["error"]; goto QpgrX; HYPmi: } else { goto OJ_xi; OJ_xi: echo "<form method="post">"; goto GVpUH; ZHF3F: echo "<input style="border:none; outline: none; width:80%;" type="password" id="key" name="key" placeholder="| Spam Big" autocomplete="off" spellcheck="false"><br>"; goto xOjx_; GVpUH: echo "<button style="border:none; outline: none;" type="submit" name="submit">>></button>"; goto ZHF3F; xOjx_: echo "</form>"; goto kxEmz; kxEmz: } goto w6bH3; AwYDt: if (isset($_SESSION["login"])) { header("Location: index.php"); exit; } goto TjmKI; w6bH3: unset($_SESSION["error"]); 
 
 ?>

Did this file decode correctly?

Original Code

<?php

goto BLQyQ; BBeS9: echo "\x20\x20\40\40"; goto YP6ZD; rUF1A: if (isset($_POST["\x73\x75\142\x6d\x69\x74"])) { goto Vjnio; L8k72: if ($key !== $config["\153\145\171"]) { goto T0CEX; baEi2: exit; goto fdelD; XsVgb: header("\x4c\x6f\x63\x61\x74\151\x6f\x6e\72\x20\154\x6f\x67\151\156\x2e\160\150\160"); goto baEi2; T0CEX: $_SESSION["\145\162\162\x6f\162"] = $error; goto XsVgb; fdelD: } goto m9_pQ; Vjnio: $key = clear($_POST["\153\x65\x79"]); goto L8k72; dMd12: header("\114\157\143\141\x74\151\x6f\156\72\40\x69\156\x64\145\170\x2e\160\x68\x70"); goto h27yA; m9_pQ: $_SESSION["\x6c\x6f\147\x69\156"] = $key; goto dMd12; h27yA: exit; goto GWO4S; GWO4S: } goto BBeS9; Zvtfg: require "\151\x6e\143\x2f\x63\x6f\156\146\x69\x67\x2e\x70\150\160"; goto DMdJp; DMdJp: $error = "\x53\40\x49\x20\114\x20\105\40\116\x20\x43\40\105\x20\x20\x20\111\x20\x53\x20\x20\40\x47\x20\x4f\40\x4c\40\104\x20\x45\x20\116\x20\x20\x21"; goto AwYDt; BLQyQ: session_start(); goto Zvtfg; TjmKI: function clear($param) { if (!preg_match("\57\x5e\133\101\55\x5a\141\55\x7a\60\x2d\x39\x5d\x2b\44\57", $param)) { header("\110\x54\124\x50\57\61\x2e\x31\40\x35\60\60\40\111\x6e\x74\145\x72\156\x61\154\40\123\145\x72\x76\x65\x72\40\105\162\162\157\x72"); exit; } return $param; } goto rUF1A; YP6ZD: if (isset($_SESSION["\145\162\162\157\162"])) { goto u1PXn; B0Wld: echo "\x3c\x73\x63\x72\x69\x70\x74\x3e\x20\x6c\x6f\x63\x61\x74\x69\x6f\x6e\x2e\x72\x65\x70\x6c\x61\x63\x65\x28\x22\x69\x6e\x64\x65\x78\x2e\x70\x68\x70\x22\x29\x3b\x20\x3c\x2f\x73\x63\x72\x69\x70\x74\x3e"; goto HYPmi; QpgrX: echo "\x3c\163\x63\162\x69\160\164\x3e\x61\x6c\145\x72\164\50\x27{$error}\x27\x29\74\x2f\163\143\x72\x69\x70\x74\76"; goto B0Wld; u1PXn: $error = $_SESSION["\x65\x72\x72\x6f\162"]; goto QpgrX; HYPmi: } else { goto OJ_xi; OJ_xi: echo "\74\146\157\x72\x6d\40\155\x65\x74\x68\x6f\144\75\x22\160\x6f\163\164\x22\76"; goto GVpUH; ZHF3F: echo "\x3c\x69\156\160\165\x74\x20\x73\164\x79\154\145\x3d\x22\142\157\x72\144\x65\162\72\156\157\x6e\x65\73\40\x6f\165\x74\x6c\x69\156\145\72\40\x6e\157\x6e\x65\73\40\x77\x69\x64\x74\150\72\x38\x30\x25\x3b\42\x20\x74\171\160\x65\75\x22\160\141\163\163\x77\x6f\x72\x64\42\40\x69\x64\x3d\x22\153\145\171\42\x20\x6e\x61\x6d\x65\x3d\x22\153\x65\171\x22\x20\x70\154\x61\x63\145\150\157\154\x64\x65\162\x3d\x22\174\40\x53\160\141\x6d\40\102\x69\x67\x22\40\141\165\x74\157\x63\x6f\155\x70\154\145\164\145\75\42\157\x66\x66\x22\x20\x73\x70\x65\x6c\154\143\x68\145\143\153\x3d\x22\x66\141\154\x73\x65\42\x3e\x3c\x62\162\x3e"; goto xOjx_; GVpUH: echo "\74\x62\165\164\164\157\156\x20\163\164\x79\x6c\x65\x3d\42\142\x6f\162\x64\145\x72\72\156\157\x6e\x65\73\40\x6f\165\x74\154\151\x6e\145\72\x20\156\157\156\x65\73\42\x20\164\171\x70\145\x3d\x22\x73\x75\x62\x6d\151\x74\x22\40\156\141\x6d\145\x3d\x22\x73\x75\x62\x6d\x69\x74\42\x3e\76\76\74\57\142\165\164\164\x6f\x6e\76"; goto ZHF3F; xOjx_: echo "\74\x2f\x66\157\162\155\76"; goto kxEmz; kxEmz: } goto w6bH3; AwYDt: if (isset($_SESSION["\154\157\147\x69\x6e"])) { header("\114\157\x63\x61\x74\151\x6f\x6e\72\x20\151\x6e\144\x65\170\56\160\150\160"); exit; } goto TjmKI; w6bH3: unset($_SESSION["\145\162\162\157\x72"]);

Function Calls

None

Variables

None

Stats

MD5 e66dab02fe955cb61fdf22aab47600e7
Eval Count 0
Decode Time 58 ms