Skip to content
Matt edited this page Nov 26, 2019 · 23 revisions

Option 1 - Kali

The easiest way to use theHarvester is by simply using Kali Linux.
Make sure you are you using a recent version.
From there simply type: theHarvester -h and you are good to go!

Option 2 - Docker

theHarvester can also be run with Docker.
First, build the docker image.

    $ ~ > git clone https://github.com/laramies/theHarvester 
    $ ~ > cd theHarvester
    $ ~ > docker build -t theharvester .
    $ ~ > docker run theharvester -h 

Option 3 - From Source (No Pipenv)

The third option is building from source, simply run these commands and you are all set!
Make sure you are using Python3.7+

    $ ~ > git clone https://github.com/laramies/theHarvester 
    $ ~ > cd theHarvester
    $ ~ > python3.7 -m pip install -r requirements.txt
    $ ~ > python3.7 theHarvester.py -h  

Option 4 - From Source (With Pipenv)

The fourth option is building from source and using pipenv. If you need help with pipenv look here
Make sure you are using Python3.7+

    $ ~ > git clone https://github.com/laramies/theHarvester 
    $ ~ > cd theHarvester
    $ ~ > python3.7 -m pip install pipenv
    $ ~ > pipenv install 
    $ ~ > pipenv shell
    $ ~ > python3.7 theHarvester.py -h

API Keys

If you wish to use api keys make sure to edit api-keys.yml

Modules that require API keys

  • bing
  • github
  • hunter
  • intelx
  • securityTrails
  • shodan
  • spyse
Clone this wiki locally