Last active
August 18, 2023 04:47
-
-
Save UbuntuEvangelist/410d81d5860b7e238e63d7891a59e29e to your computer and use it in GitHub Desktop.
How to install theHarvester on Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt update && apt upgrade -y | |
apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev wget libbz2-dev | |
apt install build-essential checkinstall | |
apt autoremove | |
apt install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev | |
cd /opt | |
wget https://www.python.org/ftp/python/3.11.0/Python-3.11.0.tgz | |
tar xzf Python-3.11.0.tgz | |
rm -f Python-3.11.0.tgz | |
cd Python-3.11.0 | |
./configure --enable-optimizations | |
make altinstall | |
apt install python3-pip | |
cd | |
nano ~/.bashrc | |
# Add into the bottom | |
alias python=python3 | |
alias pip=pip3 | |
# Save & Exit ctrl+s and ctrl+x | |
alias python=python3 | |
alias pip=pip3 | |
source ~/.bashrc | |
sudo apt update | |
sudo apt upgrade -y | |
python --version | |
pip --version | |
git clone https://github.com/laramies/theHarvester | |
cd theHarvester | |
pip install --upgrade pip | |
python3 -m pip install -r requirements/dev.txt | |
Else: | |
python3 -m pip install -r requirements/base.txt | |
python3 theHarvester.py -d schooloffreelancing.com -l 500 -b google |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment