mcpField
L
local-resources

local-resources

github.com/wgpsec安全1.8k48 次安装4 天前更新
代码仓库

关于 local-resources

面向渗透测试工作的本地资源导航技能,整理 `/pentest/` 下的字典与 Payload 路径,并说明如何按场景选择和调用。

主要功能

  1. 01按用途索引 Web 与认证字典
  2. 02提供目录、参数及密码爆破路径
  3. 03列出 SQLi、XSS 等 Payload 分类
  4. 04说明使用 ffuf 和 spray 的流程

适用场景

  1. 01为 Web 目录爆破选择合适字典
  2. 02为 CTF 参数或 URI 测试选取精简列表
  3. 03查找漏洞验证 Payload 文件

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/wgpsec/aboutsecurity --skill local-resources

安装后在 Claude Code 中输入/local-resources确认已加载。

附带文件evals/evals.jsonevals/recall.json

详细介绍

来自项目 README

本地资源库导航

⚠️ 核心规则:字典统一在 /pentest 目录 — aboutsecurity 字典库和 nuclei 模板库均安装在 /pentest/ 下。

📁 字典库 (Dic/) — 目录爆破 / 密码爆破 / 参数 Fuzz

工具链
# 查看字典库分类
ls /pentest/AboutSecurity/Dic/
# 查看 Web 字典子分类
ls /pentest/AboutSecurity/Dic/web/
# 使用字典(示例)
spray -u http://target -d /pentest/AboutSecurity/Dic/web/directory/common.txt
ffuf -u http://target/FUZZ -w /pentest/AboutSecurity/Dic/web/directory/common.txt
常用字典速查表
场景路径行数
通用目录爆破Dic/web/directory/common.txt5378
PHP 文件发现Dic/web/directory/php/php.txt48094
PHP Top100Dic/web/directory/php/top100-php.txt93
CTF URI FuzzDic/web/ctf/uri.txt222
CTF 参数 FuzzDic/web/ctf/param.txt44
CTF SQL FuzzDic/web/ctf/sql.txt94
后台路径Dic/web/directory/admin-dir.txt2166
API 路径Dic/web/directory/api.txt341
备份文件Dic/web/file-backup/—
密码 Top100Dic/auth/password/password-top100.txt172
DNS 子域名Dic/web/dns/—
决策树:该用哪个字典?
目标是 Web 应用?
├── CTF/靶场 → Dic/web/ctf/uri.txt(小而精)
├── PHP 站 → Dic/web/directory/php/php.txt(全面)
├── 通用站 → Dic/web/directory/common.txt
├── 找后台 → Dic/web/directory/admin-dir.txt
├── 找 API → Dic/web/directory/api.txt
└── 找备份 → Dic/web/file-backup/

目标是认证服务?
├── 密码爆破 → Dic/auth/password/password-top100.txt
├── 用户名枚举 → Dic/auth/username/
└── 特定服务 → Dic/port/{mysql,ssh,rdp,...}/

📁 Payload 库 — 漏洞验证 payload

工具链
# 查看 aboutsecurity payload 分类
ls /pentest/AboutSecurity/Payload/
# 查看 nuclei 模板库
ls ~/nuclei-templates/
# 读取具体 payload 文件
cat /pentest/AboutSecurity/Payload/sqli/payload.txt        # 通用 SQLi Fuzz payload
cat /pentest/AboutSecurity/Payload/sqli/sql-inj.md         # 快速查阅速查手册(含 WAF 绕过技巧)
可用分类

sqli | xss | lfi | ssrf | xxe | rce | access-bypass | upload | cors | hpp | ssi

⚠️ 使用外部工具的正确流程

❌ 错误:ffuf -u http://target/FUZZ -w /usr/share/wordlists/common.txt
                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                        猜测路径,大概率不存在

✅ 正确:
1. ls /pentest/AboutSecurity/Dic/web/directory/  → 确认字典存在
2. ffuf -u http://target/FUZZ -w /pentest/AboutSecurity/Dic/web/directory/common.txt

💡 高效使用提示

  1. spray / ffuf 已封装字典 — 如果只是简单目录爆破,直接用 spray -u target -d wordlist.txt 或 ffuf -u target/FUZZ -w wordlist.txt
  2. 自定义参数用 ffuf — 需要自定义参数(如 -e .bak -mc 200)时用 ffuf -u target/FUZZ -w /pentest/AboutSecurity/Dic/...
  3. CTF 场景优先用小字典 — Dic/web/ctf/ 下的字典精简且针对性强,避免大字典浪费时间

评论

支持 Markdown