Hey there.
Welcome to our Kali Linux virtual machine.
As I mentioned before, in here, I'm using the Kali version 2020.2,
but you can use pretty much any Kali Linux version you want.
So to get us started, let's install the Harvester in this machine.
In theory, Kali already comes with the Harvester preinstalled,
but a person would like to download and install the latest version from GitHub,
so then I'm sure that I have the latest version of the tool.
So to get us started, let me open the terminal,
and then let me quickly change to root and then go to my desktop folder.
Awesome!
In here, to download the Harvester to GitHub,
all I have to do is use this command, which is git clone,
and then the GitHub URL.
Once I press Enter,
it will download all of the files from GitHub and save on my computer.
Now that it is completed, we can see a new folder on my desktop.
And if you check inside of this folder, you know that our files are in there.
Cool!
So now that we have the files,
we need to install other prerequisites for the two to work.
So let's start by doing an apt‑get update to ensure
that I have the latest repositories.
Awesome!
Now we need the Python pip command to install all the prerequisites.
So I'll get the Python pip by using this command,
apt‑get install python3‑pip, and this will do all the job for us.
Awesome!
Now we can use the pip3 that we just installed to install
all the prerequisites for the Harvester.
And the easiest way of doing that is by using this command, pip3
install, and then ‑r, and this requirements.text file. This file
contains all the libraries that need to be installed.
So when we press Enter, pip will install each one of them. In my case,
as you can see, I have them already installed.
So we are good to go.
But in your case,
if it is your first time running this tool, it may take
a few minutes to install everything.
Now that we have all the requirements ready,
we can run the tool to test if it works. So for that, I'll
type python3, and then the file in this folder called
theHarvester.py. Awesome! Take a look.
The tool works fine.
We are now ready to use the Harvester.