Skip to content

Instantly share code, notes, and snippets.

@0xklaue
Last active January 21, 2021 17:10
Show Gist options
  • Save 0xklaue/801f61f047a5d7afb48f17700c06d4fc to your computer and use it in GitHub Desktop.
Save 0xklaue/801f61f047a5d7afb48f17700c06d4fc to your computer and use it in GitHub Desktop.
Install tools for recon. Make sure you have installed golang and added to your $PATH
sudo apt-get update -y
sudo apt-get upgrade -y
sudo apt-get install -y libcurl4-openssl-dev
sudo apt-get install -y libssl-dev
sudo apt-get install -y jq
sudo apt-get install -y ruby-full
sudo apt-get install -y libcurl4-openssl-dev libxml2 libxml2-dev libxslt1-dev ruby-dev build-essential libgmp-dev zlib1g-dev
sudo apt-get install -y build-essential libssl-dev libffi-dev python-dev
sudo apt-get install -y python-setuptools
sudo apt-get install -y libldns-dev
sudo apt-get install -y python3-pip
sudo apt-get install -y python-pip
sudo apt-get install -y python-dnspython
sudo apt-get install -y git
sudo apt-get install -y rename
sudo apt-get install -y xargs
sudo chown ubuntu:ubuntu /opt
mkdir /opt/tools
cd /opt/tools
echo "Installing Aquatone"
go get github.com/michenriksen/aquatone
echo "done"
echo "Installing Chromium"
sudo snap install chromium
echo "done"
echo "installing dirsearch"
git clone https://github.com/maurosoria/dirsearch.git
echo "done"
echo "installing nmap"
sudo apt-get install -y nmap
echo "done"
echo "installing httprobe"
go get -u github.com/tomnomnom/httprobe
echo "done"
echo "installing gau"
go get -u github.com/lc/gau
echo "done"
echo "downloading Seclists"
cd /opt/tools
git clone https://github.com/danielmiessler/SecLists.git
echo "done"
echo "downloading assetfinder"
go get -u github.com/tomnomnom/assetfinder
echo "done"
echo "downloading amass"
GO111MODULE=on go get github.com/OWASP/Amass/v3/...
echo "done"
echo "downloading subfinder"
GO111MODULE=on go get github.com/projectdiscovery/subfinder/v2/cmd/subfinder
echo "done"
echo "downloading httpx"
GO111MODULE=on go get github.com/projectdiscovery/httpx/cmd/httpx
echo "done"
echo "downloading naabu"
go get github.com/projectdiscovery/naabu/v2/cmd/naabu
echo "done"
print "\n\n"
echo "Done. Make sure configuration files are set for subfinder & amass."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment