2019-09-11 05:08:37 +08:00

2019-09-11 05:18:09 +08:00
2020-07-31 21:58:51 +08:00
  [](https://lgtm.com/projects/g/laramies/theHarvester/context:python)
2019-09-01 09:45:43 +08:00
[](https://inventory.rawsec.ml/)
2011-05-04 23:07:06 +08:00
What is this?
-------------
2020-05-08 05:44:49 +08:00
theHarvester is a very simple to use, yet powerful and effective tool designed to be used in the early stages of a< br >
2020-03-11 11:42:37 +08:00
penetration test or red team engagement. Use it for open source intelligence (OSINT) gathering to help determine a< br >
company's external threat landscape on the internet. The tool gathers emails, names, subdomains, IPs and URLs using< br >
multiple public data sources that include:
2014-12-17 07:25:12 +08:00
2018-12-23 04:29:11 +08:00
Passive:
--------
2021-06-21 07:19:27 +08:00
* anubis: Anubis-DB - https://github.com/jonluca/anubis
2019-03-18 12:05:29 +08:00
* baidu: Baidu search engine - www.baidu.com
2011-05-04 23:07:06 +08:00
2018-12-23 04:29:11 +08:00
* bing: Microsoft search engine - www.bing.com
2011-05-04 23:07:06 +08:00
2019-10-15 06:13:10 +08:00
* bingapi: Microsoft search engine, through the API (Requires an API key, see below.)
2018-03-23 06:40:41 +08:00
2020-05-13 03:42:50 +08:00
* bufferoverun: Uses data from Rapid7's Project Sonar - www.rapid7.com/research/project-sonar/
2020-02-12 05:04:29 +08:00
2021-05-25 05:10:02 +08:00
* censys: [Censys search engine ](https://search.censys.io/ ), will use certificates searches to enumerate subdomains and gather emails (Requires an API key, see below.) - [censys.io ](https://censys.io/ )
2021-01-15 06:44:21 +08:00
2020-05-13 03:42:50 +08:00
* certspotter: Cert Spotter monitors Certificate Transparency logs - https://sslmate.com/certspotter/
2019-10-14 08:07:16 +08:00
2020-05-13 03:42:50 +08:00
* crtsh: Comodo Certificate search - https://crt.sh
2018-03-23 06:40:41 +08:00
2020-05-13 03:42:50 +08:00
* dnsdumpster: DNSdumpster search engine - https://dnsdumpster.com
2014-12-17 07:25:12 +08:00
2019-09-03 07:46:28 +08:00
* duckduckgo: DuckDuckGo search engine - www.duckduckgo.com
2020-03-11 11:39:21 +08:00
* github-code: GitHub code search engine (Requires a GitHub Personal Access Token, see below.) - www.github.com
2019-06-10 06:01:56 +08:00
2018-12-27 15:19:13 +08:00
* google: Google search engine (Optional Google dorking.) - www.google.com
2014-12-17 07:25:12 +08:00
2020-04-07 03:56:34 +08:00
* hackertarget: Online vulnerability scanners and network intelligence to help organizations - https://hackertarget.com
2020-04-07 03:52:15 +08:00
2019-10-15 06:13:10 +08:00
* hunter: Hunter search engine (Requires an API key, see below.) - www.hunter.io
2014-12-17 07:25:12 +08:00
2019-10-15 06:13:10 +08:00
* intelx: Intelx search engine (Requires an API key, see below.) - www.intelx.io
2019-02-01 05:13:37 +08:00
2019-10-15 06:13:10 +08:00
* linkedin: Google search engine, specific search for LinkedIn users - www.linkedin.com
2014-12-17 07:25:12 +08:00
2020-09-22 01:36:20 +08:00
* linkedin_links: specific search for LinkedIn users for target domain
2020-05-13 03:42:50 +08:00
2019-10-15 06:13:10 +08:00
* netcraft: Internet Security and Data Mining - www.netcraft.com
2014-12-17 07:33:13 +08:00
2020-09-22 01:36:20 +08:00
* omnisint: Project Crobat, A Centralised Searchable Open Source Project Sonar DNS Database - https://github.com/Cgboal/SonarSearch
2020-05-13 03:42:50 +08:00
* otx: AlienVault Open Threat Exchange - https://otx.alienvault.com
2019-09-26 06:12:24 +08:00
2020-05-09 07:54:45 +08:00
* pentesttools: Powerful Penetration Testing Tools, Easy to Use (Needs an API key and is not free for API access) - https://pentest-tools.com/home
2021-05-25 05:10:02 +08:00
* projecdiscovery: We actively collect and maintain internet-wide assets data,
to enhance research and analyse changes around DNS for better insights - https://chaos.projectdiscovery.io
(Requires an API key)
2020-09-08 06:29:51 +08:00
2020-08-17 02:04:03 +08:00
* qwant: Qwant search engine - www.qwant.com
2020-05-13 03:42:50 +08:00
* rapiddns: DNS query tool which make querying subdomains or sites of a same IP easy! https://rapiddns.io
2020-05-13 02:42:53 +08:00
2021-07-02 05:24:44 +08:00
* rocketreach: Access real-time verified personal/professional emails, phone numbers, social media links. - https://rocketreach.co
2020-03-11 11:39:21 +08:00
* securityTrails: Security Trails search engine, the world's largest repository of historical DNS data< br >
(Requires an API key, see below.) - www.securitytrails.com
2018-12-23 09:20:55 +08:00
2021-01-15 06:44:21 +08:00
* shodan: Shodan search engine, will search for ports and banners from discovered hosts (Requires an API key, see below.) - www.shodanhq.com
2014-12-17 07:33:13 +08:00
2021-09-15 17:25:02 +08:00
* spyse: [Spyse is a search engine ](https://spyse.com/ ) built for a quick cyber intelligence of IT infrastructures, networks, and even the smallest parts of the internet. (Requires an API key, see below.) - [spyse.com ](https://spyse.com )
2019-10-02 07:31:26 +08:00
2020-05-18 07:56:47 +08:00
* sublist3r: Fast subdomains enumeration tool for penetration testers - https://api.sublist3r.com/search.php?domain=example.com
2020-05-18 06:29:22 +08:00
2018-12-23 04:29:11 +08:00
* threatcrowd: Open source threat intelligence - www.threatcrowd.org
2014-12-17 07:33:13 +08:00
2020-05-26 03:52:53 +08:00
* threatminer: Data mining for threat intelligence - https://www.threatminer.org/
2018-12-23 09:20:55 +08:00
* trello: Search trello boards (Uses Google search.)
2015-05-11 06:37:00 +08:00
2018-12-23 04:29:11 +08:00
* twitter: Twitter accounts related to a specific domain (Uses Google search.)
2020-05-24 05:13:02 +08:00
* urlscan: A sandbox for the web that is a URL and website scanner - https://urlscan.io
2018-12-23 04:29:11 +08:00
* vhost: Bing virtual hosts search
2014-12-17 07:33:13 +08:00
2019-03-18 12:05:29 +08:00
* virustotal: virustotal.com domain search
2018-11-07 06:12:20 +08:00
2018-12-23 04:29:11 +08:00
* yahoo: Yahoo search engine
2014-12-17 07:25:12 +08:00
2021-07-02 05:24:44 +08:00
* zoomeye: China version of shodan - https://www.zoomeye.org
2018-11-23 07:33:04 +08:00
2014-12-17 07:25:12 +08:00
Active:
-------
2018-12-23 04:29:11 +08:00
* DNS brute force: dictionary brute force enumeration
2020-07-09 11:30:24 +08:00
* Screenshots: Take screenshots of subdomains that were found
2014-12-17 07:25:12 +08:00
2018-12-23 04:29:11 +08:00
Modules that require an API key:
--------------------------------
2020-05-26 03:52:53 +08:00
Documentation to setup API keys can be found at - https://github.com/laramies/theHarvester/wiki/Installation#api-keys
2018-12-27 15:19:13 +08:00
2021-07-02 05:24:44 +08:00
* binaryedge
2019-11-26 12:18:50 +08:00
* bing
2019-06-10 06:01:56 +08:00
* github
2021-01-17 06:03:09 +08:00
* hunter - limited to 10 on the free plan so you will need to do -l 10 switch
2019-02-28 11:31:45 +08:00
* intelx
2020-05-09 07:54:45 +08:00
* pentesttools
2020-09-08 06:29:51 +08:00
* projecdiscovery - invite only for now
2021-05-25 05:10:02 +08:00
* rocketreach
2019-02-28 11:31:45 +08:00
* securityTrails
* shodan
2020-08-24 03:29:53 +08:00
* spyse - need to have a paid account be able to use the api now
2021-05-25 05:10:02 +08:00
* censys - API keys are required and can be retrieved from your [Censys account ](https://search.censys.io/account/api ).
2021-07-02 05:24:44 +08:00
* Zoomeye
2020-03-11 11:39:21 +08:00
Install and dependencies:
-------------------------
2019-10-03 07:16:21 +08:00
* Python 3.7+
2020-01-15 07:23:20 +08:00
* https://github.com/laramies/theHarvester/wiki/Installation
2018-08-09 03:34:10 +08:00
2020-03-11 11:39:21 +08:00
Comments, bugs and requests:
2018-12-23 04:29:11 +08:00
----------------------------
2019-03-19 05:26:54 +08:00
* [](https://twitter.com/laramies) Christian Martorella @laramies
2021-05-25 05:10:02 +08:00
cmartorella@edge-security.com
2019-10-02 07:31:26 +08:00
* [](https://twitter.com/NotoriousRebel1) Matthew Brown @NotoriousRebel1
* [](https://twitter.com/jay_townsend1) Jay "L1ghtn1ng" Townsend @jay_townsend1
2014-12-17 07:25:12 +08:00
2020-03-11 11:39:21 +08:00
2019-01-09 07:49:26 +08:00
Main contributors:
2019-01-28 09:33:18 +08:00
------------------
2019-04-13 02:14:56 +08:00
* [](https://twitter.com/NotoriousRebel1) Matthew Brown @NotoriousRebel1
2019-03-19 05:26:54 +08:00
* [](https://twitter.com/jay_townsend1) Jay "L1ghtn1ng" Townsend @jay_townsend1
2021-05-25 05:10:02 +08:00
* [](https://twitter.com/discoverscripts) Lee Baird @discoverscripts
2019-01-09 07:49:26 +08:00
2020-03-11 11:39:21 +08:00
2019-01-09 07:49:26 +08:00
Thanks:
-------
2019-01-01 19:58:14 +08:00
* John Matherly - Shodan project
2018-12-23 04:29:11 +08:00
* Ahmed Aboul Ela - subdomain names dictionaries (big and small)