面向 Apache、Nginx 和 IIS 的服务器安全审计工具 — 13 个扫描阶段、70+ 发现编码、AI 驱动的加固指南。
快速开始 · 文档 · Docker 部署 · AI 分析 · 在 GitHub 上标星
HTML 报告 — 严重等级分布、OWASP 映射、筛选栏 |
发现表 — CVE/CWE 徽章、可展开的证据、配置片段 |
Hephaestus 是一个生产就绪的服务器安全审计工具,将伦理置于首位。专为系统管理员、DevOps 工程师和渗透测试人员设计,它扫描 Web 服务器配置(Apache、Nginx、IIS),在攻击者利用之前识别关键配置错误。
~/.argos/argos.db)python -m heph --target https://example.com --html
- **多服务器支持**:Apache、Nginx、IIS 检测与加固
- **并发扫描**:线程池 + 速率限制,实现快速且合规的扫描
- **证据收集**:保留 HTTP 响应、请求头、文件内容
- **优雅的错误处理**:稳健处理超时、DNS 故障、连接拒绝
### 🤖 AI 驱动的加固指南
根据需求选择 AI 提供商:
| Provider | 最佳适用场景 | 速度 | 成本 | 隐私 |
| -------------------- | ------------------ | --------------- | -------------- | -------------- |
| **OpenAI GPT-4** | 生产级质量 | ⚡ 快速 (35s) | 💰 每次扫描 0.25 美元 | 🔒 标准 |
| **Anthropic Claude** | 注重隐私 | ⚡ 快速 (45s) | 💰 每次扫描 0.30 美元 | 🔒 增强 |
| **Ollama (本地)** | 完全隐私 | 🐢 缓慢 (28min) | 💰 免费 | 🔐 100% 离线 |
**两种分析模式:**
- **技术模式**:Apache/Nginx 配置片段、CLI 命令、逐步加固指导
- **管理模式**:面向利益相关者和管理层的简明风险评估
### 📊 专业报告
**JSON 报告**(机器可读)```json
{
"tool": "hephaestus",
"version": "0.2.0",
"target": "https://example.com",
"mode": "safe",
"summary": {
"critical": 3,
"high": 2,
"medium": 5,
"low": 3,
"info": 0
},
"findings": [...],
"diff": {...}
}
HTML 报告(用户友好)
激进扫描和 AI 分析需要所有权证明:```bash
python -m heph --gen-consent example.com
echo "verify-abc123..." > .well-known/verify-abc123.txt
python -m heph --verify-consent http --domain example.com --token verify-abc123
python -m heph --target https://example.com --aggressive --use-ai
### 💾 数据库持久化
SQLite 数据库 **与 Argos 套件共享** (`~/.argos/argos.db`):
- **扫描历史**: 日期、持续时间、发现数量、严重程度分布
- **发现库**: 可搜索的漏洞数据库(已存储 1159+ 条发现)
- **已验证域名**: 带过期时间的同意令牌跟踪
- **跨工具集成**: 与 Argus、Pythia 及未来工具无缝协作```bash
# Query recent scans
sqlite3 ~/.argos/argos.db "SELECT * FROM scans WHERE tool='hephaestus' ORDER BY scan_id DESC LIMIT 10"
# Find critical issues
sqlite3 ~/.argos/argos.db "SELECT * FROM findings WHERE severity='critical' AND tool='hephaestus'"
Hephaestus v0.2.0 已通过基于 Docker 的受控漏洞实验室(Apache 和 Nginx)进行了经验验证。
测试覆盖(13 个阶段):
关键发现:
--diff last) 在扫描历史中正常工作结论: Hephaestus 已可用于生产环境,适用于服务器安全评估。
1. 克隆仓库```bash git clone https://github.com/rodhnin/hephaestus-server-forger.git cd hephaestus-server-forger
**2. (可选)如果尚未安装 `venv`,请安装**```bash
# Debian/Ubuntu
sudo apt update && sudo apt install -y python3-venv
# Fedora/RHEL
sudo dnf install python3-virtualenv
# macOS (via Homebrew)
brew install [email protected]
3. 创建并激活虚拟环境```bash python3 -m venv .venv source .venv/bin/activate
**4. 升级 pip**```bash
python -m pip install --upgrade pip
5. 安装依赖项```bash python -m pip install -r requirements.txt
**6. 配置 API 密钥(如果使用云端 AI)**```bash
# OpenAI
export OPENAI_API_KEY="sk-..."
# Anthropic
export ANTHROPIC_API_KEY="sk-ant-..."
7. 验证安装```bash python -m heph --version
### 您的第一次扫描```bash
# Basic scan (safe mode, no consent required)
python -m heph --target https://example.com
# With HTML report
python -m heph --target https://example.com --html
# With AI hardening guide (requires consent)
python -m heph --target https://example.com --use-ai --html
cd docker && ./deploy.sh
docker compose exec hephaestus python -m heph --target http://vulnerable-apache
🎉 成功! 检查 ~/.hephaestus/reports/ 获取你的报告。
python -m heph --target https://example.com
python -m heph --target https://example.com --html
python -m heph --target https://example.com -vv
python -m heph --target https://example.com -q
### 高级扫描```bash
# Control scan speed (1-20 req/s)
python -m heph --target https://example.com --rate 10
# Control concurrency (1-20 threads)
python -m heph --target https://example.com --threads 8
# Custom timeout (useful for slow servers)
python -m heph --target https://example.com --timeout 60
# Custom output directory
python -m heph --target https://example.com --report-dir ./my-reports
# Custom User-Agent
python -m heph --target https://example.com --user-agent "MyBot/1.0"
# Disable SSL verification (testing only)
python -m heph --target https://self-signed.badssl.com --no-verify-ssl
步骤1:配置您的提供商
编辑 config/defaults.yaml:```yaml
ai:
langchain:
provider: "openai" # Options: openai, anthropic, ollama
model: "gpt-4o-mini-2024-07-18"
temperature: 0.3
**步骤 2: 测试你的设置**```bash
# Verify AI provider works
python -m heph.core.ai openai
步骤3:运行AI驱动的扫描```bash
python -m heph --target https://example.com
--use-ai
--ai-tone technical
--html
python -m heph --target https://example.com
--use-ai
--ai-tone non_technical
--html
python -m heph --target https://example.com
--use-ai
--ai-tone both
--html
python -m heph --target https://example.com
--use-ai
--ai-stream
--html
python -m heph --target https://example.com
--use-ai
--ai-compare openai,anthropic
--html
python -m heph --target https://example.com
--use-ai
--ai-agent
--html
python -m heph --target https://example.com
--use-ai
--ai-budget 0.50
--html
### 激进模式 (需要同意)```bash
# Step 1: Generate consent token
python -m heph --gen-consent example.com
# Output: Token: verify-a3f9b2c1d8e4...
# Step 2: Place token on your server
# Create: https://example.com/.well-known/verify-a3f9b2c1d8e4.txt
# Content: verify-a3f9b2c1d8e4
# Step 3: Verify consent
python -m heph --verify-consent http \
--domain example.com \
--token verify-a3f9b2c1d8e4
# Step 4: Run aggressive scan (deeper checks, higher rate limit)
python -m heph --target https://example.com --aggressive
Hephaestus 使用 LangChain 1.0.0,支持多种 AI 提供商。
最佳用途:生产环境
#### Anthropic Claude
**最适合:增强隐私**
- ⭐ 质量:优秀 (5/5)
- ⚡ 速度:约45秒
- 💰 成本:每次扫描约$0.30
- 🔒 隐私:增强(Anthropic的隐私优先方法)```bash
export ANTHROPIC_API_KEY="sk-ant-..."
python -m pip install langchain-anthropic==1.0.0
最适合:完全隐私
ollama pull llama3.2 python -m pip install "langchain-ollama>=0.3.0,<0.4.0"
### 隐私与安全
**自动净化**
在发送给AI提供商之前,Hephaestus自动移除:
- ✅ 同意令牌
- ✅ API密钥与凭证
- ✅ 私钥与证书
- ✅ 内部IP地址
- ✅ 数据库凭证
**仅限自愿参与**
- AI分析需要显式指定 `--use-ai` 标志
- 激进扫描需要验证过的同意令牌
- 您控制哪些提供商能看到您的数据
**最大隐私保障**:在本地使用 Ollama。
---
## 🧪 安全测试实验室
**⚠️ 未经书面许可,切勿扫描生产环境!**
使用我们的Docker实验室安全练习:
### 设置测试环境
### 选项1:交互式脚本(推荐)```bash
# Run the interactive deployment script
cd docker && ./deploy.sh
该脚本提供5个选项:
仅测试实验室:```bash
docker compose -f docker/compose.testing.yml up -d
sleep 15
docker compose -f docker/compose.testing.yml ps curl -I http://localhost:8080 # Apache curl -I http://localhost:8081 # Nginx
**生产扫描器:**```bash
# Start Hephaestus scanner service
docker compose -f docker/compose.yml up -d
# Run a scan
docker compose -f docker/compose.yml exec hephaestus heph --target https://example.com
# View reports
ls -lh docker/reports/
两种环境:```bash
docker compose -f docker/compose.yml up -d docker compose -f docker/compose.testing.yml up -d
python -m heph --target http://localhost:8080 --html python -m heph --target http://localhost:8081 --html
### 扫描实验室```bash
# Scan Apache lab (from host)
python -m heph --target http://localhost:8080 --html
# Scan Nginx lab (from host)
python -m heph --target http://localhost:8081 --html
# AI-powered analysis (requires OPENAI_API_KEY)
python -m heph --target http://localhost:8080 --use-ai --html
# OR from inside production container (using container name)
docker compose -f docker/compose.yml exec hephaestus python -m heph --target http://hephaestus-vulnerable-apache --html
Apache 实验室 (localhost:8080):
Nginx 实验室 (localhost:8081):
停止服务:```bash
cd docker && ./deploy.sh # Choose option 4 (Stop All)
docker compose -f docker/compose.yml down docker compose -f docker/compose.testing.yml down
**清除所有内容(警告:删除数据和报告):**```bash
# Using script (with confirmation)
cd docker && ./deploy.sh # Choose option 5 (Remove All)
# OR manually
docker compose -f docker/compose.yml down -v
docker compose -f docker/compose.testing.yml down -v
rm -rf docker/data docker/reports
Hephaestus 提供两种 Docker 部署选项:
生产扫描服务:```bash
docker compose -f docker/compose.yml up -d
docker compose -f docker/compose.yml exec hephaestus heph --target https://example.com --html
ls -lh docker/reports/
docker compose -f docker/compose.yml down
**测试实验室(存在漏洞的服务器):**```bash
# Start Apache + Nginx vulnerable servers
docker compose -f docker/compose.testing.yml up -d
# Scan from host
python -m heph --target http://localhost:8080 --html
# Stop lab
docker compose -f docker/compose.testing.yml down
交互式部署脚本:```bash
cd docker && ./deploy.sh
### 选项 2:直接运行 Docker
**构建镜像:**```bash
docker build -f docker/Dockerfile -t hephaestus:0.2.0 .
运行一次性扫描:```bash
docker run --rm
-v $(pwd)/docker/reports:/reports
-v $(pwd)/docker/data:/data
hephaestus:0.2.0
--target https://example.com
--html
**带AI分析:**```bash
docker run --rm \
-v $(pwd)/docker/reports:/reports \
-e OPENAI_API_KEY="$OPENAI_API_KEY" \
hephaestus:0.2.0 \
--target https://example.com \
--use-ai \
--ai-tone both \
--html
扫描本地测试实验室:```bash
docker compose -f docker/compose.testing.yml up -d
docker run --rm
--network hephaestus-lab
hephaestus:0.2.0
--target http://hephaestus-vulnerable-apache
---
## 📊 理解报告
### 报告结构```
~/.hephaestus/
├── reports/
│ ├── hephaestus_report_example_20251021_143022.json
│ └── hephaestus_report_example_20251021_143022.html
└── (shared with Argos)
~/.argos/
├── argos.db # Shared database
└── logs/
└── hephaestus.log
HEPH-SRV-001: Server version disclosed (Apache/Nginx/IIS) HEPH-SRV-004: Server disclosed in error page HEPH-SRV-016: PHP version disclosed in Server header HEPH-SRV-017: OpenSSL version disclosed in Server header HEPH-FILE-001: Environment file exposed (.env) HEPH-FILE-002: Git repository exposed HEPH-FILE-003: PHP information page exposed HEPH-FILE-004: Apache server-status exposed HEPH-HTTP-003: Unsafe HTTP method in OPTIONS (TRACE) HEPH-HTTP-008: TRACE method enabled (XST vulnerability) HEPH-HDR-001: Missing security header: HSTS HEPH-HDR-002: Missing security header: CSP HEPH-HDR-003: Missing security header: X-Frame-Options HEPH-HDR-004: Missing security header: X-Content-Type-Options HEPH-HDR-005: Missing security header: Referrer-Policy HEPH-HDR-006: Missing security header: Permissions-Policy HEPH-CFG-001: Directory listing enabled HEPH-TLS-000: TLS not enabled HEPH-TLS-001: Weak TLS protocol (SSLv3, TLS 1.0) HEPH-TLS-002: Weak cipher suite enabled COR-001 to COR-006: CORS misconfiguration findings ROB-001/002/003: Robots.txt intelligence findings WAF-001/002: WAF detection findings API-001 to API-005: API discovery findings COO-001 to COO-005: Cookie security findings PHP-001 to PHP-009: phpinfo() dangerous settings
### 严重性映射
- **严重**: .env 暴露、.git 可访问、phpinfo、server-status、SQL 转储
- **高**: 服务器版本泄露、弱 TLS、缺少 TLS、不安全的 HTTP 方法
- **中**: 缺少重要标头(HSTS、CSP、X-Frame-Options)、目录列表、错误页面泄露
- **低**: 次要标头(X-Content-Type-Options、Referrer-Policy、Permissions-Policy)
- **信息**: 信息性发现(检测到服务器、TLS 1.2 正常)
---
## 📁 项目结构```
hephaestus-server-forger/
│
├── heph/ # Main application package
│ ├── checks/ # Security check modules (13 phases)
│ │ ├── __init__.py
│ │ ├── api_discovery.py # Phase 11: Swagger/OpenAPI/GraphQL exposure
│ │ ├── config.py # Phase 5: Directory listing detection
│ │ ├── config_file.py # Phase 14: Offline httpd.conf/nginx.conf parser
│ │ ├── cookies.py # Phase 12: HttpOnly/Secure/SameSite analysis
│ │ ├── cors.py # Phase 8: CORS wildcard & reflection probes
│ │ ├── files.py # Phase 2: 70+ sensitive file paths
│ │ ├── headers.py # Phase 4: Security headers analysis
│ │ ├── http_methods.py # Phase 3: Unsafe HTTP methods (PUT/DELETE/TRACE)
│ │ ├── phpinfo.py # Phase 13: phpinfo() dangerous settings
│ │ ├── ports.py # Phase 7: 37-port scanner with banner grabbing
│ │ ├── robots.py # Phase 9: robots.txt disallowed path analysis
│ │ ├── server_info.py # Phase 1: Apache/Nginx/IIS fingerprinting
│ │ ├── tls.py # Phase 6: Deep TLS/SSL + CVE correlation
│ │ └── waf.py # Phase 10: 13 WAF signatures detection
│ │
│ ├── core/ # Core infrastructure
│ │ ├── __init__.py
│ │ ├── ai.py # LangChain AI (GPT-4/Claude/Ollama) + cost tracking
│ │ ├── config.py # Configuration loader
│ │ ├── consent.py # Consent token system (HTTP + DNS)
│ │ ├── cve_lookup.py # NVD CVE API integration
│ │ ├── db.py # SQLite — shared with Argos suite (~/.argos/argos.db)
│ │ ├── diff.py # Scan diff engine (--diff last / --diff <id>)
│ │ ├── http_client.py # Token-bucket rate-limited HTTP client
│ │ ├── logging.py # Structured logging
│ │ ├── owasp.py # HEPH-* code → OWASP Top 10 2021 mapper
│ │ └── report.py # JSON + HTML report generation
│ │
│ ├── __init__.py # Package metadata
│ ├── __main__.py # Entry point
│ ├── cli.py # CLI (30+ flags incl. --use-ai, --diff, --config-file)
│ └── scanner.py # Orchestrator — 13 parallel phases
│
├── assets/
│ └── ascii.txt # Hephaestus braille ASCII art
│
├── config/ # Configuration files
│ ├── defaults.yaml # Default settings
│ └── prompts/ # AI prompt templates
│ ├── technical.txt # Technical hardening prompt
│ └── non_technical.txt # Executive summary prompt
│
├── db/
│ └── migrate.sql # Shared database schema (Argos suite)
│
├── docker/ # Docker deployment
│ ├── vulnerable-apache/ # Vulnerable Apache lab (port 8080/8443)
│ │ └── docker-entrypoint.sh
│ ├── vulnerable-nginx/ # Vulnerable Nginx lab (port 8081/8444)
│ │ └── docker-entrypoint.sh
│ ├── compose.yml # Production stack
│ ├── compose.testing.yml # Vulnerable lab stack
│ ├── deploy.sh # Interactive deployment script
│ └── Dockerfile # Production image
│
├── docs/ # Documentation
│ ├── media/ # README visual assets
│ │ ├── hephaestus-banner.webp # Banner 1280×400
│ │ ├── hephaestus-hero.webp # Hero 1600×640
│ │ ├── console.webp # Terminal scan output
│ │ ├── report_html.webp # HTML report header
│ │ └── report_findings.webp # Findings table with CVE badges
│ ├── AI_INTEGRATION.md # AI providers setup guide
│ ├── CONSENT.md # Consent system details
│ ├── DATABASE_GUIDE.md # Shared database reference
│ ├── ETHICS.md # Ethical use guidelines
│ ├── REPORT_FORMAT.md # JSON/HTML report specification
│ ├── ROADMAP.md # v0.3.0 tickets and priorities
│ └── TESTING_GUIDE.md # Safe testing practices
│
├── schema/
│ └── report.schema.json # JSON report schema (OWASP + CVE fields)
│
├── scripts/
│ └── cli-examples.md # CLI usage examples
│
├── templates/
│ └── report.html.j2 # HTML report template — forge theme
│
├── CHANGELOG.md # Version history
├── CODE_OF_CONDUCT.md # Community guidelines
├── CONTRIBUTING.md # Contribution guide
├── LICENSE # MIT License
├── README.md # This file
├── requirements.txt # Python dependencies
└── setup.py # Package installer
状态: 🎉 已发布(已被 v0.2.0 取代)
~/.argos/argos.db)状态: 🎉 已发布
--config-file):离线分析 httpd.conf/nginx.conf--ai-budget):预算限制、costs.json、ai_costs 表--ai-stream):实时逐 token 输出--ai-compare):并行运行两个提供商--ai-agent):LangChain 代理,支持 NVD CVE 查询--diff last / --diff SCAN_ID):新增/修复/持续的发现项重点: 易用性、规模、交互式 AI
heph --show-options、heph --set)heph db scans list、heph db findings search)重点: 机器学习、自动化、高级 AI
面向企业的商业产品
进行中
有关详细功能描述,请参阅 ROADMAP.md
仅扫描您拥有或已获得明确书面许可进行测试的系统。
Hephaestus 实施了技术控制来防止滥用:
未经授权访问计算机系统在大多数司法管辖区是非法的:
完整伦理指南,请参阅 docs/ETHICS.md
我们欢迎贡献!无论是:
git checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)git clone https://github.com/YOUR-USERNAME/hephaestus-server-forger.git cd hephaestus-server-forger
python -m pip install -r requirements.txt python -m pip install pytest black flake8 mypy
black heph/
flake8 heph/ mypy heph/
pytest tests/
### 报告问题
发现了一个漏洞?有功能请求?
**提交问题**:https://github.com/rodhnin/hephaestus-server-forger/issues
请包含:
- Hephaestus 版本 (`python -m heph --version`)
- Python 版本 (`python --version`)
- 操作系统
- 复现步骤(针对漏洞)
- 预期行为与实际行为
---
## 📚 文档
综合文档位于 `docs/` 目录中:
| 文档 | 描述 |
| ------------------------------------------- | ----------------------------------------- |
| [AI_INTEGRATION.md](https://github.com/rodhnin/hephaestus-server-forger/blob/HEAD/docs/AI_INTEGRATION.md) | 完整的 AI 设置指南(所有 3 个提供商) |
| [CONSENT.md](https://github.com/rodhnin/hephaestus-server-forger/blob/HEAD/docs/CONSENT.md) | 同意令牌系统技术细节 |
| [DATABASE_GUIDE.md](https://github.com/rodhnin/hephaestus-server-forger/blob/HEAD/docs/DATABASE_GUIDE.md) | SQLite 模式、查询、管理 |
| [ETHICS.md](https://github.com/rodhnin/hephaestus-server-forger/blob/HEAD/docs/ETHICS.md) | 法律框架和道德指南 |
| [REPORT_FORMAT.md](https://github.com/rodhnin/hephaestus-server-forger/blob/HEAD/docs/REPORT_FORMAT.md) | JSON 模式和 HTML 规范 |
| [TESTING_GUIDE.md](https://github.com/rodhnin/hephaestus-server-forger/blob/HEAD/docs/TESTING_GUIDE.md) | 使用 Docker 实验室进行安全测试 |
| [ROADMAP.md](https://github.com/rodhnin/hephaestus-server-forger/blob/HEAD/docs/ROADMAP.md) | 未来特性和开发计划 |
### 快速链接
- **变更日志**:[CHANGELOG.md](https://github.com/rodhnin/hephaestus-server-forger/blob/HEAD/CHANGELOG.md)
- **许可证**:[LICENSE](https://github.com/rodhnin/hephaestus-server-forger/blob/HEAD/LICENSE)
- **CLI 示例**:[scripts/cli-examples.md](https://github.com/rodhnin/hephaestus-server-forger/blob/HEAD/scripts/cli-examples.md)
---
## ⚖️ 许可证
本项目采用 **MIT 许可证** - 详见 [LICENSE](https://github.com/rodhnin/hephaestus-server-forger/blob/HEAD/LICENSE) 文件。```
MIT License
Copyright (c) 2026 Rodney Dhavid Jimenez Chacin
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
重要提示: 此工具仅用于授权安全测试。
使用 Hephaestus 即表示您确认并同意:
如果您使用 Hephaestus 发现漏洞:
不要扫描。 如果您不确定是否获得许可,很可能您没有。
Hephaestus 站在巨人的肩膀上:
特别感谢所有实践并推广道德黑客的安全研究员。
Rodney Dhavid Jimenez Chacin (rodhnin)
如有问题、反馈或合作咨询,请访问 rodhnin.com 与我联系。
| 检查类别 | 详情 |
|---|
| 服务器信息 | 通过头部和错误页面披露 Apache/Nginx/IIS 版本 |
| 敏感文件 | .env、.git、phpinfo.php、server-status、备份、配置文件(70+ 路径) |
| HTTP 方法 | 不安全方法(PUT、DELETE、TRACE、OPTIONS) |
| 安全头部 | HSTS、CSP、X-Frame-Options、X-Content-Type-Options、Referrer-Policy、Permissions-Policy |
| TLS/SSL 配置 | 深度分析:密码套件、协议版本、证书有效性、CVE 关联 |
| 目录列表 | Apache/Nginx 在敏感目录上启用了 autoindex |
| CORS 检测 | 通配符、空来源、反射探测(COR-001 至 COR-006) |
| Robots.txt | 禁止路径分析,在激进模式下进行实时可访问性探测 |
| WAF 检测 | 13 种签名,包括 Cloudflare、Sucuri、ModSecurity、AWS WAF、Imperva |
| API 发现 | Swagger/OpenAPI 规范暴露、GraphQL 内省、未认证端点 |
| Cookie 安全 | 跨认证路径对每个 Cookie 进行 HttpOnly/Secure/SameSite 分析 |
| phpinfo() 分析 | 9 个危险的 PHP 设置:display_errors、allow_url_include、open_basedir 等 |
| 配置文件解析器 | 离线分析 httpd.conf / nginx.conf 中的配置错误 |
| 端口扫描器 | 37 个常用端口,带横幅抓取和 CVE 丰富化 |
| 指标 | 结果 |
|---|
| 测试套件 | 55/55 测试通过(13 个阶段) |
| Apache 检测 | 所有 13 个扫描阶段共 42 项发现 |
| Nginx 检测 | 所有 13 个扫描阶段共 25 项发现 |
| 精确率 | 100%(零误报) |
| 召回率 | 100%(零漏报) |
| F1 分数 | 100%(完美平衡) |
| 平均扫描时长 | 30-35 秒 |
| 数据库操作 | 已追踪 80 次扫描,存储 1159+ 条发现 |
| 模式 | 检查 | 需要同意 | 速率限制 |
|---|
| 安全 | 非侵入式 | ❌ 否 | 5 请求/秒 |
| 激进 | 深度探测 | ✅ 是 | 12 请求/秒 |
| AI 分析 | 加固指南 | ✅ 是 | N/A |