Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php echo "";
- $ {
- "GLOBALS"
- }
- ["wztsedym"] = "i";
- $ {
- "GLOBALS"
- }
- ["wjhchhyipy"] = "p";
- include ("function.php");
- $ {
- "GLOBALS"
- }
- ["qtebwqwdnru"] = "auser";
- echo "
- <div align="center\">
- <div align=\"left\" class="content\">
- <div align="center" class="content - title\">Login</div>
- <div class=\"content-border\">
- ";
- $ {
- "GLOBALS"
- }
- ["pqfcspiw"] = "s";
- if (!isset($_SESSION["id"])) {
- if (!isset($_POST["login_x"])) {
- echo "
- <table cellpadding='0' cellspacing='0' width='100%'>
- <tr>
- <td valign='top' width='45%'>
- Please enter your account credentials.
- <br><br><table>
- <tr>
- <form method=\"POST\">
- <td colspan='2'><b>Username:</b></td>
- </tr>
- <tr>
- <td colspan='2'>
- <div class='textfield'>
- <div><input class=\"cleardefault\" type=\"text\" name="username\" maxlength=\"12" / > < / div > < / div > < / td > < / tr > < tr > < td > < b > Password: < / b > < / td > < tdalign = 'left' > < ahref = '#'target = '_blank' > Forgotyourpassword ? < / a > < / td > < / tr > < tr > < tdcolspan = '2' > < divclass = 'textfield' > < div > < inputclass = "cleardefault"type = "password"name = "password\" /></div>
- </div>
- </td>
- </tr>
- <tr>
- <td colspan='2'><input type="image\" src="images / btn - login . png\" name="login" value="Login\" alt=\"login" / > < / form > < / td > < / tr > < / table > < / td > < td > & nbsp; < / td > < tdvalign = 'top'align = 'center'width = '45%' > < imgsrc = 'images/nightwalker.png'alt = '' > < / td > < / tr > < / table > ";}else{${"GLOBALS"}["fzyvxdnh"] = "u";
- ${${"GLOBALS"}["fzyvxdnh"]} = mysql_real_escape_string($_POST["username"]);
- $mqlcrvdp = "u";
- $ubgtsqwfwq = "i";
- $zoqcgeckjkeu = "i";
- $ievtrfhwgfn = "p";
- ${${"GLOBALS"}["wjhchhyipy"]} = mysql_real_escape_string($_POST["password"]);
- $oeuyuomx = "i";
- ${${"GLOBALS"}["pqfcspiw"]} = mysql_query("SELECT * FROM `accounts` WHERE `name`='" . sql_sanitize(${$mqlcrvdp}) . "'") or die(mysql_error());
- ${$ubgtsqwfwq} = mysql_fetch_array(${${"GLOBALS"}["pqfcspiw"]});
- if (${$zoqcgeckjkeu}["password"] == hash("sha512", ${$ievtrfhwgfn} . ${$oeuyuomx}["salt"]) || sha1(${${"GLOBALS"}["wjhchhyipy"]}) == ${${"GLOBALS"}["wztsedym"]}["password"]) {$pfdgdvlf = "user";
- $dnlazhppashs = "user";
- ${"GLOBALS"}["ingecwlluuw"] = "auser";
- ${$dnlazhppashs} = mysql_query("SELECT * FROM `accounts` WHERE `name`='" . sql_sanitize(${${"GLOBALS"}["wztsedym"]}["name"]) . "' AND `password`='" . sql_sanitize(${${"GLOBALS"}["wztsedym"]}["password"]) . "'") or die(mysql_error());
- ${"GLOBALS"}["hdkqunxcieq"] = "auser";
- ${${"GLOBALS"}["ingecwlluuw"]} = mysql_fetch_array(${$pfdgdvlf});
- $_SESSION["id"] = ${${"GLOBALS"}["hdkqunxcieq"]}["id"];
- $_SESSION["name"] = ${${"GLOBALS"}["qtebwqwdnru"]}["name"];
- echo "You have been logged in. You will be redirected in 5 seconds, click <a href=\"?e=cpanel\">here</a> if not.
- <meta http-equiv='refresh' content='5;url=\"?e=cpanel"'>";}else{echo"The username or password is incorrect.<br><br><a href=\"?e=login\"><img src='images / btn - back . png' alt='Bacl'></a>
- <table width='100 % '>
- <td> </td>
- <td valign='top' align='center' width='45 % '>
- <img src='images / nightwalker . png' alt=''>
- </td></table>";}}}else{echo"You are already logged in!";}echo "
- </div>
- </div>";
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement