E-mails, subdomains and names Harvester - OSINT
Find a file
2025-12-23 00:12:58 +00:00
.github Remove threatminer from ci 2025-12-23 00:12:58 +00:00
bin Fix #2055 2025-07-08 02:37:21 +01:00
README Update Docker Python version , adjust Docker ignore files 2024-10-27 01:09:59 +01:00
tests Refactor hackertarget module follow core logic to make it consistent with the rest of the code base since the api key support got added. 2025-12-21 05:31:38 +00:00
theHarvester Apply ruff fixes and formatting 2025-12-21 07:00:42 +00:00
.dockerignore Update Docker Python version , adjust Docker ignore files 2024-10-27 01:09:59 +01:00
.git-blame-ignore-revs update run formatter commit 2023-07-26 22:10:19 -04:00
.gitattributes
.gitignore Add uv.lock to manage dependencies and ensure consistent builds 2025-12-21 05:53:24 +00:00
docker-compose.yml update docker compose port to use the correct port 2025-07-08 18:39:09 +01:00
Dockerfile Update Dockerfile to fix dep install issues 2025-09-09 01:45:32 +01:00
pyproject.toml Update screenshot module to fix deprecation warnings 2025-12-21 05:11:41 +00:00
README.md Update README: Replace uv sync --extra dev with uv sync --all-groups in installation instructions 2025-12-21 05:35:40 +00:00
restfulHarvest.py reformat with ruff 2024-08-07 19:28:52 +01:00
theHarvester-logo.png Update theHarvester-logo.png 2019-09-10 23:14:45 +02:00
theHarvester-logo.webp add webp format of theHarvester logo 2023-02-05 14:57:27 +00:00
theHarvester.py Fix #2055 2025-07-08 02:37:21 +01:00
uv.lock Add uv.lock to manage dependencies and ensure consistent builds 2025-12-21 05:53:24 +00:00

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:

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:

uv sync

Run theHarvester:

uv run theHarvester

Development

To install development dependencies:

uv sync --all-groups

To run tests:

uv run pytest

To run linting and formatting:

uv run ruff check
uv run ruff format

Passive modules

Active modules

  • DNS brute force: dictionary brute force enumeration
  • Screenshots: Take screenshots of subdomains that were found

Modules that require an API key

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

  • bevigil - 50 free queries/month. 1k queries/month $50
  • brave - free plan available. Pro plans for higher limits
  • bufferoverun - 100 free queries/month. 10k/month $25
  • builtwith - 50 free queries ever. $2950/yr
  • censys - 500 credits $100
  • criminalip - 100 free queries/month. 700k/month $59
  • dehashed - 500 credts $15, 5k credits $150
  • dnsdumpster - 50 free querries/day, $49
  • fofa - query credits 10,000/month. 100k results/month $25
  • fullhunt - 50 free queries. 200 queries $29/month, 500 queries $59
  • github-code
  • haveibeenpwned - 10 email searches/min $4.50, 50 email searches/min $22
  • hunter - 50 free credits/month. 12k credits/yr $34
  • hunterhow - 10k free API results per 30 days. 50k API results per 30 days $10
  • intelx - free account is very limited. Business acount $2900
  • leakix - free 25 results pages, 3000 API requests/month. Bounty Hunter $29
  • leaklookup - 20 credits $10, 50 credits $20, 140 credits $50, 300 credits $100
  • netlas - 50 free requests/day. 1k requests $49, 10k requests $249
  • onyphe - 10M results/month $587
  • pentesttools - 5 assets netsec $95/month, 5 assets webnetsec $140/month
  • projecdiscovery - requires work email. Free monthly discovery and vulnerability scans on sign-up email domain, enterprise $
  • rocketreach - 100 email lookups/month $48, 250 email lookups/month $108
  • securityscorecard - requires a work email
  • securityTrails - 50 free queries/month. 20k queries/month $500
  • shodan - Freelancer $69 month, Small Business $359 month
  • tomba - 25 free searches/month. 1k searches/month $39, 5k searches/month $89
  • venacus - 1 free search/day. 10 searches/day $12, 30 searches/day $36
  • virustotal - 500 free lookups/day, 15.5k lookups/month. Busines accounts requires a work email
  • whoisxml - 2k queries $50, 5k queries $105
  • windvane - 100 free queries
  • zoomeye - 5 free results/day. 30/results/day $190/yr

Package versions

Packaging status

Comments, bugs, and requests

Main contributors

  • Twitter Follow Matthew Brown @NotoriousRebel1
  • Twitter Follow Jay "L1ghtn1ng" Townsend @jay_townsend1
  • Twitter Follow Lee Baird @discoverscripts

Thanks

  • John Matherly - Shodan project
  • Ahmed Aboul Ela - subdomain names dictionaries (big and small)