forked from tracelabs/tlosint-live
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathupdater-current.sh
227 lines (175 loc) · 5.64 KB
/
updater-current.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
#!/usr/bin/env bash
tput setaf 5;echo "###############################"
tput setaf 5;echo "# Trace Labs OSINT VM Updater #"
tput setaf 5;echo "###############################"
echo "[+] Update + Upgrade System.."
sudo apt update -qq
sudo apt upgrade -qq -y
sudo npm install npm@latest -g
sudo npm update -g
echo "[+] Upgrading Kali version to latest..."
sudo apt dist-upgrade -qq -y
sudo apt full-upgrade -qq -y
#################
tput setaf 5;echo "[+] Replace Kali Firefox Bookmarks..."
{
sudo wget -O /usr/share/firefox-esr/distribution/distribution.ini https://raw.githubusercontent.com/tracelabs/tlosint-live/master/kali-config/common/includes.chroot/usr/share/firefox-esr/distribution/distribution.ini
}
tput setaf 2;echo "[+] Done."
#################
tput setaf 5;echo "[+] Updating Twint..."
{
sudo -H pip3 install --upgrade twint
}
tput setaf 2;echo "[+] Done."
##################
tput setaf 5;echo "[+] Updating LittleBrother..."
{
if [ -d "/usr/share/LittleBrother" ]; then
cd /usr/share/LittleBrother
sudo git pull https://github.com/Lulz3xploit/LittleBrother --rebase
else
sudo git clone https://github.com/Lulz3xploit/LittleBrother /usr/share/LittleBrother
fi
}
tput setaf 2;echo "[+] Done."
##################
tput setaf 5;echo "[+] Updating PhoneInfoga..."
{
if [ -d "/usr/share/phoneinfoga" ]; then
cd /usr/share/phoneinfoga
sudo git init
sudo git pull https://github.com/sundowndev/PhoneInfoga.git --rebase
else
sudo git clone https://github.com/sundowndev/PhoneInfoga.git /usr/share/phoneinfoga
fi
}
tput setaf 2;echo "[+] Done."
###################
tput setaf 5;echo "[+] Updating ExifScan..."
{
if [ -d "/usr/share/exifscan" ]; then
cd /usr/share/exifscan
sudo git pull https://github.com/rcook/exifscan.git --rebase
else
sudo git clone https://github.com/rcook/exifscan /usr/share/exifscan
fi
}
tput setaf 2;echo "[+] Done."
#####################
tput setaf 5;echo "[+] Updating DumpsterDiver..."
{
if [ -d "/usr/share/DumpsterDiver" ]; then
cd /usr/share/DumpsterDiver
sudo git pull https://github.com/securing/DumpsterDiver.git --rebase
else
sudo git clone https://github.com/securing/DumpsterDiver /usr/share/DumpsterDiver
fi
}
tput setaf 2;echo "[+] Done."
######################
tput setaf 5;echo "[+] Updating Sherlock..."
{
if [ -d "/usr/share/sherlock" ]; then
cd /usr/share/sherlock
sudo git init
sudo git pull https://github.com/sherlock-project/sherlock.git --rebase
else
sudo git clone https://github.com/sherlock-project/sherlock /usr/share/sherlock
fi
}
tput setaf 2;echo "[+] Done."
#########################
tput setaf 5;echo "[+] Updating Infoga..."
{
if [ -d "/usr/share/Infoga" ]; then
cd /usr/share/Infoga
sudo git pull https://github.com/m4ll0k/Infoga.git --rebase
else
sudo git clone https://github.com/m4ll0k/Infoga /usr/share/Infoga
fi
}
tput setaf 2;echo "[+] Done."
#########################
tput setaf 5;echo "[+] Updating Metagoofil..."
{
if [ -d "/usr/share/metagoofil" ]; then
cd /usr/share/metagoofil
sudo git init
sudo git pull https://github.com/opsdisk/metagoofil.git --rebase
else
sudo git clone https://github.com/opsdisk/metagoofil /usr/share/metagoofil
fi
}
tput setaf 2;echo "[+] Done."
###########################
tput setaf 5;echo "[+] Updating Stego Toolkit..."
{
if [ -d "/usr/share/stego-toolkit" ]; then
cd /usr/share/stego-toolkit
sudo git pull https://github.com/DominicBreuker/stego-toolkit.git --rebase
else
sudo git clone https://github.com/DominicBreuker/stego-toolkit.git /usr/share/stego-toolkit
fi
}
tput setaf 2;echo "[+] Done."
###########################
tput setaf 5;echo "[+] Updating sn0int..."
{
if [ -d "/usr/share/sn0int" ]; then
cd /usr/share/sn0int
sudo git pull https://github.com/kpcyrd/sn0int.git --rebase
sudo cargo install -f --path .
else
sudo git clone https://github.com/kpcyrd/sn0int /usr/share/sn0int
fi
}
tput setaf 2;echo "[+] Done."
############################
tput setaf 5;echo "[+] Updating Spiderpig..."
{
if [ -d "/usr/share/Spiderpig" ]; then
cd /usr/share/Spiderpig
sudo git pull https://github.com/hatlord/Spiderpig.git --rebase
bundle install
else
sudo git clone https://github.com/hatlord/Spiderpig /usr/share/Spiderpig
fi
}
tput setaf 2;echo "[+] Done."
############################
tput setaf 5;echo "[+] Updating WhatsMyName..."
{
if [ -d "/usr/share/WhatsMyName" ]; then
cd /usr/share/WhatsMyName
sudo git pull https://github.com/WebBreacher/WhatsMyName.git --rebase
else
sudo git clone https://github.com/WebBreacher/WhatsMyName /usr/share/WhatsMyName
fi
}
tput setaf 2;echo "[+] Done."
############################
tput setaf 5;echo "[+] Updating WikiLeaker..."
{
if [ -d "/usr/share/WikiLeaker" ]; then
cd /usr/share/WikiLeaker
sudo git pull https://github.com/jocephus/WikiLeaker.git --rebase
else
sudo git clone https://github.com/jocephus/WikiLeaker /usr/share/WikiLeaker
fi
}
tput setaf 2;echo "[+] Done."
############################
tput setaf 5;echo "[+] Updating OnionSearch..."
{
if [ -d "/usr/share/OnionSearch" ]; then
cd /usr/share/OnionSearch
sudo git pull https://github.com/megadose/OnionSearch.git --rebase
else
sudo git clone https://github.com/megadose/OnionSearch.git /usr/share/OnionSearch
fi
}
tput setaf 2;echo "[+] Done."
############################
#fix updater on host system to pull from main branch
sed -i 's/dev/master/g' /usr/share/updater/updater.sh