GitHub - laramies/theHarvester: E-mails, subdomains and names Harvester - OSINT (original) (raw)

theHarvester

TheHarvester CI TheHarvester Docker Image CI Rawsec's CyberSecurity Inventory

About

theHarvester is a simple to use, yet powerful tool designed to be used during the reconnaissance stage of a red team assessment or penetration test. It performs open source intelligence (OSINT) gathering to help determine a domain's external threat landscape. The tool gathers names, emails, IPs, subdomains, and URLs by using multiple public resources that include:

Package versions

Packaging status

Install and dependencies

Install uv:

curl -LsSf https://astral.sh/uv/install.sh | sh

Clone the repository:

git clone https://github.com/laramies/theHarvester cd theHarvester

Install dependencies and create a virtual environment:

Run theHarvester:

Development

To install development dependencies:

To run tests:

To run linting and formatting:

To protect the optional /additional/* REST API routes, set THEHARVESTER_API_KEY and pass the same value in the X-API-Key header. Those routes return 503 when the key is not configured.

Passive modules

Active modules

Modules that require an API key

Documentation to setup API keys can be found at - https://github.com/laramies/theHarvester/wiki/Installation#api-keys

Comments, bugs, and requests

Main contributors

Thanks