# 使用 Homebrew, Nix 安装 theharvester

查看 theharvester 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:theharvester
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install theharvester
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#theharvester
```

  证据: nixpkgs package indexes: pkgs/by-name/th/theharvester/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:theharvester
- **软件包管理器:** Homebrew
- **版本:** 4.11.1
- **来源摘要:** Gather materials from public sources (for pen testers)
- **主页:** <https://www.edge-security.com>
- **仓库:** <https://github.com/laramies/theHarvester>
- **最后更新:** 2026-06-16T13:15:41Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- restfulHarvest (别名)
- theHarvester (别名)
- theharvester (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 4.11.1
## 项目历史与用法

theHarvester is an OSINT and reconnaissance tool for gathering emails, names, subdomains, IPs, and URLs from public data sources during the early stages of a penetration test. The official wiki describes it as simple but effective for mapping an organization's external threat landscape.

### 项目历史

The project is maintained in the laramies/theHarvester repository and is described by its README as an emails, subdomains, and names harvester for OSINT. Over time it has become a Python security tool with a long module list: the README enumerates passive data sources such as search engines, certificate transparency services, threat-intelligence APIs, code search, and internet-exposure databases.

### 采用历史

The official installation wiki explicitly says the easiest way to use theHarvester is through Kali Linux, where users can run `theHarvester -h`. The same page also documents pipx, Docker, and source-based installation, while the repository page shows a large GitHub audience and dozens of official releases. In package-manager culture, its presence in Homebrew and Nix gives macOS and reproducible-environment users a route to a tool historically associated with security distributions.

### 使用方式

Typical use is passive reconnaissance: users configure API keys when needed, select modules or data sources, and collect public-facing identifiers for a target domain. The README's passive module list shows why API-key management matters: many useful sources have quotas, pricing, or authenticated access, and the wiki documents where `api-keys.yaml` lives under packaged and cloned installs.

### 为什么软件包爱好者会关心

theHarvester matters to package nerds because it is a classic security CLI that crosses the boundary between specialist pentest distros and general-purpose package managers. A Homebrew formula turns a Kali-associated recon workflow into a one-command install on macOS, while the tool's module list creates a constant packaging concern around Python dependencies, browser automation, and optional API credentials.

### 时间线

- 2020: Official GitHub wiki home page revision describes the tool's early-pentest OSINT role.
- 2025-2026: Official GitHub tags page shows active 4.x releases.
- 2026: Installation wiki documents Kali, pipx, Docker, and source workflows.
- 2026: Repository page shows release 4.11.1 as the latest release on June 3, 2026.

### Related projects

- Related tools include other OSINT and recon CLIs such as subdomain enumerators, certificate-transparency query tools, internet search APIs, Shodan-like asset search tools, and Kali Linux reconnaissance utilities. theHarvester's niche is aggregating many public sources behind one command-line interface.

### 来源

- <https://github.com/laramies/theHarvester#readme - official README for install/run commands, passive modules, contributors, topics, releases, and project description.>
- <https://github.com/laramies/theHarvester/tags - official GitHub tags page for 4.x release timeline.>
- <https://github.com/laramies/theHarvester/wiki - official wiki description of purpose and early penetration-test use.>
- <https://github.com/laramies/theHarvester/wiki/Installation - official installation and API-key location notes, including Kali, pipx, Docker, source install, and api-keys paths.>


## 安全说明

没有找到 theharvester 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Credential files

- Linux: /etc/theHarvester/api-keys.yml, api-keys.yaml
- macOS: /usr/local/etc/theharvester/api-keys.yaml, api-keys.yaml
## 其他软件包管理器记录

- Nix - theharvester: normalized package name match | nixpkgs package indexes: pkgs/by-name/th/theharvester/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/theharvester.yml](https://github.com/mxcl/pkgdb/blob/main/combined/theharvester.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
