-
Notifications
You must be signed in to change notification settings - Fork 1
/
3_gate3
45 lines (39 loc) · 2.36 KB
/
3_gate3
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
http://monyer.com/game/game1/424178.php是第三的入口地址。
1.下载源码
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="robots" content="noindex,nofollow">
<title>梦之光芒/Monyer——Monyer's Game(第3关)</title>
<script type="text/javascript">
eval(String.fromCharCode(102,117,110,99,116,105,111,110,32,99,104,101,99,107,40,41,123,13,10,09,118,97,114,32,97,32,61,32,39,100,52,103,39,59,13,10,09,105,102,40,100,111,99,117,109,101,110,116,46,103,101,116,69,108,101,109,101,110,116,66,121,73,100,40,39,116,120,116,39,41,46,118,97,108,117,101,61,61,97,41,123,13,10,09,09,119,105,110,100,111,119,46,108,111,99,97,116,105,111,110,46,104,114,101,102,61,97,43,34,46,112,104,112,34,59,13,10,09,125,101,108,115,101,123,13,10,09,09,97,108,101,114,116,40,34,23494,30721,38169,35823,34,41,59,13,10,09,125,13,10,125));
</script>
</head>
<body>
<div align="center">
<p>欢迎您来到第3关</p>
<p>请输入密码进入第4关:
<input type="text" id="txt" value="">
<input type="button" onClick="check()" value="提交">
</p>
<p>恭喜恭喜!顺便问一下:第2关有多少人是用计算器算出来的?嘿嘿</p>
</div>
</body>
</html>
2.关键代码还是js代码。
可是这个代码怎么看不懂呀。
没有关系还是让浏览器来告诉我们怎么回事吧。
老规矩到w3school执行查看结果。或者自己写个网页。
<html>
<body>
<script type="text/javascript">
document.write( (String.fromCharCode(102,117,110,99,116,105,111,110,32,99,104,101,99,107,40,41,123,13,10,09,118,97,114,32,97,32,61,32,39,100,52,103,39,59,13,10,09,105,102,40,100,111,99,117,109,101,110,116,46,103,101,116,69,108,101,109,101,110,116,66,121,73,100,40,39,116,120,116,39,41,46,118,97,108,117,101,61,61,97,41,123,13,10,09,09,119,105,110,100,111,119,46,108,111,99,97,116,105,111,110,46,104,114,101,102,61,97,43,34,46,112,104,112,34,59,13,10,09,125,101,108,115,101,123,13,10,09,09,97,108,101,114,116,40,34,23494,30721,38169,35823,34,41,59,13,10,09,125,13,10,125))
);
</script>
</body>
</html>
把被编码部分代码显示出来。打开这个网页就可以看到:
function check(){ var a = 'd4g'; if(document.getElementById('txt').value==a){ window.location.href=a+".php"; }else{ alert("密码错误"); } }
看来我们已经拿到第四关的入场券啦。
3.第四关的地址就是:d4g.php