-
Notifications
You must be signed in to change notification settings - Fork 3
/
install.sh
294 lines (234 loc) · 6.84 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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
#!/bin/bash
clear
echo '#######################################################################'
echo '# Web pentesting Setup #'
echo '#######################################################################'
echo
echo '#######################################################################'
echo '# GREAT POWER COMES WITH GREAT RESPONSIBILITY! #'
echo '#######################################################################'
echo
sudo apt-get -y update
sudo apt-get -y dist-upgrade
sudo apt-get -y autoremove
sudo apt-get -y autoclean
sudo add-apt-repository ppa:longsleep/golang-backports
sudo add-apt-repository ppa:wireshark-dev/stable
sudo add-apt-repository ppa:neovim-ppa/stable
sudo apt-get -y update
sudo apt-get -y dist-upgrade
sudo apt-get -y autoremove
sudo apt-get -y autoclean
sudo apt-get install -y golang
sudo apt-get install -y neovim
sudo apt-get install -y curl
sudo apt-get install -y python3
sudo apt-get install -y python3-pip
sudo apt-get install -y libpcap-dev
sudo apt-get install -y wget
sudo apt-get install -y build-essential
sudo apt-get install -y gcc
sudo apt-get install -y tree
sudo apt-get install -y nmap
sudo apt-get install -y prips
sudo apt-get install -y jq
sudo apt-get install -y wireshark
sudo apt-get install -y terminator
sudo apt-get install -y bashtop
sudo apt-get install -y net-tools
sudo apt-get install -y jsbeautifier
sudo apt-get install -y default-jdk
echo "installing feroxbuster"
curl -sL https://raw.githubusercontent.com/epi052/feroxbuster/master/install-nix.sh | bash
echo "moving ./feroxbuster to /usr/local/bin"
sudo mv feroxbuster /usr/local/bin
echo "done"
echo "creating a tools folder in ~/"
mkdir ~/tools
cd ~/tools/
echo "done"
echo "installing seclists"
git clone https://github.com/danielmiessler/SecLists.git
cd ~/tools/
echo "done"
echo "installing amass"
git clone https://github.com/OWASP/Amass.git
cd Amass
go install github.com/OWASP/Amass/v3/...
cd ~/tools/
echo "done"
echo "installing massdns"
git clone https://github.com/blechschmidt/massdns.git
cd massdns
make
cd ~/tools/
echo "done"
echo "installing masscan"
git clone https://github.com/robertdavidgraham/masscan.git
cd masscan
make
cd ~/tools/
echo "done"
echo "installing SQLMAP"
git clone https://github.com/sqlmapproject/sqlmap.git
cd ~/tools/
echo "done"
echo "installing dontgo403"
git clone https://github.com/devploit/dontgo403.git
cd ~/tools/
echo "done"
echo "installing parth"
git clone https://github.com/s0md3v/Parth.git
cd ~/tools/
echo "done"
echo "installing xsstrike"
git clone https://github.com/s0md3v/XSStrike.git
cd ~/tools/
echo "done"
echo "installing nikto"
git clone https://github.com/sullo/nikto.git
cd ~/tools/
echo "done"
echo "installing Linkfinder"
git clone https://github.com/GerbenJavado/LinkFinder.git
cd ~/tools/
echo "done"
echo "installing noslqi"
git clone https://github.com/Charlie-belmer/nosqli.git
cd ~/tools/
echo "done"
echo "installing arjun"
git clone https://github.com/s0md3v/Arjun.git
cd ~/tools/
echo "done"
echo "installing corstest"
git clone https://github.com/RUB-NDS/CORStest.git
cd ~/tools/
echo "done"
echo "installing corscanner"
git clone https://github.com/chenjj/CORScanner.git
cd ~/tools/
echo "done"
echo "installing Eyewitness"
git clone https://github.com/FortyNorthSecurity/EyeWitness.git
cd ~/tools/
echo "done"
echo "installing paramspider"
git clone https://github.com/devanshbatham/ParamSpider.git
cd ~/tools/
echo "done"
echo "installing match and replace"
git clone https://github.com/Leoid/MatchandReplace.git
cd ~/tools/
echo "done"
echo "installing gitleaks"
git clone https://github.com/zricethezav/gitleaks.git
cd ~/tools/
echo "done"
echo "installing trufflehog"
git clone https://github.com/trufflesecurity/truffleHog.git
cd ~/tools/
echo "done"
echo "installing smuggler"
git clone https://github.com/defparam/smuggler.git
cd ~/tools/
echo "done"
echo "installing proxify"
go install github.com/projectdiscovery/proxify/cmd/proxify@latest
echo "done"
echo "installing dnsx"
go install github.com/projectdiscovery/dnsx/cmd/dnsx@latest
echo "done"
echo "installing headi"
go install github.com/mlcsec/headi@latest
echo "done"
echo "installing gobuster"
go install github.com/OJ/gobuster/v3@latest
echo "done"
echo "installing gron"
go install github.com/tomnomnom/gron@latest
echo "done"
echo "installing asnip"
go install github.com/harleo/asnip@latest
echo "done"
echo "installing getjs"
go install github.com/003random/getJS@latest
echo "done"
echo "installing hakrevdns"
go install github.com/hakluke/hakrevdns@latest
echo "done"
echo "installing meg"
go install github.com/tomnomnom/meg@latest
echo "done"
echo "installing hakrawler"
go install github.com/hakluke/hakrawler@latest
echo "done"
echo "installing crlfuzz"
go install github.com/dwisiswant0/crlfuzz/cmd/crlfuzz@latest
echo "done"
echo "installing gospider"
go install github.com/jaeles-project/gospider@latest
echo "done"
echo "installing gowitness"
go install github.com/sensepost/gowitness@latest
echo "done"
echo "installing fff"
go install github.com/tomnomnom/fff@latest
echo "done"
echo "installing unfurl"
go install github.com/tomnomnom/unfurl@latest
echo "done"
echo "installing interactsh-client"
go install -v github.com/projectdiscovery/interactsh/cmd/interactsh-client@latest
echo "done"
echo "installing waybackurls"
go install github.com/tomnomnom/waybackurls@latest
echo "done"
echo "installing ffuf"
go install github.com/ffuf/ffuf@latest
echo "done"
echo "installing dalfox"
go install github.com/hahwul/dalfox/v2@latest
echo "done"
echo "installing naabu"
go install github.com/projectdiscovery/naabu/v2/cmd/naabu@latest
echo "done"
echo "installing gau"
go install github.com/lc/gau@latest
echo "done"
echo "installing subfinder"
go install github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest
echo "done"
echo "installing nuclei"
go install github.com/projectdiscovery/nuclei/v2/cmd/nuclei@latest
echo "done"
echo "installing httpx"
go install github.com/projectdiscovery/httpx/cmd/httpx@latest
echo "done"
echo "installing httprobe"
go install github.com/tomnomnom/httprobe@latest
echo "done"
echo "installing qsreplace"
go install github.com/tomnomnom/qsreplace@latest
echo "done"
echo "installing anew"
go install github.com/tomnomnom/anew@latest
echo "done"
echo "installing Gf"
go install github.com/tomnomnom/gf@latest
echo "done installing gf, now adding the patterns"
echo -e "Gf patterns"
cp -r $GOPATH/pkg/mod/github.com/tomnomnom/gf@v0.0.0-20200618134122-dcd4c361f9f5/examples ~/.gf
echo "installing GF patterns"
cd ~
git clone https://github.com/1ndianl33t/Gf-Patterns.git
sudo mv ~/Gf-Patterns/*.json ~/.gf
echo "created a recon folder in ~/"
mkdir ~/gorecon
echo -e "\n\n\n\nDone! All tools are set up in ~/tools"
sudo apt-get -y update
sudo apt-get -y dist-upgrade
sudo apt-get -y autoremove
sudo apt-get -y autoclean
ls -la
echo "happy hacking"