Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude loads one when your task matches it, or you run it by name.
Of the plugin's README
Chinese
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
给 AI 一个根域名,自动完成:子域名发现 → DNS 解析 → 端口扫描 → Web 指纹 → 目录爆破 → 备份扫描 → 漏洞检测 → 结果研判 → HTML 报告 → 自主利用
传统脚本是固定的编排流程,AI 无法介入决策。7scanAI 把同样的逻辑编码为 AI 可理解的工作流,让 AI 充当编排器:判断泛解析、处理重试、交叉验证结果、给出渗透方向。
核心原则:
set -o pipefail 开头,防止管道中间态错误静默丢失pip3 install -r requirements.txt --break-system-packages用户: "扫 baidu.com"
│
├─ Phase 1 Intake 确认目标 + 端口范围 + 域名变形 + 截图开关,创建目录
│
├─ Phase 2 Subdomain 7 个工具多源收集子域名
│ OneForAll → ksubdomain → subDomainsBrute
│ → subfinder → gau → jsubfinder
│
├─ Phase 3 DNS 泛解析检测(3次重试) → dnsgen/alterx 排列(可选)
│ → dnsx 解析 → 内外网分离
│
├─ Phase 4 Port IP 提取 → CDN 过滤(nali+nocdn)
│ → naabu 端口扫描(用户选择范围)
│
├─ Phase 5 Web httpx 指纹 → 智能分类(高价值/泄露风险)
│ → gowitness 截图(可选)
│
├─ Phase 6 Vuln 6 引擎串行扫描:
│ kscan指纹/弱口令 → afrog(分批) → 备份扫描
│ → dirsearch → nuclei → katana+fuzz
│
├─ Phase 7 Report 统计汇总 → AI 逐条研判
│ → 渗透方向建议 → 生成 HTML 报告
│
└─ Phase 8 Exploit AI 自主利用攻击 → 弱口令登录
→ SQL注入/备份泄露 → 登录口爆破
→ 注册越权 → OAuth滥用 → 凭据喷洒
→ 生成利用报告
触发: 用户给出域名
确认项(三项一次性确认,之后全程不再询问):
| 问题 | 选项 | 默认值 |
|---|---|---|
| 端口扫描范围 | [1] top-100 / [2] top-1000 / [3] 全端口 | top-1000 |
| 域名变形生成 (dnsgen/alterx) | y / n | n(不启用) |
| Web 截图 (gowitness) | y / n | n(不截图) |
动作:
http://、https://、路径、端口)../、/、\、空格(防路径穿越)targets/<domain>/7 个工具,严格按顺序执行:
| 步骤 | 工具 | 类型 | 输出文件 | 阈值截断 |
|---|---|---|---|---|
| 2.1 | whois | 信息查询 | whois_info/<domain>.html | — |
| 2.2 | OneForAll | 综合(被动+爆破) | oneforall_subdomains/oneforall.txt | >20000 清空 |
| 2.3 | ksubdomain | 主动爆破 (--wild-filter-mode advanced --silent) | ksubdomain_subdomains/ksubdomain.txt | >20000 清空 |
| 2.4 | subDomainsBrute | 主动爆破 (-t 200 --full) | subdomainsbrute_subdomains/subdomainsbrute.txt | >20000 清空 |
| 2.5 | subfinder | 被动(API 聚合) (-all) | subfinder_subdomains/subfinder.txt | >20000 清空 |
| 2.6 | gau | 被动(历史 URL) (--subs) | gau_subdomains/gau.txt | >20000 清空 |
| 2.7 | jsubfinder | JS 分析 (grep -F 精确匹配) | jsubfinder_subdomains/jsubfinder.txt | — |
关键细节:
OneForAll 的 CSV 不能用 awk -F "," 直接拆列,必须按真正 CSV 规则解析;否则字段里的逗号会导致错位,出现类似 ,,,,,,,,RapidDNSQuery 的异常记录ksubdomain.yaml 已存在时直接复用,避免多目标/多次运行反复改写共享配置.txt 写入使用 anew(去重追加),阈值触发时用 truncate -s 0 清空3.1 泛解析检测(3 次重试):
3.2 dnsgen 排列生成(仅当非泛解析 且 Phase 1 启用域名变形):
3.3 alterx 排列生成(仅当非泛解析 且 Phase 1 启用域名变形):
3.4 合并所有子域名 → collect_subdomains/collect_subdomains.txt
3.5 dnsx 解析 → 内外网分离:
active_subdomains2ips.txt: 子域名 → IP 完整映射active_subdomains.txt: 过滤局域网 IP 的外网子域名(grep -v '局域网')active_subdomains_intranet.txt: 仅内网子域名4.1 独立 IP + CDN 过滤(双层):
第 1 层 nali: 过滤 CloudFlare / Akamai / CDN / CloudFront / Fastly / GitHub
第 2 层 nocdn: CDN IP 段数据库二次过滤
4.2 合并扫描目标: 外网子域名 + 独立 IP → active_all/active_all.txt
4.3 端口扫描(按 Phase 1 选择):
[1] top-100 → naabu -top-ports 100 (~3 分钟)
[2] top-1000 → naabu -top-ports 1000 (~15 分钟)
[3] 全端口 → naabu -p - (~60 分钟)
naabu 未返回端口的域名,进入 Phase 5 前会用 httpx 再做默认协议/默认端口兜底探测5.1 httpx 指纹识别 + 智能分类:
-silent): 从端口列表和兜底域名列表过滤存活 HTTP 服务active_webs.txt智能分类(两个维度):
高价值目标: 标题含 admin/管理/后台/登录/dashboard/console/api/debug/swagger
→ high_value_targets.txt
源码泄露风险: URL 含 .git/.svn/.env/heapdump/phpinfo/.DS_Store
→ leak_risks.txt
5.2 Web 截图(按 Phase 1 选择):
-t 10 -T 40)+ 3 次重试Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground
Generated from the plugin's indexed repository (vmsec/7scanai) — no native marketplace selected
npx claudepluginhub p/vmsec-7scanai