关于 uncover-search
这是围绕 ProjectDiscovery 的 uncover 编写的网络空间搜索方法指南,面向安全研究与资产发现。它介绍多搜索引擎统一查询、结果输出选项及与其他命令行工具的管道用法。
主要功能
- 01聚合多个搜索引擎
- 02单命令查询多数据源
- 03限制结果数量
- 04JSON 与静默输出
- 05管道连接扫描工具
适用场景
- 01按组织或域名发现互联网资产
- 02将搜索结果传给 httpx 探活
- 03把发现的资产用于端口或漏洞扫描
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ wgpsec/ aboutsecurity --skill uncover-search安装后在 Claude Code 中输入/uncover-search确认已加载。
README 原文English
来自项目 READMEREADME 暂无中文译文,以下为英文原文;中文介绍见上方。
uncover 网络空间搜索引擎聚合方法论
uncover 是 ProjectDiscovery 出品的搜索引擎聚合工具。核心优势:多引擎统一接口(Shodan/Censys/FOFA/Hunter/Quake/ZoomEye/Netlas)+ 一条命令查多源 + 管道友好。
项目地址:https://github.com/projectdiscovery/uncover
API Key 配置:编辑 ~/.config/uncover/provider-config.yaml 添加各引擎 API Key。
Phase 1: 基本搜索
# Shodan 搜索
uncover -q "org:target.com" -e shodan
# FOFA 搜索
uncover -q 'domain="target.com"' -e fofa
# Censys 搜索
uncover -q "target.com" -e censys
# 多引擎同时查询
uncover -q "target.com" -e shodan,censys,fofa
Phase 2: 高级搜索
# 限制结果数量
uncover -q "apache" -e shodan -l 200
# JSON 输出
uncover -q "org:target.com" -e shodan -json -o results.json
# 静默输出(只显示 IP:Port)
uncover -q "org:target.com" -e shodan -silent
# 从文件读取查询
uncover -ql queries.txt -e shodan
Phase 3: 管道集成
# 资产发现 → HTTP 探活
uncover -q "org:target.com" -e shodan -silent | httpx -silent
# 资产发现 → 端口扫描
uncover -q "org:target.com" -e shodan -silent | naabu -silent
# 资产发现 → 漏洞扫描
uncover -q 'domain="target.com"' -e fofa -silent | httpx -silent | nuclei
各引擎查询语法
| 引擎 | 域名查询 | 组织查询 |
|---|---|---|
| Shodan | hostname:target.com | org:"Target Inc" |
| Censys | target.com | autonomous_system.name:"Target" |
| FOFA | domain="target.com" | org="Target Inc" |
| Hunter | domain="target.com" | icp.name="Target" |
| Quake | domain:"target.com" | org:"Target Inc" |
评论
支持 Markdown