Add FOFA API configuration to config.yaml

Add optional FOFA configuration for information collection.
This commit is contained in:
公明
2026-02-20 16:18:53 +08:00
committed by GitHub
parent dd883677b8
commit 8368ee7712

View File

@@ -44,6 +44,16 @@ openai:
model: deepseek-chat # 模型名称(必填)
max_total_tokens: 120000 # LLM 相关上下文的最大 Token 数限制(内存压缩和攻击链构建会共用此配置)
# ============================================
# 信息收集FOFA配置可选
# ============================================
# 用于「信息收集」页面调用 FOFA API后端代理避免前端暴露 key
# 也可通过环境变量配置FOFA_EMAIL / FOFA_API_KEY优先级更高
fofa:
base_url: "https://fofa.info/api/v1/search/all" # 可选,留空则使用默认
email: "" # FOFA 账号邮箱(可选,建议在系统设置中填写)
api_key: "" # FOFA API Key可选建议在系统设置中填写
# Agent 配置
# 达到最大迭代次数时AI 会自动总结测试结果
agent: