-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
314 lines (267 loc) · 11.4 KB
/
index.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
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
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- 上述3个meta标签*必须*放在最前面,任何其他内容都*必须*跟随其后! -->
<title>Web安全学习</title>
<!-- Bootstrap -->
<link href="js/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<style>
/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */
body {
padding-bottom: 40px;
color: #5a5a5a;
}
/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */
/* Special class on .container surrounding .navbar, used for positioning it into place. */
.navbar-wrapper {
position: absolute;
top: 0;
right: 0;
left: 0;
z-index: 20;
}
/* Flip around the padding for proper display in narrow viewports */
.navbar-wrapper > .container {
padding-right: 0;
padding-left: 0;
}
.navbar-wrapper .navbar {
padding-right: 15px;
padding-left: 15px;
}
.navbar-wrapper .navbar .container {
width: auto;
}
/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */
/* Carousel base class */
.carousel {
height: 500px;
margin-bottom: 60px;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
z-index: 10;
}
/* Declare heights because of positioning of img element */
.carousel .item {
height: 500px;
background-color: #777;
}
.carousel-inner > .item > img {
position: absolute;
top: 0;
left: 0;
min-width: 100%;
height: 500px;
}
/* MARKETING CONTENT
-------------------------------------------------- */
/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
margin-bottom: 20px;
text-align: center;
}
.marketing h2 {
font-weight: normal;
}
.marketing .col-lg-4 p {
margin-right: 10px;
margin-left: 10px;
}
/* Featurettes
------------------------- */
.featurette-divider {
margin: 80px 0; /* Space out the Bootstrap <hr> more */
}
/* Thin out the marketing headings */
.featurette-heading {
font-weight: 300;
line-height: 1;
letter-spacing: -1px;
}
/* RESPONSIVE CSS
-------------------------------------------------- */
@media (min-width: 768px) {
/* Navbar positioning foo */
.navbar-wrapper {
margin-top: 20px;
}
.navbar-wrapper .container {
padding-right: 15px;
padding-left: 15px;
}
.navbar-wrapper .navbar {
padding-right: 0;
padding-left: 0;
}
/* The navbar becomes detached from the top, so we round the corners */
.navbar-wrapper .navbar {
border-radius: 4px;
}
/* Bump up size of carousel content */
.carousel-caption p {
margin-bottom: 20px;
font-size: 21px;
line-height: 1.4;
}
.featurette-heading {
font-size: 50px;
}
}
@media (min-width: 992px) {
.featurette-heading {
margin-top: 120px;
}
}
</style>
</head>
<body>
<div class="navbar-wrapper">
<div class="container">
<nav class="navbar navbar-inverse navbar-static-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">静静学安全</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="#">首页儿~</a></li>
<li><a href="http://www.xiumima.com" target="_blank">嗅密码(社工)</a></li>
<li><a href="http://www.cmd5.com/" target="_blank">Hash在线解密</a></li>
<!--<li><a href="http://git.d1studio.com:8080/WebGoat/login.mvc" target="_blank">WebGoat</a></li>-->
<!--<li><a href="http://ws.d1studio.com:82/" target="_blank">Bricks</a></li>-->
<!--<li><a href="http://ws.d1studio.com:83/" target="_blank">Dvwa</a></li>-->
<!--<li><a href="http://ws.d1studio.com:81/" id="download_btn" target="_blank">资料下载</a></li>-->
<li><a href="tips.html" id=" " target="_blank">小贴士们</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">PHP大马哪里找~<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="http://www.zjjv.com/" target="_blank">ZJJV</a></li>
<li><a href="https://github.com/b374k/b374k/" target="_blank">b374k</a></li>
<!--<li role="separator" class="divider"></li>-->
<!--<li class="dropdown-header">Nav header</li>-->
<!--<li><a href="#">One more separated link</a></li>-->
</ul>
</li>
</ul>
</div>
</div>
</nav>
</div>
</div>
<div id="myCarousel" class="carousel slide" data-ride="carousel">
<!-- Indicators -->
<ol class="carousel-indicators">
<!--<li data-target="#myCarousel" data-slide-to="0" class=""></li>-->
<li data-target="#myCarousel" data-slide-to="1" class="active"></li>
<!--<li data-target="#myCarousel" data-slide-to="2" class=""></li>-->
</ol>
<div class="carousel-inner" role="listbox">
<div class="item active">
<img class="second-slide" src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==" alt="Second slide">
<div class="container">
<div class="carousel-caption">
<h1>每日小贴士 第10期 ~</h1>
<p style="text-align: center">投票神马的会有IP地址限制,但是这个限制真的有用吗?</p>
<p style="text-align: left"><a href="https://github.com/top-think/thinkphp/blob/5036e0b413f1dbf8f4235f88000f62008f7bd9a7/ThinkPHP/Common/functions.php" target="_blank
">ThinkPHP的IP获取函数get_client_ip</a></p>
<p style="text-align: left"> HTTP_X_FORWARDED_FOR HTTP_CLIENT_IP REMOTE_ADDR<br>
在PHP中是有这3个IP在HTTP协议中有x_forwarded_for,client_ip是可以伪造的,remote_addr使用代理也是可以伪造的
</p>
</div>
</div>
</div>
</div>
<a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#myCarousel" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
<div class="container marketing">
<div class="row">
<div class="col-lg-10">
<!--<img style="width: 100%;" src="images/st.jpg" class="img-thumbnail" />-->
</div>
<div class="col-lg-2">
<a class="btn btn-block btn-primary" target="_blank" href="http://drops.wooyun.org/">乌云知识库</a>
<a class="btn btn-block btn-primary" target="_blank" href="http://www.cnblogs.com/xuanhun/p/3910134.html">Google Hack</a>
<a class="btn btn-block btn-primary" target="_blank" href="https://github.com/PenturaLabs/Linux_Exploit_Suggester">Linux Exp</a>
</div>
</div>
<hr class="featurette-divider">
<!-- FOOTER -->
<footer>
<p class="pull-right"><a href="#">回首页儿~</a></p>
<p>Forever © Company, Inc. · <a href="#">C</a> · <a href="#">T</a></p>
</footer>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="http://cdn.bootcss.com/jquery/1.11.3/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap/js/bootstrap.min.js"></script>
<script src="js/layer/layer.js"></script>
<script>
$(function(){
$('#q1,#question_2').click(function(){
layer.confirm('你还犯罪吗??', {
btn: ['硬','软'] //按钮
}, function(){
layer.msg('那就赶紧用代理呀~ >_<#', {icon: 1});
}, function(){
layer.msg('求去你用代理吧~ ~^o^~', {icon: 1});
});
})
$('#question_3').click(function(){
layer.msg("朕很欣慰~");
})
$('#question_4').click(function(){
layer.msg("你是最棒的~~~~~~");
})
$('#download_btn').click(function () {
layer.open({
type: 2,
title: '下载页面',
shadeClose: true,
shade: 0.8,
area: ['90%', '500px'],
content: $(this).attr('href') //iframe的url
});
return false;
})
$('#show_big').click(function () {
layer.open({
type: 1,
title: false,
closeBtn: false,
shadeClose: true,
skin: 'yourclass',
content: '<img style="width: 400px;height: 400px;" src="http://www.cz88.net/images/2013/8/161256094062.jpg" class="img-thumbnail" />'
});
return false;
})
})
</script>
</body>