用途:uncover 聚合多个网络空间搜索引擎,统一查询接口,帮助从 Shodan/Censys/FOFA/Hunter/Quake/ZoomEye/Netlas 等引擎快速发现暴露资产,适用于资产发现、互联网测绘、暴露面排查。项目地址:https://github.com/projectdiscovery/uncover
主要能力:一条命令同时查询多个引擎;支持限制结果数量、JSON 输出、静默输出、从文件读取查询;输出管道友好,可接 httpx、naabu、nuclei 等工具。
配置:编辑 ~/.config/uncover/provider-config.yaml 添加各引擎 API Key。
基本用法:uncover -q "org:target.com" -e shodan;uncover -q 'domain="target.com"' -e fofa;uncover -q "target.com" -e shodan,censys,fofa。
高级用法:uncover -q "apache" -e shodan -l 200(限制数量);uncover -q "org:target.com" -e shodan -json -o results.json(JSON 输出);uncover -q "org:target.com" -e shodan -silent(静默输出);uncover -ql queries.txt -e shodan(从文件读取查询)。
管道集成:uncover -q "org:target.com" -e shodan -silent | httpx -silent(HTTP 探活);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"。
限制:需要各搜索引擎的 API Key 才能使用对应引擎;具体收费、价格与配额暂未提供;未提供全部引擎的完整查询语法。