# SecLists 字典分类详解 ## 简介 **SecLists** 是安全测试人员的字典集合,由 Daniel Miessler 创建和维护,包含各种类型的字典文件,用于: - 🔍 信息发现(子域名、目录、文件) - 🎯 模糊测试(XSS、SQL注入、LFI等) - 🔑 密码破解 - 👤 用户名枚举 - 💣 攻击载荷测试 **安装位置**: `/Volumes/D/ctf/wordlists/SecLists` --- ## 目录结构总览 ``` SecLists/ ├── Ai/ # AI/LLM 测试 ├── Discovery/ # 信息发现 │ ├── DNS/ # 子域名枚举 │ ├── Web-Content/ # Web内容发现 │ ├── File-System/ # 文件系统路径 │ ├── Infrastructure/ # 基础设施 │ ├── SNMP/ # SNMP OID │ └── Variables/ # 变量名 ├── Fuzzing/ # 模糊测试 │ ├── XSS/ # XSS Payload │ ├── SQLi/ # SQL注入 │ ├── LFI/ # 本地文件包含 │ ├── Databases/ # 数据库相关 │ └── ... ├── Passwords/ # 密码字典 │ ├── Common-Credentials/ # 通用凭证 │ ├── Default-Credentials/# 默认凭证 │ ├── Leaked-Databases/ # 泄露数据库 │ └── ... ├── Usernames/ # 用户名字典 ├── Payloads/ # 攻击载荷 ├── Web-Shells/ # Web后门 ├── Miscellaneous/ # 杂项 └── Pattern-Matching/ # 模式匹配 ``` --- ## Discovery - 信息发现 ### 📂 Discovery/DNS - 子域名枚举 | 文件名 | 大小 | 用途 | 推荐场景 | |--------|------|------|----------| | `subdomains-top1million-5000.txt` | 5K | 最常见5000个子域名 | ⭐⭐⭐⭐⭐ 快速扫描 | | `subdomains-top1million-20000.txt` | 20K | 常见20000个子域名 | ⭐⭐⭐⭐ 中等扫描 | | `subdomains-top1million-110000.txt` | 110K | 大型字典 | ⭐⭐⭐ 深度扫描 | | `dns-Jhaddix.txt` | ~2M | Jhaddix整理的综合字典 | ⭐⭐⭐⭐⭐ Bug Bounty | | `combined_subdomains.txt` | ~487K | 合并多个来源 | ⭐⭐⭐⭐ 全面扫描 | | `deepmagic.com-prefixes-top500.txt` | 500 | 常见前缀 | ⭐⭐⭐ 快速测试 | | `deepmagic.com-prefixes-top50000.txt` | 50K | 大型前缀字典 | ⭐⭐⭐ 深度测试 | | `bitquark-subdomains-top100000.txt` | 100K | Bitquark收集 | ⭐⭐⭐⭐ 全面扫描 | | `fierce-hostlist.txt` | ~2K | Fierce工具字典 | ⭐⭐⭐ 传统扫描 | | `bug-bounty-program-subdomains-trickest-inventory.txt` | ~8K | Bug Bounty子域名 | ⭐⭐⭐⭐⭐ Bug Bounty | **使用示例**: ```bash # DNSRecon dnsrecon -d target.com -t brt -D /Volumes/D/ctf/wordlists/SecLists/Discovery/DNS/subdomains-top1million-5000.txt # Amass amass enum -brute -d target.com -w /Volumes/D/ctf/wordlists/SecLists/Discovery/DNS/dns-Jhaddix.txt # ffuf ffuf -u https://FUZZ.target.com -w /Volumes/D/ctf/wordlists/SecLists/Discovery/DNS/subdomains-top1million-20000.txt ``` ### 📂 Discovery/Web-Content - Web内容发现 | 文件名 | 条目数 | 用途 | 推荐场景 | |--------|--------|------|----------| | `common.txt` | 4,613 | 常见目录/文件 | ⭐⭐⭐⭐⭐ 快速扫描 | | `big.txt` | 20,469 | 大型目录字典 | ⭐⭐⭐⭐ 标准扫描 | | `raft-large-directories.txt` | 62,284 | 大型目录 | ⭐⭐⭐⭐ 深度扫描 | | `raft-large-files.txt` | 37,050 | 大型文件 | ⭐⭐⭐⭐ 文件发现 | | `directory-list-2.3-medium.txt` | 220,560 | DirBuster中等字典 | ⭐⭐⭐⭐⭐ 标准扫描 | | `directory-list-2.3-big.txt` | 1,273,833 | DirBuster大字典 | ⭐⭐⭐ 完整扫描 | | `directory-list-lowercase-2.3-medium.txt` | 207,629 | 小写版本 | ⭐⭐⭐⭐ Linux系统 | | `RobotsDisallowed-Top1000.txt` | 1,000 | robots.txt常见禁止项 | ⭐⭐⭐⭐ 敏感路径 | | `api/api-endpoints.txt` | ~200 | API端点 | ⭐⭐⭐⭐⭐ API测试 | | `Apache.fuzz.txt` | 8,724 | Apache特定路径 | ⭐⭐⭐ Apache服务器 | | `nginx.txt` | 457 | Nginx特定路径 | ⭐⭐⭐ Nginx服务器 | | `spring-boot.txt` | 372 | Spring Boot路径 | ⭐⭐⭐⭐ Java应用 | | `graphql.txt` | ~30 | GraphQL端点 | ⭐⭐⭐⭐ GraphQL API | | `swagger.txt` | ~20 | Swagger文档路径 | ⭐⭐⭐⭐ API文档 | **使用示例**: ```bash # Gobuster gobuster dir -u https://target.com -w /Volumes/D/ctf/wordlists/SecLists/Discovery/Web-Content/common.txt # ffuf ffuf -u https://target.com/FUZZ -w /Volumes/D/ctf/wordlists/SecLists/Discovery/Web-Content/raft-large-directories.txt # dirb dirb https://target.com /Volumes/D/ctf/wordlists/SecLists/Discovery/Web-Content/directory-list-2.3-medium.txt ``` ### 📂 Discovery/Infrastructure | 文件名 | 用途 | |--------|------| | `common-ports.txt` | 常见端口列表 | | `cloud-metadata.txt` | 云元数据端点 | | `IP-Ranges-AWS.txt` | AWS IP范围 | | `IP-Ranges-Azure.txt` | Azure IP范围 | ### 📂 Discovery/Variables | 文件名 | 用途 | |--------|------| | `generic-variables.txt` | 通用变量名 | | `secret-keywords.txt` | 敏感关键词 | --- ## Fuzzing - 模糊测试 ### 📂 Fuzzing/XSS | 文件名 | 条目数 | 用途 | 场景 | |--------|--------|------|------| | `XSS-Bypass-Strings-BruteLogic.txt` | ~134 | XSS绕过字符串 | ⭐⭐⭐⭐⭐ WAF绕过 | | `XSS-Cheat-Sheet-PortSwigger.txt` | ~200 | PortSwigger XSS备忘单 | ⭐⭐⭐⭐⭐ 全面测试 | | `XSS-RSNAKE.txt` | 681 | RSnake XSS向量 | ⭐⭐⭐⭐ 经典测试 | | `XSS-BruteLogic.txt` | 528 | BruteLogic收集 | ⭐⭐⭐⭐ 实战测试 | | `XSS-Somdev.txt` | 1,114 | Somdev收集 | ⭐⭐⭐⭐ 综合测试 | ### 📂 Fuzzing/Databases/SQLi | 文件名 | 用途 | 数据库类型 | |--------|------|-----------| | `Generic-SQLi.txt` | 通用SQL注入 | 全部 | | `MySQL.fuzzdb.txt` | MySQL注入 | MySQL | | `MSSQL.fuzzdb.txt` | MSSQL注入 | MS SQL Server | | `Oracle.fuzzdb.txt` | Oracle注入 | Oracle | | `Generic-BlindSQLi.fuzzdb.txt` | 盲注测试 | 全部 | | `sqli.auth.bypass.txt` | 认证绕过 | 全部 | | `SQLi-Polyglots.txt` | SQL注入多语言payload | 全部 | | `quick-SQLi.txt` | 快速测试 | 全部 | | `NoSQL.txt` | NoSQL注入 | MongoDB等 | | `time-based-sqlinjection.txt` | 时间盲注 | 全部 | **使用示例**: ```bash # SQL注入测试 ffuf -u "https://target.com/search?q=FUZZ" \ -w /Volumes/D/ctf/wordlists/SecLists/Fuzzing/Databases/SQLi/Generic-SQLi.txt \ -mr "error|sql|syntax" # XSS测试 ffuf -u "https://target.com/comment?text=FUZZ" \ -w /Volumes/D/ctf/wordlists/SecLists/Fuzzing/XSS/XSS-Bypass-Strings-BruteLogic.txt \ -mr "