-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathinstall.sh
57 lines (41 loc) · 1.43 KB
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#!/bin/bash
if [[ "$(id -u)" -ne 0 ]]; then
printf "\e[1;91m Run this program as root!\n\e[0m"
exit 1
fi
#creating directory to install tools
mkdir -p tools
cd tools
source ~/.bash_profile
apt-get -y install python python3 python-pip python3-pip
#install go lang
wget https://dl.google.com/go/go1.13.4.linux-amd64.tar.gz
sudo tar -xvf go1.13.4.linux-amd64.tar.gz
sudo mv go /usr/local
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH
echo 'export GOROOT=/usr/local/go' >> ~/.bash_profile
echo 'export GOPATH=$HOME/go' >> ~/.bash_profile
echo 'export PATH=$GOPATH/bin:$GOROOT/bin:$PATH' >> ~/.bash_profile
source ~/.bash_profile
rm go1.13.4.linux-amd64.tar.gz
#install curl
apt-get -y install curl
apt-get -y install jq
apt-get -y install sed
go get -u github.com/tomnomnom/httprobe
go get github.com/tomnomnom/waybackurls
apt-get -y install nmap
echo -e "\n\e[1;92m installing dirsearch \e[0m"
git clone https://github.com/maurosoria/dirsearch.git
echo -e "\n\e[1;92m done \e[0m"
echo -e "\n\e[1;92m installing LinkFinder \e[0m"
git clone https://github.com/GerbenJavado/LinkFinder.git
cd LinkFinder
python setup.py install
cd ../
echo -e "\n\e[1;92m done \e[0m"
echo -e "\n\e[1;92m installing subbrute \e[0m"
git clone https://github.com/TheRook/subbrute
echo -e "\n\e[1;92m done \e[0m"