E-mails, subdomains and names Harvester - OSINT
Find a file
2019-02-25 21:02:08 -06:00
discovery Pep8 Fixes and layout fix 2019-02-17 00:27:04 +00:00
lib Removed googleCSE. 2019-02-25 21:02:08 -06:00
parsers Fix py3.8 support 2019-02-16 20:56:22 +00:00
tests update travis.yml file and builds should work now 2019-02-10 21:38:24 +00:00
wordlists Normalize other whitespace. 2019-02-04 14:18:00 +01:00
.gitattributes Removed google-profiles and clean up. 2019-02-13 23:05:52 -06:00
.gitignore Removed google-profiles and clean up. 2019-02-13 23:05:52 -06:00
.travis.yml I will get there to have slack and travis working 2019-02-17 01:02:33 +00:00
api-keys.yaml Removed googleCSE. 2019-02-25 21:02:08 -06:00
changelog.txt Code review. 2018-12-27 01:53:12 -06:00
COPYING Fix line endings. 2019-02-04 13:48:29 +01:00
Dockerfile Use project requirements file to resolve dependencies. 2019-02-25 12:23:05 +02:00
LICENSES Fix line endings. 2019-02-04 13:48:29 +01:00
README.md Removed googleCSE. 2019-02-25 21:02:08 -06:00
requirements.txt Update requirements.txt 2019-02-10 01:11:02 +00:00
theHarvester.py Removed googleCSE. 2019-02-25 21:02:08 -06:00

*******************************************************************
*                                                                 *
* | |_| |__   ___    /\  /\__ _ _ ____   _____  ___| |_ ___ _ __  *
* | __| '_ \ / _ \  / /_/ / _` | '__\ \ / / _ \/ __| __/ _ \ '__| *
* | |_| | | |  __/ / __  / (_| | |   \ V /  __/\__ \ ||  __/ |    *
*  \__|_| |_|\___| \/ /_/ \__,_|_|    \_/ \___||___/\__\___|_|    *
*                                                                 *
* theHarvester 3.0.6 v322                                         *
* Coded by Christian Martorella                                   *
* Edge-Security Research                                          *
* cmartorella@edge-security.com                                   *
*******************************************************************

Build Status

What is this?

theHarvester is a very simple, yet effective tool designed to be used in the early
stages of a penetration test. Use it for open source intelligence gathering and helping
to determine a company's external threat landscape on the internet. The tool gathers
emails, names, subdomains, IPs, and URLs using multiple public data sources that include:

Passive:

  • baidu: Baidu search engine

  • bing: Microsoft search engine - www.bing.com

  • bingapi: Microsoft search engine, through the API (Requires API key, see below.)

  • censys: Censys.io search engine

  • crtsh: Comodo Certificate search - www.crt.sh

  • cymon: Cymon.io search engine

  • dogpile: Dogpile search engine - www.dogpile.com

  • duckduckgo: DuckDuckGo search engine - www.duckduckgo.com

  • google: Google search engine (Optional Google dorking.) - www.google.com

  • google-certificates: Google Certificate Transparency report

  • hunter: Hunter search engine (Requires API key, see below.) - www.hunter.io

  • intelx: Intelx search engine (Requires API key, see below.) - www.intelx.io

  • linkedin: Google search engine, specific search for Linkedin users

  • netcraft: Netcraft Data Mining

  • securityTrails: Security Trails search engine, the world's largest repository
    of historical DNS data (Requires API key, see below.) - www.securitytrails.com

  • shodan: Shodan search engine, will search for ports and banners from discovered
    hosts - www.shodanhq.com

  • threatcrowd: Open source threat intelligence - www.threatcrowd.org

  • trello: Search trello boards (Uses Google search.)

  • twitter: Twitter accounts related to a specific domain (Uses Google search.)

  • vhost: Bing virtual hosts search

  • virustotal: Virustotal.com domain search

  • yahoo: Yahoo search engine

  • all: currently a subset of all the most effective plugins

Active:

  • DNS brute force: dictionary brute force enumeration
  • DNS reverse lookup: reverse lookup of IP´s discovered in order to find hostnames
  • DNS TDL expansion: TLD dictionary brute force enumeration

Modules that require an API key:

Add your keys to api-keys.yaml

  • hunter: API key
  • intelx: API key
  • securityTrails: API key
  • shodan: API key

Dependencies:

  • Python 3.6
  • python3 -m pip install -r requirements.txt

Changelog in 3.0:

  • Subdomain takeover checks.
  • Port scanning (basic).
  • Improved DNS dictionary.
  • Shodan DB search fixed.
  • Result storage in Sqlite.

Comments, bugs, or requests?

cmartorella@edge-security.com

Main contributors:

  • Matthew Brown @NotoriousRebel
  • Janos Zold @Jzold
  • Lee Baird @discoverscripts Twitter Follow
  • Jay Townsend @L1ghtn1ng Twitter Follow

Thanks:

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