-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path5_gate5
181 lines (177 loc) · 5.07 KB
/
5_gate5
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
1.第五个的入口是http://monyer.com/game/game1/3BHE1.php
2.下载源码。
<!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(the 5 level)</title>
<script type="text/javascript">
function check(){
window.location.href = document.getElementById("txt").value + ".php";
}
</script>
</head>
<body>
<div align="center">
<p>欢迎您来到第5关</p>
<p>请输入密码进入第6关:
<input type="text" id="txt" value="">
<input type="button" onClick="check()" value="提交">
</p>
<p>密码在哪儿?额,我藏在页面里了哦!</p>
</div>
</body>
</html>
3.分析:
从页面来看没有什么有用的信息啦。
能看的地方都看过了,看来没有思路了。可是不要忘记浏览器的同学是http协议的。我们还没有看过http协议的相关信息。
就是http头,获取http头的相关信息如下:获取头信息的时候要查看所有字段,不要只看标准的。
{
"log": {
"version": "1.2",
"creator": {
"name": "WebInspector",
"version": "537.36"
},
"pages": [
{
"startedDateTime": "2014-05-07T06:59:53.660Z",
"id": "page_1",
"title": "http://monyer.com/game/game1/3BHE1.php",
"pageTimings": {
"onContentLoad": 202.00014114379883,
"onLoad": 202.00014114379883
}
}
],
"entries": [
{
"startedDateTime": "2014-05-07T06:59:53.660Z",
"time": 138.0000114440918,
"request": {
"method": "GET",
"url": "http://monyer.com/game/game1/3BHE1.php",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Accept-Encoding",
"value": "gzip,deflate,sdch"
},
{
"name": "Host",
"value": "monyer.com"
},
{
"name": "Accept-Language",
"value": "en-US,en;q=0.8,zh-CN;q=0.6"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.131 Safari/537.36"
},
{
"name": "Accept",
"value": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"
},
{
"name": "Cache-Control",
"value": "max-age=0"
},
{
"name": "Cookie",
"value": "PHPSESSID=t9oap44maddevasr8qh8r8tlh4"
},
{
"name": "Proxy-Connection",
"value": "keep-alive"
}
],
"queryString": [],
"cookies": [
{
"name": "PHPSESSID",
"value": "t9oap44maddevasr8qh8r8tlh4",
"expires": null,
"httpOnly": false,
"secure": false
}
],
"headersSize": 463,
"bodySize": 0
},
"response": {
"status": 200,
"statusText": "OK",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Date",
"value": "Wed, 07 May 2014 07:00:19 GMT"
},
{
"name": "Content-Encoding",
"value": "gzip"
},
{
"name": "Vary",
"value": "Accept-Encoding"
},
{
"name": "Server",
"value": "nginx/1.0.15"
},
{
"name": "Transfer-Encoding",
"value": "chunked"
},
{
"name": "monyer",
"value": "the password for the next level is asdf"
},
{
"name": "Content-Type",
"value": "text/html"
},
{
"name": "Proxy-Connection",
"value": "Keep-Alive"
},
{
"name": "Connection",
"value": "Keep-Alive"
}
],
"cookies": [],
"content": {
"size": 673,
"mimeType": "text/html",
"compression": 156
},
"redirectURL": "",
"headersSize": 281,
"bodySize": 517
},
"cache": {},
"timings": {
"blocked": 3.0000000006111804,
"dns": -1,
"connect": 1.0000000002037268,
"send": 1.0000000002037268,
"wait": 132.0000000014261,
"receive": 1.0000114416470751,
"ssl": -1
},
"connection": "73230",
"pageref": "page_1"
}
]
}
}
======================================================华丽的风格线=====================================================
{
"name": "monyer",
"value": "the password for the next level is asdf
},
看来我们已经得到密码了。
asdf.php