Skip to content

Commit ea7b702

Browse files
committed
index_create
1 parent 881c69d commit ea7b702

File tree

6 files changed

+133
-0
lines changed

6 files changed

+133
-0
lines changed

assets/bootstrap/css/bootstrap.min.css

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/bootstrap/js/bootstrap.min.js

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/styles.css

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
body {
2+
font-family: 'Arial', sans-serif;
3+
background-color: #f9f9f9;
4+
color: #333;
5+
margin: 0;
6+
padding: 20px;
7+
}
8+
9+
h1 {
10+
text-align: center;
11+
color: #333;
12+
margin-bottom: 40px;
13+
}
14+
15+
.levels {
16+
display: flex;
17+
flex-direction: column;
18+
align-items: center;
19+
}
20+
21+
.level-link {
22+
margin: 10px 0;
23+
padding: 12px 20px;
24+
border: 1px solid #ddd;
25+
text-decoration: none;
26+
color: #333;
27+
background-color: #fff;
28+
width: 50%;
29+
text-align: left;
30+
border-radius: 5px;
31+
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
32+
transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
33+
}
34+
35+
.level-link:hover {
36+
background-color: #f1f1f1;
37+
border-color: #ccc;
38+
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
39+
}
40+
41+
.footer {
42+
margin-top: 40px;
43+
text-align: center;
44+
color: #999;
45+
}
46+
47+
.footer a {
48+
color: #666;
49+
text-decoration: none;
50+
border-bottom: 1px dotted #666;
51+
transition: color 0.3s, border-bottom-color 0.3s;
52+
}
53+
54+
.footer a:hover {
55+
color: #333;
56+
border-bottom-color: #333;
57+
}
58+
59+
.navbar-brand img {
60+
width: 26px;
61+
height: 26px;
62+
}
63+
64+
.navbar .btn img {
65+
width: 24px;
66+
height: 24px;
67+
vertical-align: sub;
68+
}

assets/img/tj.svg

Lines changed: 5 additions & 0 deletions
Loading

assets/js/jquery.min.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.php

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="UTF-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<title>从 0 开始的PHP反序列化引导靶场</title>
8+
<link rel="stylesheet" href="assets/bootstrap/css/bootstrap.min.css">
9+
<link rel="stylesheet" href="assets/css/styles.css">
10+
11+
</head>
12+
13+
<body>
14+
<nav class="navbar navbar-light navbar-expand-md py-3">
15+
<div class="container">
16+
<a class="navbar-brand d-flex align-items-center" href="#"><img src="assets/img/tj.svg"><span>&nbsp;探姬</span></a>
17+
</div>
18+
</nav>
19+
<h1>从 0 开始的PHP反序列化入门靶场</h1>
20+
<div class="levels">
21+
<a class="level-link" href="level1/index.php">第一关: 类的实例化</a>
22+
<a class="level-link" href="level2/index.php">第二关: 对象中值的传递</a>
23+
<a class="level-link" href="level3/index.php">第三关: 对象中值的权限</a>
24+
<a class="level-link" href="level4/index.php">第四关: 序列化初体验</a>
25+
<a class="level-link" href="level5/index.php">第五关: 序列化的普通值规则</a>
26+
<a class="level-link" href="level6/index.php">第六关: 序列化的权限修饰规则</a>
27+
<a class="level-link" href="level7/index.php">第七关: 实例化和反序列化</a>
28+
<a class="level-link" href="level8/index.php">第八关: 构造函数和析构函数以及GC机制</a>
29+
<a class="level-link" href="level9/index.php">第九关: 构造函数的后门</a>
30+
<a class="level-link" href="level10/index.php">第十关: __wakeup()</a>
31+
<a class="level-link" href="level11/index.php">第十一关: __wakeup() CVE-2016-7124</a>
32+
<a class="level-link" href="level12/index.php">第十二关: __sleep()</a>
33+
<a class="level-link" href="level13/index.php">第十三关: __toString()</a>
34+
<a class="level-link" href="level14/index.php">第十四关: __invoke()</a>
35+
<a class="level-link" href="level15/index.php">第十五关: POP链前置</a>
36+
<a class="level-link" href="level16/index.php">第十六关: POP链构造</a>
37+
<a class="level-link" href="level17/index.php">第十七关: 字符串逃逸基础-无中生有</a>
38+
</div>
39+
<div class="footer">
40+
<p>© 2024 Probius | <a href="https://github.com/ProbiusOfficial/PHPSerialize-labs">GitHub</a></p>
41+
</div>
42+
<script src="assets/js/jquery.min.js"></script>
43+
<script src="assets/bootstrap/js/bootstrap.min.js"></script>
44+
</body>
45+
46+
</html>

0 commit comments

Comments
 (0)