登录 注册

theHarvester

去点 Star
其他 blueteamdiscoveryemailsinformation-gatheringosintpython
18,301
Stars
2,734
Forks
347
Watchers
9
Open Issues
GPL-2.0
许可证
Python
语言
2011-01-01
创建时间
2026-11-10
最近更新

项目能做什么

用于收集邮箱、子域名和人名等公开信息的 OSINT 开源情报工具。
来源:AI 基于仓库事实生成 · 内容以仓库实际 README 为准

使用说明 查看原始 README 原仓库文档

中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
# theHarvester

![theHarvester logo](theHarvester-logo.webp)

[![Python CI](https://github.com/laramies/theHarvester/actions/workflows/theHarvester.yml/badge.svg)](https://github.com/laramies/theHarvester/actions/workflows/theHarvester.yml)
[![Docker CI](https://github.com/laramies/theHarvester/actions/workflows/dockerci.yml/badge.svg)](https://github.com/laramies/theHarvester/actions/workflows/dockerci.yml)

theHarvester gathers open-source intelligence about a domain or organization from search engines, certificate transparency logs, DNS datasets, code repositories, threat-intelligence platforms, and other public sources. It normalizes hostnames, email addresses, IP addresses, URLs, ASNs, people, breach names, and structured evidence from optional actions.

Use theHarvester during the early reconnaissance stage of an authorized security assessment. Run it only against targets you own or have explicit permission to test.

## Quick start

theHarvester requires Python 3.14 and [uv](https://docs.astral.sh/uv/getting-started/installation/). The repository's `.python-version` lets `uv` select the required Python version automatically:

```bash
git clone https://github.com/laramies/theHarvester.git
cd theHarvester
uv sync
uv run theHarvester -d example.com -b crtsh,certspotter
```

This first run uses two P0 passive sources that need no API key. Passive means the target is not contacted directly, but the selected providers still receive the target string. The terminal reports each source outcome and any retained findings. A source can complete with zero findings, stop early with partial evidence, or fail without erasing evidence retained by other sources.

See the [installation guide](docs/wiki/Installation.md) for packaged distributions and platform-specific setup.

## Choose how to work

| Interface | Best for | Start with |
| --- | --- | --- |
| CLI | One-off reconnaissance and shell workflows | `uv run theHarvester -h` |
| HarvestView | Local run history, evidence review, hostname changes, and schedules | `uv run harvestview` |
| REST API | Authenticated local automation and integrations | `http://127.0.0.1:5000/docs` |

The CLI, REST API, and HarvestView share one finite-run engine and normalized evidence model. HarvestView provides the local browser interface.

## Common workflows

Query several P0 passive sources:

```bash
uv run theHarvester -d example.com -b crtsh,certspotter,commoncrawl
```

Three discovery sources run at once by default. Use `-j` or `--source-workers` to change the worker count. Every selected source still runs.

Run every source that can contribute subdomains:

```bash
uv run theHarvester -d example.com -b subdomains
```

Combine capability selectors, or mix them with explicit source names:

```bash
uv run theHarvester -d example.com -b emails,urls,certspotter
```

Capability selectors form a union and choose which sources run. They do not discard other result types returned by those sources. Available selectors are `subdo
阅读完整原文

项目深度分析 AI 生成

云端持续外部攻击面监控平台(SaaS 版 EASM Lite)

产品构想基于 theHarvester 核心发现引擎与 HarvestView 数据模型,封装为纯托管 SaaS,提供定期自动化巡检、资产增量/减量 Diff 比对及即时告警服务。
核心功能定期自动调度巡检、子域名及泄露邮箱差量监控、企业微信/Slack/Webhook 告警、资产拓扑可视化、历史趋势归档。
目标用户中小型企业安全负责人、安全运维工程师、独立安全顾问。
难度/周期中等 · 4-6 周 · 成本:低(基础云主机、代理 IP 池成本、外部 API 消耗费用)
收费模式SaaS 订阅制(按监控域名数量、扫描频率阶梯按月/年收费)。
竞争风险GPL-2.0 协议约束(云端托管不直接分发二进制可规避 GPL 传染,但二次开发代码需注意合规隔离);被扫描目标滥用引发的网络滥用投诉(Abuse)风险。
依据 已验证事实(README 中已存在 REST API、SQLite 存储与 HarvestView 本地调度及差量查看功能)

聚合情报源与代理托管的 Recon-as-a-Service API 网关

产品构想解决 theHarvester 依赖大量第三方商业 API Key、容易被公共数据源封禁 IP 的痛点,提供一个免配置外部 Key、内置动态住宅/数据中心代理池的高并发侦察 API 服务。
核心功能一站式免 Key 统一 OSINT 查询端点、动态代理轮换与防封禁策略、JSONL 结构化结果实时流式返回、并发任务队列管控。
目标用户安全研发工程师、DevSecOps 团队、自动化渗透测试工具开发者、资深漏洞赏金猎人。
难度/周期高 · 6-8 周 · 成本:中(采购各商业平台 API Key 额度及稳定代理 IP 池的固定支出)
收费模式API 额度预充值包或按请求量/月度套餐收费(Pay-per-query)。
竞争风险上游商业威胁情报源(如 Shodan、Hunter 等)的服务条款(ToS)转售限制风险;代理 IP 消耗成本过高导致利润薄弱。
依据 已验证事实(代码事实证明 theHarvester 依赖众多第三方 API 与无 Key 被动源)

面向安全咨询机构的白标渗透测试侦察工作台

产品构想将 theHarvester 深度整合进红队协作工作流,提供带客户授权存证、多团队协作、自定义评分与品牌白标导出的专业评估系统。
核心功能多租户与客户项目隔离、测试授权凭证留存(合规审计)、一键生成 Word/PDF 格式的白标交付报告、Jira/飞书漏洞跟进打通。
目标用户中小型安全服务公司(MSSP)、渗透测试团队、安全咨询顾问。
难度/周期中等 · 4-6 周 · 成本:低(基础开发与报告模板引擎建设)
收费模式私有化部署买断许可(On-Premise License)或团队席位年费订阅。
竞争风险GPL-2.0 许可证下私有化闭源打包分发存在开源合规冲突(必须通过解耦架构,将 GPL 组件作为独立服务调用)。
依据 数据支持的判断(项目拥有 1.8w+ Stars,大量红蓝队用户有报告输出及团队协同的刚需)
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心

竞品与相似项目 GitHub Search 真实检索

相似项目数据正在完善中,暂不展示(避免误导)

项目优势与风险

技术成熟度创建于 2011-01-01,近 30 天仍在推送,发布过 38 个 Release
社区活跃Star 18,301 / Fork 2,734 / Issue 9(数据支持,可自行核实)
许可证GPL-2.0 商用需注意传染性条款
主要风险上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价

安装与使用

此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。