-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathinstall.sh
76 lines (60 loc) · 1.37 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
sudo apt update -y
sudo apt autoremove -y
clear
echo ""
echo "Check if python3 lang installed or not..."
echo ""
if ! command -v python3 &> /dev/null
then
echo "python3 language not installed."
echo "Installing python3 Language..."
echo ""
sudo apt install python3 -y
else
echo "Python Already installed."
fi
sleep 1
clear
echo ""
echo "Check if go lang installed or not..."
echo ""
sleep 2
if ! command -v go &> /dev/null
then
echo "Go language not installed."
echo "Installing Go Language..."
echo ""
sudo curl -O https://storage.googleapis.com/golang/go1.8.linux-amd64.tar.gz
sudo tar -xvf go1.8.linux-amd64.tar.gz
sudo mv go /usr/local
sudo nano ~/.profile
export PATH=$PATH:/usr/local/go/bin
export GOROOT=$HOME/go
export PATH=$PATH:$GOROOT/bin
source ~/.profile
else
echo "Go already installed."
fi
# Installing Tools
mkdir Tools
cd Tools
echo ""
echo "Installing amass"
echo ""
sudo apt install amass
echo ""
echo "Installing sublist3r"
echo ""
sudo apt install sublist3r
echo ""
echo "Installing subfinder"
echo ""
sudo apt install subfinder
echo ""
echo "Installing SubBrute"
echo ""
git clone https://github.com/TheRook/subbrute.git
echo ""
echo "Installing Knock"
echo ""
git clone https://github.com/santiko/KnockPy.git