forked from s1l3nt78/TigerShark
-
Notifications
You must be signed in to change notification settings - Fork 1
/
install.sh
executable file
·386 lines (355 loc) · 8.77 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
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
#!/bin/bash
ORNG='\033[0;33m'
NC='\033[0m'
W='\033[1;37m'
LP='\033[1;35m'
YLW='\033[1;33m'
LBBLUE='\e[104m'
RED='\033[0;31m'
sudo apt-get install golang-1.11 golang-1.11-go golang-1.11-src git python2 python3 python3-pip python3-dev python3 virtualenv gnupg certbot wine wine64
echo -e "${YLW}This script will download and install all the tools needed for TigerShark to run."
echo -e "If this is okay, hit ${LP}enter${YLW} - otherwise ${RED}Ctrl${W} + ${RED}c ${YLW}to cancel${NC}"
read ACCEPT
if [[ -d '/opt/TigerShark' ]]; then
sleep 1
else
pwd
cd ..
sudo mv TigerShark -t /opt
sudo chown $USER:$USER -R /opt/TigerShark
fi
echo -e "${LP}================================================================================${NC}"
cd /opt/TigerShark
chmod +x tigershark
# Toolinstallations
if [[ -d 'tools' ]]; then
sleep 1
else
mkdir tools
fi
cd /opt/TigerShark/tools
#Catphish (done)
if [[ -d 'catphish' ]]; then
sleep 1
else
git clone https://github.com/ring0lab/catphish
cd catphish
bundle install
echo -e "${W}CatPhish Installed${NC}"
cd ..
fi
cd /opt/TigerShark/tools
#Gophish (done)
if [[ -d 'gophish' ]]; then
sleep 1
else
git clone https://github.com/gophish/gophish.git
cd gophish
go get github.com/gophish/gophish
go build
sudo cp gophish -t /usr/sbin
sudo chown $USER:$USER /usr/sbin/gophish
echo -e "${W}GoPhish Installed${NC}"
cd ..
fi
cd /opt/TigerShark/tools
#PhishX - Phishing generator with multiple tools (*useful*) (done)
if [[ -d 'PhishX' ]]; then
sleep 1
else
git clone https://github.com/rezaaksa/PhishX.git
cd PhishX
chmod +x installer.sh
bash installer.sh
python3 PhishX.py
echo -e "${W}PhishX Installed${NC}"
cd ..
fi
cd /opt/TigerShark/tools
#WeeMan
if [[ -d 'weeman' ]]; then
sleep 1
else
git clone https://github.com/evait-security/weeman.git
fi
cd /opt/TigerShark/tools
#SocialFish - Phishing server, can be used with mobile. (done)
if [[ -d 'SocialFish' ]]; then
sleep 1
else
git clone https://github.com/UndeadSec/SocialFish.git
cd SocialFish
python3 -m pip install -r requirements.txt
echo -e "${W}SocialPhish Installed${NC}"
cd ..
fi
cd /opt/TigerShark/tools
#Artemis - Phishing page generator (clones a page, and allows your choice of selecter parameters.) (done)
if [[ -d 'Artemis' ]]; then
sleep 1
else
git clone https://github.com/sweetsoftware/Artemis.git
cd Artemis
python2 -m pip install -r requirements.txt
echo -e "${W}Artemis Installed${NC}"
cd ..
fi
cd /opt/TigerShark/tools
#PhishBait - Email harvester for attacks. (done)
if [[ -d 'PhishBait' ]]; then
sleep 1
else
git clone https://github.com/pan0pt1c0n/PhishBait.git
echo -e "${W}PhishBait Installed${NC}"
fi
cd /opt/TigerShark/tools
#STP - Node based phishing server (done)
if [[ -d 'STP' ]]; then
sleep 1
else
git clone https://github.com/PowerScript/STP.git
echo -e "${W}STP Installed${NC}"
fi
cd /opt/TigerShark/tools
#HiddenEye (done)
if [[ -d 'HiddenEye' ]]; then
rm -rf HiddenEye
git clone https://github.com/Soldie/HiddenEye-DarkSecDevelopers
cd HiddenEye-DarkSecDevelopers
pip3 install -r requirements.txt
fi
if [[ -d 'HiddenEye-DarkSecDevelopers' ]]; then
sleep 1
else
git clone https://github.com/Soldie/HiddenEye-DarkSecDevelopers
cd HiddenEye-DarkSecDevelopers
sudo pip3 install -r requirements.txt
sudo pip3 install requests
echo -e "${W}HiddenEye Installed${NC}"
cd ..
fi
cd /opt/TigerShark/tools
# PhEmail
if [[ -d 'PhEmail' ]]; then
sleep 1
else
git clone https://github.com/Dionach/PhEmail
fi
cd /opt/TigerShark/tools
# DomainHunter
if [[ -d 'domainhunter' ]]; then
sleep 1
else
git clone https://github.com/threatexpress/domainhunter
cd domainhunter
sudo python3 -m pip install -r requirements.txt
sudo apt-get install python3-pil
cd ..
fi
cd /opt/TigerShark/tools
# CredSniper
if [[ -d 'CredSniper' ]]; then
sleep 1
else
git clone https://github.com/s1l3nt78/CredSniper.git
cd CredSniper
sudo python3 -m pip install -r requirements.txt
chmod +x install.sh
./install.sh
cd ..
fi
cd /opt/TigerShark/tools
# Enigma
if [[ -d 'Enigma' ]]; then
sleep 1
else
git clone https://github.com/UndeadSec/Enigma.git
fi
cd /opt/TigerShark/tools
# Pupy
if [[ -d 'pupy' ]]; then
sleep 1
else
git clone --recursive https://github.com/n1nj4sec/pupy.git
cd pupy
python create-workspace.py -DG pupyw
sleep 5
mv /opt/TigerShark/.vs/pupy.conf.default -t /opt/TigerShark/tools/pupy/pupy
fi
cd /opt/TigerShark/tools
# ie11 VB Exploit
if [[ -d 'ie11_vbscript_exploit' ]]; then
sleep 1
else
git clone https://github.com/ruthlezs/ie11_vbscript_exploit.git
fi
cd /opt/TigerShark/tools
# EmailGen
if [[ -d 'EmailGen' ]]; then
sleep 1
else
git clone https://github.com/navisecdelta/EmailGen
cd EmailGen
sudo gem install bundler:1.16.6
bundle install
fi
cd /opt/TigerShark/tools
# Neos-Mail Spoofer
if [[ -d 'Neos_Spoofer' ]]; then
sleep 1
else
mv /opt/TigerShark/.vs/Neos_Spoofer.zip -t .
unzip Neos_Spoofer.zip
rm Neos_Spoofer.zip
fi
cd /opt/TigerShark/tools
# CVE-2018-8174
if [[ -d 'CVE-2018-8174_EXP' ]]; then
sleep 2
else
git clone https://github.com/Yt1g3r/CVE-2018-8174_EXP.git
fi
cd /opt/TigerShark/tools
# Phantom-Evasion
if [[ -d 'Phantom-Evasion' ]]; then
sleep 1
else
git clone https://github.com/oddcod3/Phantom-Evasion.git
cd Phantom-Evasion
python3 phantom-evasion.py --setup
fi
cd /opt/TigerShark/tools
# EvilURL
if [[ -d 'EvilURL' ]]; then
sleep 1
else
git clone https://github.com/UndeadSec/EvilURL.git
fi
cd /opt/TigerShark/tools
# Cr3d0v3r
if [[ -d 'Cr3dOv3r' ]]; then
sleep 1
else
git clone https://github.com/D4Vinci/Cr3dOv3r.git
cd Cr3dOv3r
python3 -m pip install -r requirements.txt
python3 Cr3d0v3r.py -h
fi
cd /opt/TigerShark/tools
# SpookFlare
if [[ -d 'SpookFlare' ]]; then
sleep 1
else
git clone https://github.com/hlldz/SpookFlare.git
cd SpookFlare
pip install -r requirements.txt
fi
cd /opt/TigerShark/tools
# ThunderShell
if [[ -d 'ThunderShell' ]]; then
sleep 1
else
git clone https://github.com/Mr-Un1k0d3r/ThunderShell.git
fi
cd /opt/TigerShark/tools
# AdvPhishing
if [[ -d 'AdvPhishing' ]]; then
sleep 1
else
git clone https://github.com/Ignitetch/AdvPhishing.git
cd AdvPhishing
chmod 777 setup.sh
sudo ./setup.sh
fi
# CuteIt
cd /opt/TigerShark/tools
if [[ -d 'Cuteit' ]]; then
sleep 1
else
git clone https://github.com/D4Vinci/Cuteit.git
fi
cd /opt/TigerShark/tools
#Macro_Pack
if [[ -d 'macro_pack' ]]; then
sleep 1
else
git clone https://github.com/sevagas/macro_pack.git
cd macro_pack
python3 -m pip install -r requirements.txt
python3 -m pip install pyinstaller
mkdir bin
cd bin
wget https://github.com/sevagas/macro_pack/releases/download/v1.7/macro_pack.exe
fi
cd /opt/TigerShark/tools
# Graffiti
if [[ -d 'Graffiti' ]]; then
sleep 1
else
git clone https://github.com/Ekultek/Graffiti.git
cd Graffiti
chmod +x install.sh
sudo ./install.sh
fi
cd /opt/TigerShark/tools
# Merlin
if [[ -d 'merlin' ]]; then
sleep 1
else
mkdir merlin
cd merlin
wget https://github.com/Ne0nd0g/merlin/releases/download/v0.8.0/merlinServer-Linux-x64-v0.8.0.BETA.7z
wget https://github.com/Ne0nd0g/merlin/releases/download/v0.8.0/merlinAgent-Windows-x64-v0.8.0.BETA.7z
wget https://github.com/Ne0nd0g/merlin/releases/download/v0.8.0/merlinAgent-Linux-x64-v0.8.0.BETA.7z
wget https://github.com/Ne0nd0g/merlin/releases/download/v0.8.0/merlinAgent-Darwin-x64-v0.8.0.BETA.7z
wget https://github.com/Ne0nd0g/merlin/releases/download/v0.8.0/merlinAgent-DLL-v0.8.0.BETA.7z
mkdir zips && mv *.7z -t zips
echo -e "${RED}Will unzip necessary files for merlin."
echo -e "when prompted for a password, enter ${LP}merlin${NC}"
7z x zips/merlinServer-Linux-x64-v0.8.0.BETA.7z
7z x zips/merlinAgent-Windows-x64-v0.8.0.BETA.7z
7z x zips/merlinAgent-Linux-x64-v0.8.0.BETA.7z
7z x zips/merlinAgent-Darwin-x64-v0.8.0.BETA.7z
7z x zips/merlinAgent-DLL-v0.8.0.BETA.7z
fi
cd /opt/TigerShark/tools
# JS_DriveBy
if [[ -d 'JS_DriveBy' ]]; then
sleep 1
else
git clone https://github.com/MRGEffitas/Ironsquirrel.git JS_DriveBy
cd JS_DriveBy
wget https://raw.githubusercontent.com/NYAN-x-CAT/JS-Downloader/master/Downloader.js
sudo apt-get install ruby-dev
bundle install
fi
reset
echo -e "${RED}Is this the first time install tigershark or are you updating?(i/u)${NC}"
read UPQ
if [[ $UPQ == "i" ]]; then
pwd
cd /opt
sudo chown $USER:$USER -R /opt/TigerShark
echo -e "${W}Would you like tigershark to be able to be run from anywhere?(y/n)${NC}"
read ANY
if [[ ${ANY} == "y" ]]; then
cd /opt/TigerShark
chmod +x tigershark
sudo cp tigershark -t /usr/sbin
sudo chown $USER:$USER /usr/sbin/tigershark
else
sleep 1
fi
echo -e "${W}Please change SocialFish App Key in 'SocialFish/core/config.py'${NC}"
echo -e "${W}GoPhish default login is admin:gophish${NC}"
else
if [[ -f /usr/sbin/tigershark ]]; then
cd /opt/TigerShark
chmod +x tigershark
sudo cp tigershark -t /usr/sbin
sudo chown $USER:$USER /usr/sbin/tigershark
else
sleep 1
fi
fi
sudo chown $USER:$USER -R /opt/TigerShark