forked from Legimity/VulnMatrix
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreport.html
More file actions
419 lines (371 loc) · 15.9 KB
/
Copy pathreport.html
File metadata and controls
419 lines (371 loc) · 15.9 KB
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
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>测试报告</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css">
</head>
<body>
<!-- 导航栏 -->
<nav class="navbar is-primary" role="navigation" aria-label="main navigation" style="min-height: 4rem;">
<div class="navbar-brand">
<a class="navbar-item" href="">
<img src="https://www.seu.edu.cn/_upload/tpl/0b/59/2905/template2905/images/mlogo.png" width="100"
height="88">
</a>
<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false"
data-target="navbarBasicExample">
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
</a>
</div>
<div id="navbarBasicExample" class="navbar-menu">
<div class="navbar-start">
<a class="navbar-item">
主页
</a>
<div class="navbar-item has-dropdown">
<a class="navbar-link">
更多
</a>
<div class="navbar-dropdown">
<a class="navbar-item">
About
</a>
<a class="navbar-item">
Contact
</a>
<hr class="navbar-divider">
<a class="navbar-item">
Report an issue
</a>
</div>
</div>
</div>
</div>
</nav>
<!-- 主体 -->
<main style="padding: 0px 50px; margin-top: 60px; box-sizing: border-box;">
<div class="container">
<h1 class="title">渗透测试报告</h1>
<!-- Record -->
<div class="titleContent">
<div class="title2">127.0.0.1:8080</div>
</div>
<!-- 按照目录划分 -->
<article class="message">
<div class="message-header">
<p>/vul/rce/rce_eval.php</p>
<button class="delete" aria-label="delete"></button>
</div>
<div class="message-body">
<table class="table is-striped is-narrow is-hoverable is-fullwidth">
<thead></thead>
<tbody>
<tr>
<th>漏洞类型</th>
<td>
<pre>通用型漏洞/cmd-injection</pre>
</td>
</tr>
<tr>
<th>漏洞描述</th>
<td>
<pre>CMD Injection 漏洞是一种安全漏洞,它允许攻击者在应用程序执行的命令中注入额外的命令或选项。当应用程序未能正确验证或清理用户输入,并且这些输入被用于构建
系统命令时,就会发生这种漏洞。攻击者可以利用 CMD Injection 漏洞来执行恶意命令,获取敏感信息、控制系统、提升权限或进行其他恶意行为。</pre>
</td>
</tr>
<tr>
<th>漏洞等级</th>
<td>
<span class="tag is-danger" style="margin: 25px; font-size: medium;">高危</span>
</td>
</tr>
<tr>
<th>Payload</th>
<td>
<pre>${@var_dump(md5(215021311))};</pre>
</td> <!-- `<script>alert('Hello!')</script>` -->
</tr>
<tr>
<th>响应</th>
<td>
<pre>HTTP/1.1 200 OK
Content-Type: text/html
Date: Wed, 31 Jul 2024 03:53:19 GMT
Server: Apache/2.4.39 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9a mod_log_rotate/1.02
X-Powered-By: PHP/5.5.9
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta charset="utf-8" />
<title>Get the pikachu</title>
<meta name="description" content="overview &amp; stats" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
<!-- bootstrap & fontawesome -->
<link rel="stylesheet" href="../../assets/css/bootstrap.min.css" / >
<link rel="stylesheet" href="../../assets/font-awesome/4.5.0/css/font-awesome.min.css" />
<!-- page specific plugin styles -->
<!-- text fonts -->
<link rel="stylesheet" href="../../assets/css/fonts.googleapis.com.css" />
<!-- ace styles -->
<link rel="stylesheet" href="../../assets/css/ace.min.css" class="ace-main-stylesheet" id="main-ace-style" />
<!--[if lte IE 9]>
<link rel="stylesheet" href="../../assets/css/ace-part2.min.css" class="ace-main-stylesheet" />
<![endif]-->
<link rel="stylesheet" href="../../assets/css/ace-skins.min.css" />
<link rel="stylesheet" href="../../assets/css/ace-rtl.min.css" />
<!--[if lte IE 9]>
<link rel="stylesheet" href="../../assets/css/ace-ie.min.css" />
<![endif]-->
<!-- inline styles related to this page -->
<!-- ace settings handler -->
<script src="../../assets/js/ace-extra.min.js"></script>
<!-- HTML5shiv and Respond.js for IE8 to support HTML5 elements and media queries -->
<!--[if lte IE 8]>
<script src="../../assets/js/html5shiv.min.js"></script>
<script src="../../assets/js/respond.min.js"></script>
<![endif]-->
<script src="../../assets/js/jquery-2.1.4.min.js"></script>
<script src="../../assets/js/bootstrap.min.js"></script>
</head>
<body class="no-skin">
<div id="navbar" class="navbar navbar-default ace-save-state">
<div class="navbar-container ace-save-state" id="navbar-container">
<div class="navbar-header pull-left">
<a href="../../index.php" class="navbar-brand">
<small>
<i class="fa fa-key"></i>
Pikachu 漏洞练习平台 pika~pika~
</small>
</a>
</div>
<div class="navbar-buttons navbar-header pull-right" role="navigation">
<ul class="nav ace-nav">
<li class="light-blue dropdown-modal">
<a data-toggle="dropdown" href="#" class="dropdown-toggle">
<img class="nav-user-photo" src="../../assets/images/avatars/pikachu1.png" alt="Jason's Photo" />
<span class="user-info">
<small>欢迎</small>
骚年
</span>
</a>
</li>
</ul>
</div>
</div><!-- /.navbar-container -->
</div>
<div class="main-container ace-save-state" id="main-container">
<script type="text/javascript">
try{ace.settings.loadState('main-container')}catch(e){}
</script>
<div id="sidebar" class="sidebar responsive ace-save-state">
<script type="text/javascript">
try{ace.settings.loadState('sidebar')}catch(e){}
</script>
<ul class="nav nav-list">
<li class="">
<a href="../../index.php">
<i class="ace-icon glyphicon glyphicon-tags"></i>
<span class="menu-text"> 系统介绍 </span>
</a>
<b class="arrow"></b>
</li>
</pre>
</td> <!-- `<script>alert('Hello!')</script>` -->
</tr>
</tbody>
</table>
</div>
</article>
<article class="message">
<div class="message-header">
<p>/admin</p>
<button class="delete" aria-label="delete"></button>
</div>
<div class="message-body">
<table class="table is-striped is-narrow is-hoverable is-fullwidth">
<thead></thead>
<tbody>
<tr>
<th>Payload</th>
<td>
<pre><script>alert('Hello!')</script></pre>
</td> <!-- `<script>alert('Hello!')</script>` -->
</tr>
<tr>
<th>响应</th>
<td>
<pre>.....</pre>
</td> <!-- `<script>alert('Hello!')</script>` -->
</tr>
<tr>
<th>漏洞类型</th>
<td>
<pre>.....</pre>
</td>
</tr>
</tbody>
</table>
</div>
</article>
<!-- Record -->
<div class="titleContent">
<div class="title2">[资产]127.0.0.1:8080</div>
</div>
<!-- 按照目录划分 -->
<article class="message">
<div class="message-header">
<p>/admin</p>
<button class="delete" aria-label="delete"></button>
</div>
<div class="message-body">
<table class="table is-striped is-narrow is-hoverable is-fullwidth">
<thead></thead>
<tbody>
<tr>
<th>Payload</th>
<td>
<pre><script>alert('Hello!')</script></pre>
</td> <!-- `<script>alert('Hello!')</script>` -->
</tr>
<tr>
<th>响应</th>
<td>
<pre>.....</pre>
</td> <!-- `<script>alert('Hello!')</script>` -->
</tr>
<tr>
<th>漏洞类型</th>
<td>
<pre>.....</pre>
</td>
</tr>
</tbody>
</table>
</div>
</article>
<article class="message">
<div class="message-header">
<p>/admin</p>
<button class="delete" aria-label="delete"></button>
</div>
<div class="message-body">
<table class="table is-striped is-narrow is-hoverable is-fullwidth">
<thead></thead>
<tbody>
<tr>
<th>Payload</th>
<td>
<pre><script>alert('Hello!')</script></pre>
</td> <!-- `<script>alert('Hello!')</script>` -->
</tr>
<tr>
<th>响应</th>
<td>
<pre>.....</pre>
</td> <!-- `<script>alert('Hello!')</script>` -->
</tr>
<tr>
<th>漏洞类型</th>
<td>
<pre>.....</pre>
</td>
</tr>
</tbody>
</table>
</div>
</article>
<!--
{% for record in recordss %}
<div>
<h2 class="title is-2">[资产]</h2>
<strong>{{ comment.user }}</strong>: {{ comment.text }}
</div>
{% endfor %}
-->
</div>
</main>
<script>
</script>
<style>
.table th {
vertical-align: inherit;
width: 200px;
text-align: center;
}
.table tbody td pre {
background: transparent;
}
h1 {
text-align: center;
padding: 10px;
}
h2 {
padding-top: 10px;
}
div.container {
margin: 0 auto;
padding: 20px;
border: solid;
border-radius: 10px;
border-color: rgb(184, 184, 184);
}
aside.menu {
background-color: #f5f5f5;
position: fixed;
top: 50px;
/* 距离顶部50像素 */
right: 20px;
/* 距离右侧20像素 */
z-index: 100;
/* 层级 */
/* 其他样式 */
}
</style>
<style lang="less">
.titleContent {
>div {
margin: 15px;
}
}
div.title2 {
display: inline-block;
position: relative;
height: 50px;
line-height: 50px;
padding-left: 15px;
padding-right: 10px;
margin-bottom: 25px;
background: #00d1b2;
left: -44px;
color: #FFF;
font-size: large;
font-weight: 600;
&:before {
content: "";
position: absolute;
height: 0;
width: 0;
border-bottom: 8px solid #00d1b2;
border-left: 8px solid transparent;
top: -8px;
left: 0;
}
&:after {
content: "";
position: absolute;
height: 0;
width: 0;
border-top: 24px solid transparent;
border-bottom: 24px solid transparent;
border-left: 8px solid #00d1b2;
right: -8px;
}
}
</style>
</body>
</html>