
电子邮件、子域名和名称收集器 - OSINT

theHarvester 是一款简单易用且功能强大的工具,专为红队评估或渗透测试的侦察阶段设计。它通过开源情报(OSINT)收集,帮助确定域名的外部威胁态势。该工具利用多个公共资源收集名称、电子邮件、IP、子域名和 URL,这些资源包括:
安装 uv:
curl -LsSf https://astral.sh/uv/install.sh | sh
克隆仓库:
git clone https://github.com/laramies/theHarvester
cd theHarvester
安装依赖并创建虚拟环境:
uv sync
运行 theHarvester:
uv run theHarvester
安装开发依赖:
uv sync --all-groups
运行测试:
uv run pytest
运行代码检查与格式化:
uv run ruff check
uv run ruff format
若要保护可选的 /additional/* REST API 路由,请设置 THEHARVESTER_API_KEY 并在请求头中传递相同的值(X-API-Key)。当未配置密钥时,这些路由会返回 503。
baidu:百度搜索引擎 (https://www.baidu.com)
bevigil:CloudSEK BeVigil 扫描移动应用以获取 OSINT 资产 (https://bevigil.com/osint-api)
brave:Brave 搜索引擎 – 现已使用官方 Brave 搜索 API (https://api-dashboard.search.brave.com)
bufferoverun:针对 IPv4 空间 TLS 证书的快速域名查询 (https://tls.bufferover.run)
builtwith:了解网站使用了哪些技术 (https://builtwith.com)
censys:利用证书搜索来枚举子域名并收集电子邮件 (https://censys.io)
certspotter:Cert Spotter 监控证书透明度日志 (https://sslmate.com/certspotter)
criminalip:专业网络威胁情报(CTI)搜索引擎 (https://www.criminalip.io)
crtsh:Comodo 证书搜索 (https://crt.sh)
dehashed:将数据安全提升到新水平 (https://dehashed.com)
dnsdumpster:域名研究工具,可发现与域名相关的主机 (https://dnsdumpster.com)
duckduckgo:DuckDuckGo 搜索引擎 (https://duckduckgo.com)
dymo:Dymo API 数据验证器 – 确认域名、展示拼写建议及 MX/欺诈信号 (https://dymo.tpeoficial.com)
fofa:FOFA 搜索引擎 (https://en.fofa.info)
fullhunt:下一代攻击面安全平台 (https://fullhunt.io)
github-code:GitHub 代码搜索引擎 (https://www.github.com)
hackertarget:帮助组织进行在线漏洞扫描和网络情报 (https://hackertarget.com)
haveibeenpwned:检查你的电子邮件地址是否出现在数据泄露中 (https://haveibeenpwned.com)
API 密钥设置文档请参见:https://github.com/laramies/theHarvester/wiki/Installation#api-keys
hunter:Hunter 搜索引擎 (https://hunter.io)
hunterhow:面向安全研究人员的互联网搜索引擎 (https://hunter.how)
intelx:Intelx 搜索引擎 (https://intelx.io)
leakix:LeakIX 搜索引擎 (https://leakix.net)
leaklookup:数据泄露搜索引擎 (https://leak-lookup.com)
mojeek:Mojeek 搜索引擎 (https://www.mojeek.com)
netlas:Shodan 或 Censys 的竞争对手 (https://app.netlas.io)
onyphe:网络防御搜索引擎 (https://www.onyphe.io)
otx:AlienVault 开放威胁交换 (https://otx.alienvault.com)
pentesttools:基于云的进攻性安全测试工具包,专注于 Web 应用和网络渗透测试 (https://pentest-tools.com)
projecdiscovery:主动收集并维护互联网范围的资产数据,以加强对 DNS 变化的研究和分析,获得更深入的洞察 (https://chaos.projectdiscovery.io)
rapiddns:DNS 查询工具,可轻松查询同一 IP 的子域名或站点 (https://rapiddns.io)
rocketreach:获取实时的已验证个人/工作电子邮件、电话号码和社交媒体链接 (https://rocketreach.co)
securityscorecard:帮助 TPRM 和 SOC 团队大规模检测、优先级排序并修复整个供应商生态系统中的供应商风险 (https://securityscorecard.com)
securityTrails:Security Trails 搜索引擎,全球最大的历史 DNS 数据仓库 (https://securitytrails.com)
sherlockeye:反向查询与 AI 驱动 OSINT (https://sherlockeye.io)
-s, --shodan:Shodan 搜索引擎,用于搜索已发现主机的端口和横幅信息 (https://shodan.io)
subdomaincenter:子域名查找工具,用于查找给定域名的子域名 (https://www.subdomain.center)
subdomainfinderc99:子域名查找工具,用于查找给定域名的子域名 (https://subdomainfinder.c99.nl)
thc:免费子域名枚举服务,无需 API 密钥 (https://ip.thc.org)
threatminer:威胁情报数据挖掘 (https://www.threatminer.org)
tomba:Tomba 搜索引擎 (https://tomba.io)
urlscan:Web 沙箱,是一个 URL 和网站扫描器 (https://urlscan.io)
venacus:Venacus 搜索引擎 (https://venacus.com)
virustotal:域名搜索 (https://www.virustotal.com)
whoisxml:子域名搜索 (https://subdomains.whoisxmlapi.com/api/pricing)
yahoo:雅虎搜索引擎 (https://www.yahoo.com)
windvane:Windvane 搜索引擎 (https://windvane.lichoin.com)
zoomeye:中国版 Shodan (https://www.zoomeye.org)