-
Notifications
You must be signed in to change notification settings - Fork 26
/
install.sh
executable file
·90 lines (73 loc) · 2.73 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
#!/bin/bash
logo(){
echo " _____ _ _ _ ";
echo "(_____) _ | | | | | ";
echo " _ ____ ___| |_ ____| | | ___| | _ ";
echo " | | | _ \ /___| _)/ _ | | | /___| || \ ";
echo " _| |_| | | |___ | |_( ( | | | |_|___ | | | |";
echo "(_____|_| |_(___/ \___\_||_|_|_(_(___/|_| |_|";
echo " ";
echo " Run it as a root user ";
echo " ";
echo " @remonsec @KathanP19 ";
}
logo
#Install Golang.
echo -e "Installing Go-Lang";
wget -q -O - https://git.io/vQhTU | bash &>/dev/null
source ~/.bashrc
echo -e " ";
#Install Subfinder.
echo -e "Installing Subfinder";
GO111MODULE=on go get -u -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder &>/dev/null
echo -e " ";
#Install Amass.
AMASS_VERSION=3.10.5
echo -e "Installing Amass";
cd ~ && echo -e "Downloading amass version ${AMASS_VERSION} ..." && wget -q https://github.com/OWASP/Amass/releases/download/v${AMASS_VERSION}/amass_linux_amd64.zip &>/dev/null && unzip amass_linux_amd64.zip &>/dev/null && mv amass_linux_amd64/amass /usr/bin/ &>/dev/null
cd ~ && rm -rf amass_linux_amd64* amass_linux_amd64.zip*
echo -e " ";
#Install Assetfinder.
echo -e "Installing Assetfinder";
go get -u github.com/tomnomnom/assetfinder &>/dev/null
echo -e " ";
#Install massdns
echo "Installing massdns"
git clone https://github.com/blechschmidt/massdns.git ~/massdns &>/dev/null
cd ~/massdns
make &>/dev/null
mv ~/massdns/bin/massdns /usr/local/bin/
echo -e " ";
#Install Findomain.
echo -e "Installing Findomain";
wget https://github.com/Edu4rdSHL/findomain/releases/latest/download/findomain-linux &>/dev/null
sudo chmod +x findomain-linux
sudo cp findomain-linux /usr/bin/findomain
sudo rm findomain-linux
echo -e " ";
#Install Anew.
echo -e "Installing Anew";
go get -u github.com/tomnomnom/anew &>/dev/null
echo -e " ";
#Install Shuffledns.
echo -e "Installing shuffledns";
GO111MODULE=on go get -u -v github.com/projectdiscovery/shuffledns/cmd/shuffledns &>/dev/null
echo -e " ";
#Install dnsgen
echo -e "Installing dnsgen";
git clone https://github.com/ProjectAnte/dnsgen &>/dev/null
cd dnsgen
pip3 install -r requirements.txt &>/dev/null
sudo python3 setup.py install &>/dev/null
cd ..
echo -e " ";
#Install Httpx
echo -e "Installing Httpx";
GO111MODULE=on go get -u -v github.com/projectdiscovery/httpx/cmd/httpx &>/dev/null
echo -e " ";
#Wordlist
echo -e "Downloading Wordlist";
curl -O https://s3.amazonaws.com/assetnote-wordlists/data/manual/2m-subdomains.txt &>/dev/null
echo -e "Downloading Resolvers"
curl -O https://raw.githubusercontent.com/janmasarik/resolvers/master/resolvers.txt &>/dev/null
echo -e "Installation Completed.";