forked from nullenc0de/Project-X
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
151 lines (119 loc) · 3.56 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
#!/bin/bash -i
echo -e "
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|k|e|n|t|s|l|a|v|e|s|I|n|s|t|a|l|l|e|r|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
AUTHOR: KENT BAYRON @Kntx"
echo -e "INSTALLER FOR RECON-TOOL"
echo "USAGE:./install.sh"
#============================#
# Install Dependencies [APT] #
#============================#
apt install python3-pip -y
apt install make -y
apt install unzip -y
apt install jq -y
apt install phantomjs -y
apt install libpcap-dev -y
apt install --assume-yes chromium -y
#===========================#
# Install Dependencies [PIP3#
#===========================#
pip3 install colored
#============#
# Go Install #
#============#
mkdir ~/Research/
mkdir ~/Research/Tools/
mkdir ~/Research/Targets/
mkdir ~/Research/Tools/Others/
mkdir ~/Research/Tools/GoTools/
cd ~/Research/Tools/
#===============================#
# Install Dependencies [APPS] #
#===============================#
wget https://dl.google.com/go/go1.14.3.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.14.3.linux-amd64.tar.gz
rm go1.14.3.linux-amd64.tar.gz
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
apt install ./google-chrome-stable_current_amd64.deb -y
rm google-chrome-stable_current_amd64.deb
#===========#
# Go Config #
#===========#
echo 'export GOPATH=$HOME/Research/Tools/GoTools' >> ~/.bashrc
echo 'export PATH=${PATH}:${GOPATH}/bin' >> ~/.bashrc
echo 'export PATH=$PATH:/usr/local/go/bin' >> ~/.bashrc
source ~/.bashrc
#==========#
# Go Tools #
#==========#
# AMASS
export GO111MODULE=on
go get -v github.com/OWASP/Amass/v3/...
# ASSETFINDER
go get -u github.com/tomnomnom/assetfinder
# OTXURLS
go get -u github.com/lc/otxurls
# WAYBACKURLS
go get -u github.com/tomnomnom/waybackurls
# SUBFINDER
go get -u -v github.com/projectdiscovery/subfinder/cmd/subfinder
# FILTER-RESOLVED
go get -u github.com/tomnomnom/hacks/filter-resolved
# HTTPROBE
go get -u github.com/tomnomnom/httprobe
# HAKRAWLER
go get -u github.com/hakluke/hakrawler
# QSREPLACE
go get -u github.com/tomnomnom/qsreplace
# SUBJACK
go get -u github.com/haccer/subjack
wget https://raw.githubusercontent.com/haccer/subjack/master/fingerprints.json
mv fingerprints.json ~/Research/Tools/Others/
# WEBANALYZE
go get -u github.com/rverton/webanalyze/...
# TKO-SUBS
go get -u github.com/anshumanbh/tko-subs
wget https://raw.githubusercontent.com/anshumanbh/tko-subs/master/providers-data.csv
mv providers-data.csv ~/Research/Tools/Others/
# FINDOMAIN
wget https://github.com/Edu4rdSHL/findomain/releases/latest/download/findomain-linux
chmod +x findomain-linux
mv findomain-linux findomain
sudo mv findomain /usr/bin/
# DNSGEN
pip3 install dnsgen
# SHODAN
pip3 install shodan
#WEBSCREENSHOT
pip3 install webscreenshot
# AQUATONE
wget https://github.com/michenriksen/aquatone/releases/download/v1.7.0/aquatone_linux_amd64_1.7.0.zip
unzip aquatone_linux_amd64_1.7.0.zip
rm README.md
rm LICENSE.txt
mv aquatone ~/Research/Tools/GoTools/bin
rm aquatone_linux_amd64_1.7.0.zip
# SMUGGLER
mkdir ~/Research/Tools/Smuggler/
wget https://raw.githubusercontent.com/gwen001/pentest-tools/master/smuggler.py
mv smuggler.py ~/Research/Tools/Smuggler/
# GITHUB ENDPOINT
mkdir ~/Research/Tools/GitHubTool/
wget https://raw.githubusercontent.com/gwen001/github-search/master/github-endpoints.py
mv github-endpoints.py ~/Research/Tools/GitHubTool
# MASSDNS
git clone https://github.com/blechschmidt/massdns.git
mv massdns Massdns
cd Massdns
make
cd -
# LINKFINDER
git clone https://github.com/GerbenJavado/LinkFinder.git
cd LinkFinder
python3 setup.py install
cd -
cd $HOME
source .bashrc
echo 'INSTALLATION IS FINISHED'