drak3hft7 / VPS-Bug-Bounty-Tools

Script that automates the installation of the main tools used for web application penetration testing and Bug Bounty.
176 stars 43 forks source link

now itrs working. #5

Open fernstedt opened 11 months ago

fernstedt commented 11 months ago

!/bin/bash -i

Author: drak3hft7

Date: 08/09/2021

Check if the script is executed with root privileges

if [ "$(id -u)" -eq 0 ]; then echo ""; echo -e "\e[32m\e[1mOK. The script will install the tools.\e[0m\e[39m"; echo ""; else echo ""; echo -e "\e[91m\e[1mRoot privileges are required\e[0m\e[39m"; echo ""; exit fi

Other installation commands...

Truncated for brevity...

Replacing 'go get' with 'go install' for Go tools

Naabu

echo -e "\e[93m\e[1m----> Installing Naabu"; go install -v github.com/projectdiscovery/naabu/v2/cmd/naabu@latest > /dev/null 2>&1 && ln -s ~/go/bin/naabu /usr/local/bin/; echo -e "\e[32mDone! Naabu installed."; echo ""; sleep 1.5

Subfinder

echo -e "\e[93m\e[1m----> Installing Subfinder"; go install -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest > /dev/null 2>&1 && ln -s ~/go/bin/subfinder /usr/local/bin/; echo -e "\e[32mDone! Subfinder installed."; echo ""; sleep 1.5

Github-subdomains

echo -e "\e[93m\e[1m----> Installing Github-subdomains"; go install github.com/gwen001/github-subdomains@latest > /dev/null 2>&1 && ln -s ~/go/bin/github-subdomains /usr/local/bin/; echo -e "\e[32mDone! Github-subdomains installed."; echo ""; sleep 1.5

Assetfinder

echo -e "\e[93m\e[1m----> Installing Assetfinder"; go install github.com/tomnomnom/assetfinder@latest > /dev/null 2>&1 && ln -s ~/go/bin/assetfinder /usr/local/bin/; echo -e "\e[32mDone! Assetfinder installed."; echo ""; sleep 1.5

dnsx

echo -e "\e[93m\e[1m----> Installing Dnsx"; go install github.com/projectdiscovery/dnsx/cmd/dnsx@latest > /dev/null 2>&1 && ln -s ~/go/bin/dnsx /usr/bin/; echo -e "\e[32mDone! Dnsx installed."; echo ""; sleep 1.5

Other installation commands...

Truncated for brevity...

echo -e "\e[92mDone! Operation Completed\e[0m\e[39m"; echo "";