-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
52 lines (46 loc) · 1.3 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
#! /bin/bash
# Adding color to output
set +x
#}
function red(){
echo -e "\x1B[31m $1 \x1B[0m"
if [ ! -z "${2}" ]; then
echo -e "\x1B[31m $($2) \x1B[0m"
fi
}
function blue(){
echo -e "\x1B[34m $1 \x1B[0m"
if [ ! -z "${2}" ]; then
echo -e "\x1B[34m $($2) \x1B[0m"
fi
}
function purple(){
echo -e "\x1B[35m $1 \x1B[0m \c"
if [ ! -z "${2}" ]; then
echo -e "\x1B[35m $($2) \x1B[0m"
fi
}
#Install extras
sudo apt install figlet
sudo apt install libtext-asciitable-perl
sudo apt install wpscan
# Install Go tools required for functions.
# To check your $GOPATH, enter "go env" into terminal.
blue "[+] Installing gowitness..."
go install github.com/sensepost/gowitness@latest
blue "[+] Installing httprobe..."
go install github.com/tomnomnom/httprobe@latest
blue "[+] Installing assetfinder..."
go install github.com/tomnomnom/assetfinder@latest
blue "[+] Installing amass..."
go install github.com/OWASP/Amass/v3/...@latest
blue "[+] Installing subjack..."
go install github.com/haccer/subjack@latest
blue "[+] Installing nuclei..."
go install github.com/projectdiscovery/nuclei/v2/cmd/nuclei@latest
#blue "[+] Installing CMSmap..."
#sudo git clone github.com/dionach/CMSmap.git
#cd CMSmap
#sudo pip3 install .
# Move Go path to user path
sudo cp -r /home/$USER/go/bin/* /usr/sbin