-
Notifications
You must be signed in to change notification settings - Fork 15
/
user.html
executable file
·73 lines (71 loc) · 1.53 KB
/
user.html
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!doctype html>
<html>
<head>
<title>新页面测试</title>
<meta charset="utf-8" />
<style>
fieldset {
margin-bottom: 20px;
}
form > div {
padding-top: 5px;
}
</style>
</head>
<body>
<h2>该页面本没有 XSS</h2>
<fieldset>
<legend>弹窗测试</legend>
<button id="btnPopup">弹窗</button>
<script>
btnPopup.onclick = function() {
open('detail_3.html');
};
</script>
</fieldset>
<fieldset>
<legend>表单测试</legend>
<form action="cgi.html" method="get" enctype="multipart/form-data">
<div>
帐号:
<input type="text" name="user" value="jack">
</div>
<div>
密码:
<input type="password" name="pwd" value="123456">
</div>
<div>
性别:
<label for="sex-male">男</label>
<input type="radio" id="sex-male" name="sex" value="male" checked>
<label for="sex-female">女</label>
<input type="radio" id="sex-female" name="sex" value="female">
</div>
<div>
选区:
<select name="zone">
<option>TEST 1</option>
<option>TEST 2</option>
<option>TEST 3</option>
</select>
</div>
<div>
简介:
<textarea name="desc" placeholder="写点什么吧"></textarea>
</div>
<div>
头像:
<input type="file" name="avatar">
</div>
<div>
<input type="checkbox" name="accept" id="accept">
<label for="accept">同意</label>
</div>
<div>
<input type="submit">
<input type="reset">
</div>
</form>
</fieldset>
</body>
</html>