E-mails, subdomains and names Harvester - OSINT
Go to file
2019-01-03 16:12:12 +00:00
discovery Update port_scanner.py to be pep8 2019-01-01 02:38:32 +00:00
lib Update amazon IP ranges 2018-12-31 23:44:31 +00:00
parsers Fix issues that happened from fixing the merge conflict 2018-12-30 00:49:12 +00:00
tests Major tidy up of code to make certain things pep8 compliant and put parsers in to there own directory to tidy up the root tree 2018-12-28 00:49:56 +00:00
wordlists Converted more code to python3 shodan works for the most part. 2018-11-20 12:04:57 -05:00
.gitignore Update .gitignore 2019-01-01 12:25:28 +01:00
changelog.txt Code review. 2018-12-27 01:53:12 -06:00
COPYING Alignment of text. 2018-12-27 01:02:39 -06:00
Dockerfile shodan parsing fix 2018-12-29 01:11:28 +00:00
LICENSES Code review. 2018-12-27 01:53:12 -06:00
README.md Merge branch 'master' of https://github.com/laramies/theHarvester 2019-01-01 12:58:17 +01:00
requirements.txt Merge branch 'master' into master 2019-01-03 16:09:10 +00:00
stash.py Fixed reporting from crashing as board was meant to be dict not list. 2018-12-30 15:29:49 -05:00
theHarvester.py Update port_scanner.py to be pep8 2019-01-01 02:38:32 +00:00

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

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. It gathers names, emails, subdomains,
and virtual hosts 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

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

  • googleCSE: Google custom search engine

  • google-certificates: Google Certificate Transparency report

  • google-profiles: Google search engine, specific search for Google profiles

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

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

  • netcraft: Netcraft Data Mining

  • pgp: PGP key server - mit.edu

  • 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:

  • 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 discovery/constants.py

  • googleCSE: API key and CSE ID
  • hunter: API key
  • securitytrails: API key
  • shodan: API key

Dependencies:

  • Do pip3 install -r requirements.txt
  • Pip3 requires Python3

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

Thanks:

  • Matthew Brown @NotoriousRebel
  • Janos Zold @Jzold
  • Lee Baird @discoverscripts - suggestions and bugs reporting
  • John Matherly - Shodan project
  • Ahmed Aboul Ela - subdomain names dictionaries (big and small)