TheHarvester

From aldeid
Jump to navigation Jump to search

Description

TheHarvester has been developed in Python by Christian Martorella. It aims at gathering e-mail accounts and subdomain names from:

  • google (www.google.com)
  • bing (search.msn.com)
  • pgp (pgp.rediris.es)

Installation

$ cd /data/src/
$ wget http://www.edge-security.com/soft/theHarvester-1.6.tar
$ mkdir -p /pentest/enumeration/
$ tar xvf theHarvester-1.6.tar -C /pentest/enumeration/

Usage

Basic syntax

$ theharvester options 

Options

-d <domain>
domain to search or company name
-b <src>
data source (google,bing,pgp,linkedin)
-s <start>
start in result number X (default 0)
-v
verify host name via dns resolution
-l <limit>
limit the number of results to work with(bing goes from 50 to 50 results, google 100 to 100, and pgp does'nt use this option)

Example

$ ./theHarvester.py -d microsoft.com -l 500 -b bing

*************************************
*TheHarvester Ver. 1.6             *
*Coded by Christian Martorella      *
*Edge-Security Research             *
*[email protected]      *
*************************************


Searching for microsoft.com in bing :
======================================

Limit:  500
Searching results: 0
Searching results: 50
Searching results: 100
Searching results: 150
Searching results: 200
Searching results: 250
Searching results: 300
Searching results: 350
Searching results: 400
Searching results: 450

Accounts found:
====================

@microsoft.com 
[email protected] 
====================

Total results:  2

Hosts found:
====================

www.microsoft.com
2fwww.microsoft.com
support.microsoft.com
2fsupport.microsoft.com
office.microsoft.com
2foffice.microsoft.com
technet.microsoft.com
2ftechnet.microsoft.com
update.microsoft.com
2fupdate.microsoft.com
msdn.microsoft.com
2fmsdn.microsoft.com
search.microsoft.com
2fsearch.microsoft.com
drmlicense.one.microsoft.com
2fdrmlicense.one.microsoft.com
oca.microsoft.com
2foca.microsoft.com
p2.myphone.microsoft.com
windows.microsoft.com
2fwindows.microsoft.com
answers.microsoft.com
2fanswers.microsoft.com
gallery.microsoft.com
2fgallery.microsoft.com
social.microsoft.com
2fsocial.microsoft.com
social.technet.microsoft.com
2fsocial.technet.microsoft.com
download.microsoft.com
v4.windowsupdate.microsoft.com
2fv4.windowsupdate.microsoft.com
.windowsupdate.microsoft.com
members.microsoft.com
2fmembers.microsoft.com
advertising.microsoft.com
2fadvertising.microsoft.com
social.answers.microsoft.com
2fsocial.answers.microsoft.com
[...Truncated...]

Comments

Talk:TheHarvester