Coder Social home page Coder Social logo

set-up-a-virtual-python-environment-and-installing-theharvester's Introduction

Set Up a Virtual Python Environment & installing-theHarvester at the same time

This virtual enviornment is necessary when you are using virtual machine or Usually when you'll get an error --->

"externally-managed-environment"

which means your python environment that is managed outside of the package manager or virtual environment tool. .

Then use this commands serially ------->

  1. apt install python3-virtualenv --> #Install the virtual Environment

  2. virtualenv /venv ---> # Create a virtual environment

  3. source venv/bin/activate

    OR

    source /venv/bin/activate (if you do from other directory) --> # Activate the virtual environment

  4. git clone https://github.com/laramies/theHarvester ------> #Clone the directory to your linux pc.

  5. cd theHarvester ----> #Go to theHarvester directory.

  6. sudo apt install python3-pip ------> #To install pip.

  7. pip3 install -r requirements.txt ----> need to install the requirement everytime after creating virtual enviornment.

python3 theHarvester.py -d example.com -b all ---> #Here all means all search engines.

when done you can deactivate the environment using the command ---->

deactivate

To reactivate the virtual Environment Again/Later

Navigate to the directory where your virtual environment is located. then type the 3rd command

If you want to create another enviornment in another directory then type 2nd and 3rd command

How to add API Keys in Harvester for more accurate results

Some private search engines like shodan, virusdefender etc needs to add their API in the harvester for searching. to add their API just login to those websites and copy their respective APIs. Then edit this file

sudo mousepad /etc/theHarvester/api-keys.yaml

from there add the API keys under there names according to serial. then save it. then when you'll search again something, system will search from those websites also using the APIs.

set-up-a-virtual-python-environment-and-installing-theharvester's People

Contributors

tony-edward-stark avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.