forked from s1l3nt78/TigerShark
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
executable file
·230 lines (208 loc) · 4.98 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
#!/bin/bash
ORNG='\033[0;33m'
NC='\033[0m'
W='\033[1;37m'
LP='\033[1;35m'
YLW='\033[1;33m'
LBBLUE='\e[104m'
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 enter - otherwise Ctrl + c to cancel${NC}"
read ACCEPT
echo -e "${LP}================================================================================${NC}"
chmod +x tigershark
# Toolinstallations
if [[ -d 'tools' ]]; then
sleep 1
else
mkdir tools
fi
cd 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
#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
#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
#WeeMan
if [[ -d 'weeman' ]]; then
sleep 1
else
git clone https://github.com/evait-security/weeman.git
fi
#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
#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
#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
#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
#HiddenEye (done)
if [[ -d 'HiddenEye' ]]; then
sleep 1
else
git clone https://github.com/DarkSecDevelopers/HiddenEye.git
cd HiddenEye
chmod 777 HiddenEye
sudo apt-get install python3-pip
cd HiddenEye
sudo pip3 install -r requirements.txt
sudo pip3 install requests
echo -e "${W}HiddenEye Installed${NC}"
cd ..
fi
# PhEmail
if [[ -d 'PhEmail' ]]; then
sleep 1
else
git clone https://github.com/Dionach/PhEmail
fi
# 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
# CredSniper
if [[ -d 'CredSniper' ]]; then
sleep 1
else
git clone https://github.com/s1l3nt78/CredSniper
cd CredSniper
sudo python3 -m pip install -r requirements.txt
chmod +x install.sh
./install.sh
cd ..
fi
# Enigma
if [[ -d 'Enigma' ]]; then
sleep 1
else
git clone https://github.com/UndeadSec/Enigma.git
fi
# 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
# ie11 VB Exploit
if [[ -d 'ie11_vbscript_exploit' ]]; then
sleep 1
else
git clone https://github.com/ruthlezs/ie11_vbscript_exploit.git
fi
# 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
# Neos-Mail Spoofer
if [[ -d 'Neos_Spoofer' ]]; then
sleep 1
else
wget https://github.com/s1l3nt78/Private/blob/master/TigerShark%20Extras/Neos_Spoofer.zip
unzip Neos_Spoofer.zip
rm Neos_Spoofer.zip
fi
# CVE-2018-8174
if [[ -d 'CVE-2018-8174-msf' ]]; then
sleep 2
else
git clone https://github.com/Yt1g3r/CVE-2018-8174_EXP.git
fi
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 ..
sudo mv TigerShark -t /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
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
sudo cp tigershark -t /usr/sbin
sudo chown $USER:$USER /usr/sbin/tigershark
else
sleep 1
fi
fi