forked from J3rry-1729/SEF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
executable file
·91 lines (74 loc) · 2.58 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
91
#!/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
source ~/.bashrc
echo -e " ";
#Install Subfinder.
echo -e "Installing Subfinder";
GO111MODULE=on go get -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder
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/
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
echo -e " ";
#Install massdns
echo "Installing massdns"
git clone https://github.com/blechschmidt/massdns.git ~/massdns
cd ~/massdns
make &>/dev/null
mv ~/massdns/bin/massdns /usr/local/bin/
cd -
echo -e " ";
#Install Findomain.
echo -e "Installing Findomain";
wget https://github.com/Edu4rdSHL/findomain/releases/latest/download/findomain-linux
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
echo -e " ";
#Install Shuffledns.
echo -e "Installing shuffledns";
GO111MODULE=on go get -v github.com/projectdiscovery/shuffledns/cmd/shuffledns
echo -e " ";
#Install dnsgen
echo -e "Installing dnsgen";
git clone https://github.com/ProjectAnte/dnsgen
cd dnsgen
pip3 install -r requirements.txt
sudo python3 setup.py install
cd ..
echo -e " ";
#Install Httpx
echo -e "Installing Httpx";
GO111MODULE=on go get -v github.com/projectdiscovery/httpx/cmd/httpx
echo -e " ";
#Wordlist
echo -e "Downloading Wordlist";
curl -O https://raw.githubusercontent.com/assetnote/commonspeak2-wordlists/master/subdomains/subdomains.txt
echo -e "Downloading Resolvers"
curl -O https://raw.githubusercontent.com/janmasarik/resolvers/master/resolvers.txt
echo -e "Installation Completed.";