forked from academind/xss-example
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
34 lines (34 loc) · 1.13 KB
/
index.html
File metadata and controls
34 lines (34 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Cross-Site Scripting (XSS) Attacks</title>
<link rel="stylesheet" href="style.css" />
<script src="app.js" defer></script>
</head>
<body>
<div class="pageHeader">
<h1 class="header">XSS-Demo Site</h1>
<h2 class="headerDescription">Here you can test Cross-Site-Scripting</h2>
</div>
<section id="user-input">
<form>
<div class="form-control">
<label for="user-message">Your Message</label>
<textarea id="user-message" name="user-message"></textarea>
</div>
<div class="form-control">
<label for="message-image">Message Image</label>
<input type="text" id="message-image" name="message-image" />
</div>
<button type="submit">Send Message</button>
<button class="clearSection" type="button" onclick="clearSection()">Clear</button>
</form>
</section>
<section id="user-messages">
<ul></ul>
</section>
<div id="alert"></div>
</body>
</html>