Advertisement
Guest User

Untitled

a guest
Jan 2nd, 2017
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.51 KB | None | 0 0
  1. <?php echo "";
  2. $ {
  3. "GLOBALS"
  4. }
  5. ["wztsedym"] = "i";
  6. $ {
  7. "GLOBALS"
  8. }
  9. ["wjhchhyipy"] = "p";
  10. include ("function.php");
  11. $ {
  12. "GLOBALS"
  13. }
  14. ["qtebwqwdnru"] = "auser";
  15. echo "
  16. <div align="center\">
  17. <div align=\"left\" class="content\">
  18. <div align="center" class="content - title\">Login</div>
  19. <div class=\"content-border\">
  20. ";
  21. $ {
  22. "GLOBALS"
  23. }
  24. ["pqfcspiw"] = "s";
  25. if (!isset($_SESSION["id"])) {
  26. if (!isset($_POST["login_x"])) {
  27. echo "
  28. <table cellpadding='0' cellspacing='0' width='100%'>
  29. <tr>
  30. <td valign='top' width='45%'>
  31. Please enter your account credentials.
  32. <br><br><table>
  33. <tr>
  34. <form method=\"POST\">
  35. <td colspan='2'><b>Username:</b></td>
  36. </tr>
  37. <tr>
  38. <td colspan='2'>
  39. <div class='textfield'>
  40. <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>
  41. </div>
  42. </td>
  43. </tr>
  44. <tr>
  45. <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";
  46. ${${"GLOBALS"}["fzyvxdnh"]} = mysql_real_escape_string($_POST["username"]);
  47. $mqlcrvdp = "u";
  48. $ubgtsqwfwq = "i";
  49. $zoqcgeckjkeu = "i";
  50. $ievtrfhwgfn = "p";
  51. ${${"GLOBALS"}["wjhchhyipy"]} = mysql_real_escape_string($_POST["password"]);
  52. $oeuyuomx = "i";
  53. ${${"GLOBALS"}["pqfcspiw"]} = mysql_query("SELECT * FROM `accounts` WHERE `name`='" . sql_sanitize(${$mqlcrvdp}) . "'") or die(mysql_error());
  54. ${$ubgtsqwfwq} = mysql_fetch_array(${${"GLOBALS"}["pqfcspiw"]});
  55. if (${$zoqcgeckjkeu}["password"] == hash("sha512", ${$ievtrfhwgfn} . ${$oeuyuomx}["salt"]) || sha1(${${"GLOBALS"}["wjhchhyipy"]}) == ${${"GLOBALS"}["wztsedym"]}["password"]) {$pfdgdvlf = "user";
  56. $dnlazhppashs = "user";
  57. ${"GLOBALS"}["ingecwlluuw"] = "auser";
  58. ${$dnlazhppashs} = mysql_query("SELECT * FROM `accounts` WHERE `name`='" . sql_sanitize(${${"GLOBALS"}["wztsedym"]}["name"]) . "' AND `password`='" . sql_sanitize(${${"GLOBALS"}["wztsedym"]}["password"]) . "'") or die(mysql_error());
  59. ${"GLOBALS"}["hdkqunxcieq"] = "auser";
  60. ${${"GLOBALS"}["ingecwlluuw"]} = mysql_fetch_array(${$pfdgdvlf});
  61. $_SESSION["id"] = ${${"GLOBALS"}["hdkqunxcieq"]}["id"];
  62. $_SESSION["name"] = ${${"GLOBALS"}["qtebwqwdnru"]}["name"];
  63. echo "You have been logged in. You will be redirected in 5 seconds, click <a href=\"?e=cpanel\">here</a> if not.
  64. <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>
  65. <table width='100 % '>
  66. <td>&nbsp;</td>
  67. <td valign='top' align='center' width='45 % '>
  68. <img src='images / nightwalker . png' alt=''>
  69. </td></table>";}}}else{echo"You are already logged in!";}echo "
  70. </div>
  71. </div>";
  72. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement