-
Notifications
You must be signed in to change notification settings - Fork 1
/
find_zimbra_webshell.sh
executable file
·382 lines (364 loc) · 20.3 KB
/
find_zimbra_webshell.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
#!/bin/bash
set -e
# Search for the settings.js file
version_line=$(grep -oP 'this\.registerSetting\("CLIENT_VERSION",.*?defaultValue:"\K[0-9]+\.[0-9]+\.[0-9]+' /opt/zimbra/jetty_base/webapps/zimbra/js/zimbraMail/share/model/ZmSettings.js)
if [[ -z "$version_line" ]]; then
echo "Version string not found in settings.js"
exit 1
fi
# Extract the version number
version_number=$(echo "$version_line" | grep -oP '^[0-9]+')
echo "Extracted version number: $version_number"
# Webshell scan per version number and path
# Version 9 - /zimbra/public/
if [[ $version_number -eq 9 ]]; then
echo "Running Zimbra webshell scan for version 9."
find /opt/zimbra/jetty_base/webapps/zimbra/public -type f | grep -v -Ff <(cat << EOF
/opt/zimbra/jetty_base/webapps/zimbra/public/5xx.html
/opt/zimbra/jetty_base/webapps/zimbra/public/Boot.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/Offline.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/PasswordRecovery.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/Resources.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/TwoFactorSetup.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/addressVerification.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/blank.html
/opt/zimbra/jetty_base/webapps/zimbra/public/blankHistory.html
/opt/zimbra/jetty_base/webapps/zimbra/public/empty.html
/opt/zimbra/jetty_base/webapps/zimbra/public/error.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/extuserprov.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/insecureResponse.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/launch.html
/opt/zimbra/jetty_base/webapps/zimbra/public/launchNewWindow.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/launchZCS.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/404.html
/opt/zimbra/jetty_base/webapps/zimbra/public/flash
/opt/zimbra/jetty_base/webapps/zimbra/public/loadImgData.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/login.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/modern.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/pre-cache.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/secureRequest.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/setResourceBundle.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/com_zimbra_smime.jarx
/opt/zimbra/jetty_base/webapps/zimbra/public/proto
/opt/zimbra/jetty_base/webapps/zimbra/public/sounds
/opt/zimbra/jetty_base/webapps/zimbra/public/tmp
/opt/zimbra/jetty_base/webapps/zimbra/public/flash/player_mp3_maxi.swf
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Alert.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Boot.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Briefcase.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/BriefcaseCore.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Calendar.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/CalendarAppt.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/CalendarCore.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Clipboard.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Contacts.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/ContactsCore.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Crypt.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Debug.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Docs.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/DocsPreview.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Extras.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/ImportExport.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/JQuery.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Leaks.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Mail.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/MailCore.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/NewWindow_1.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/NewWindow_2.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/PasswordRecovery.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Portal.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Preferences.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/PreferencesCore.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Share.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Startup1_1.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Startup1_2.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Startup2.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Tasks.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/TasksCore.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/TinyMCE.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/TwoFactor.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/UnitTest.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Voicemail.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/XForms.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Zimbra.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Zimlet.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/ZimletApp.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Ajax.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/proto/index.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/sounds/im
/opt/zimbra/jetty_base/webapps/zimbra/public/tmp/jive.png
/opt/zimbra/jetty_base/webapps/zimbra/public/tmp/msn.png
/opt/zimbra/jetty_base/webapps/zimbra/public/tmp/yahoo.png
/opt/zimbra/jetty_base/webapps/zimbra/public/tmp/aol.png
/opt/zimbra/jetty_base/webapps/zimbra/public/sounds/im/notify.wav
/opt/zimbra/jetty_base/webapps/zimbra/public/sounds/im/alert.wav
EOF
)
#Version 9 - /zimbraAdmin/public/
find /opt/zimbra/jetty_base/webapps/zimbraAdmin/public -type f | grep -v -Ff <(cat << EOF
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/5xx.html
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/Boot.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/Offline.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/Resources.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/admin.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/blank.html
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/blankHistory.html
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/empty.html
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/launch.html
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/loadImgData.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/noscript.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/pre-cache.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/404.html
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/jsp/Ajax.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/jsp/Boot.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/jsp/Chartjs.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/jsp/Clipboard.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/jsp/Debug.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/jsp/JQuery.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/jsp/XForms.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/jsp/Zimbra.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/jsp/Admin.jsp
EOF
)
#Version 9 - /spool/public/
find /opt/zimbra/data/postfix/spool/public -type f | grep -v -Ff <(cat << EOF
/opt/zimbra/data/postfix/spool/public/pickup
/opt/zimbra/data/postfix/spool/public/cleanup
/opt/zimbra/data/postfix/spool/public/qmgr
/opt/zimbra/data/postfix/spool/public/flush
/opt/zimbra/data/postfix/spool/public/showq
EOF
)
#End of version 9 check
fi
if [[ $version_number -eq 8 ]]; then
echo "Running Zimbra webshell scan for version 8."
#Version 8 - /zimbra/public/
find /opt/zimbra/jetty_base/webapps/zimbra/public -type f | grep -v -Ff <(cat << EOF
/opt/zimbra/jetty_base/webapps/zimbra/public/flash
/opt/zimbra/jetty_base/webapps/zimbra/public/flash/player_mp3_maxi.swf
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Ajax.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Alert.ja
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Boot.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Briefcase.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/BriefcaseCore.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Calendar.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/CalendarAppt.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/CalendarCore.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Clipboard.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Contacts.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/ContactsCore.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Crypt.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Debug.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Docs.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/DocsPreview.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Extras.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/ImportExport.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/JQuery.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Leaks.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Mail.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/MailCore.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/NewWindow_1.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/NewWindow_2.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/PasswordRecovery.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Portal.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Preferences.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/PreferencesCore.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Share.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Startup1_1.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Startup1_2.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Startup2.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Tasks.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/TasksCore.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/TinyMCE.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/TwoFactor.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/UnitTest.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Voicemail.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/XForms.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Zimbra.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Zimlet.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/ZimletApp.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/proto
/opt/zimbra/jetty_base/webapps/zimbra/public/proto/index.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/sounds
/opt/zimbra/jetty_base/webapps/zimbra/public/sounds/im
/opt/zimbra/jetty_base/webapps/zimbra/public/sounds/im/alert.wav
/opt/zimbra/jetty_base/webapps/zimbra/public/sounds/im/notify.wav
/opt/zimbra/jetty_base/webapps/zimbra/public/tmp
/opt/zimbra/jetty_base/webapps/zimbra/public/tmp/aol.png
/opt/zimbra/jetty_base/webapps/zimbra/public/tmp/jive.png
/opt/zimbra/jetty_base/webapps/zimbra/public/tmp/msn.png
/opt/zimbra/jetty_base/webapps/zimbra/public/tmp/yahoo.png
/opt/zimbra/jetty_base/webapps/zimbra/public/loginTouch.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/404.html
/opt/zimbra/jetty_base/webapps/zimbra/public/5xx.html
/opt/zimbra/jetty_base/webapps/zimbra/public/Boot.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/Offline.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/PasswordRecovery.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/Resources.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/TwoFactorSetup.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/addressVerification.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/blank.html
/opt/zimbra/jetty_base/webapps/zimbra/public/blankHistory.html
/opt/zimbra/jetty_base/webapps/zimbra/public/empty.html
/opt/zimbra/jetty_base/webapps/zimbra/public/error.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/extuserprov.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/insecureResponse.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/launch.html
/opt/zimbra/jetty_base/webapps/zimbra/public/launchNewWindow.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/launchZCS.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/loadImgData.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/login.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/noscript.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/pre-cache.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/search.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/secureRequest.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/setResourceBundle.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/zimbrax.jsp
EOF
)
#Version 8 - /zimbraAdmin/public/
find /opt/zimbra/jetty_base/webapps/zimbraAdmin/public -type f | grep -v -Ff <(cat << EOF
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/404.html
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/5xx.html
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/admin.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/blankHistory.html
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/blank.html
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/Boot.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/empty.html
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/jsp/Admin.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/jsp/Ajax.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/jsp/Boot.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/jsp/Chartjs.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/jsp/Clipboard.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/jsp/Debug.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/jsp/JQuery.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/jsp/XForms.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/jsp/Zimbra.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/launch.html
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/loadImgData.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/noscript.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/Offline.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/pre-cache.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/Resources.jsp
EOF
)
#End of version 8 check
fi
if [[ $version_number -eq 10 ]]; then
echo "Running Zimbra webshell scan for version 10."
#Version 10 - /zimbra/public/
find /opt/zimbra/jetty_base/webapps/zimbra/public -type f | grep -v -Ff <(cat << EOF
/opt/zimbra/jetty_base/webapps/zimbra/public/flash
/opt/zimbra/jetty_base/webapps/zimbra/public/flash/player_mp3_maxi.swf
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Ajax.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Alert.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Boot.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Briefcase.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/BriefcaseCore.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Calendar.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/CalendarAppt.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/CalendarCore.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Clipboard.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Contacts.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/ContactsCore.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Crypt.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Debug.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Docs.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/DocsPreview.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Extras.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/ImportExport.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/JQuery.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Leaks.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Mail.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/MailCore.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/NewWindow_1.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/NewWindow_2.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/PasswordRecovery.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Portal.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Preferences.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/PreferencesCore.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Share.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Startup1_1.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Startup1_2.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Startup2.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Tasks.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/TasksCore.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/TinyMCE.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/TwoFactor.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/UnitTest.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Voicemail.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/XForms.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Zimbra.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/Zimlet.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/jsp/ZimletApp.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/proto
/opt/zimbra/jetty_base/webapps/zimbra/public/proto/index.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/sounds
/opt/zimbra/jetty_base/webapps/zimbra/public/sounds/im
/opt/zimbra/jetty_base/webapps/zimbra/public/sounds/im/alert.wav
/opt/zimbra/jetty_base/webapps/zimbra/public/sounds/im/notify.wav
/opt/zimbra/jetty_base/webapps/zimbra/public/tmp
/opt/zimbra/jetty_base/webapps/zimbra/public/tmp/aol.png
/opt/zimbra/jetty_base/webapps/zimbra/public/tmp/jive.png
/opt/zimbra/jetty_base/webapps/zimbra/public/tmp/msn.png
/opt/zimbra/jetty_base/webapps/zimbra/public/tmp/yahoo.png
/opt/zimbra/jetty_base/webapps/zimbra/public/404.html
/opt/zimbra/jetty_base/webapps/zimbra/public/5xx.html
/opt/zimbra/jetty_base/webapps/zimbra/public/Boot.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/Offline.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/PasswordRecovery.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/Resources.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/TwoFactorSetup.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/addressVerification.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/blank.html
/opt/zimbra/jetty_base/webapps/zimbra/public/blankHistory.html
/opt/zimbra/jetty_base/webapps/zimbra/public/empty.html
/opt/zimbra/jetty_base/webapps/zimbra/public/error.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/extuserprov.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/insecureResponse.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/launch.html
/opt/zimbra/jetty_base/webapps/zimbra/public/launchNewWindow.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/launchZCS.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/loadImgData.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/login.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/modern.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/pre-cache.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/secureRequest.jsp
/opt/zimbra/jetty_base/webapps/zimbra/public/setResourceBundle.jsp
EOF
)
#Version 10 - /zimbraAdmin/public/
find /opt/zimbra/jetty_base/webapps/zimbra/public -type f | grep -v -Ff <(cat << EOF
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/jsp/Admin.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/jsp/Ajax.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/jsp/Boot.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/jsp/Chartjs.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/jsp/Clipboard.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/jsp/Debug.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/jsp/JQuery.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/jsp/XForms.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/jsp/Zimbra.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/404.html
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/5xx.html
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/Boot.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/Offline.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/Resources.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/admin.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/blank.html
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/blankHistory.html
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/empty.html
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/launch.html
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/loadImgData.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/noscript.jsp
/opt/zimbra/jetty_base/webapps/zimbraAdmin/public/pre-cache.jsp
EOF
)
#End of version 10 check
fi