Pentest favicon

From xegeng/dsh-pentest-skills · View interactive version

Pentest favicon is an AI agent skill from the GitHub repository xegeng/dsh-pentest-skills. favicon hash 关联资产发现。计算目标 favicon 的 mmh3 hash,匹配已知系统(泛微/致远/通达/帆软/Tomcat 等),可选 FOFA 反查同类资产。仅在用户明确要求对该目标做授权资产关联发现时使用。

How to use this skill

Skill file

favicon hash 关联 / pentest-favicon

原理:同一套 CMS/OA/中间件的默认 favicon 一致 → mmh3 hash 相同 → 搜索引擎反查发现同类资产,可能绕过 CDN、发现旁站。

授权

执行必须带 --authorized,仅限用户确认授权的目标。

执行

# 基础:计算 hash + 已知系统匹配
python pentest.py favicon <域名> --authorized

# 附加 FOFA 反查(需先配置环境变量 FOFA_EMAIL / FOFA_KEY)
python pentest.py favicon <域名> --authorized --fofa

凭据配置

FOFA 凭据只从环境变量读取(不写死):

$env:FOFA_EMAIL = "你的邮箱"
$env:FOFA_KEY = "你的key"

或写入 .env(格式 FOFA_KEY=xxx,一行一个,不会被提交)。

输出

联动

注意事项

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.