glasswall.determine_file_type.successes

  1from glasswall.determine_file_type.classes import FileTypeEnumSuccess
  2
  3
  4# The file types that we support.
  5class ft_pdf(FileTypeEnumSuccess):
  6    integer = 16
  7    string = "pdf"
  8
  9
 10class ft_doc(FileTypeEnumSuccess):
 11    integer = 17
 12    string = "doc"
 13
 14
 15class ft_docx(FileTypeEnumSuccess):
 16    integer = 18
 17    string = "docx"
 18
 19
 20class ft_ppt(FileTypeEnumSuccess):
 21    integer = 19
 22    string = "ppt"
 23
 24
 25class ft_pptx(FileTypeEnumSuccess):
 26    integer = 20
 27    string = "pptx"
 28
 29
 30class ft_xls(FileTypeEnumSuccess):
 31    integer = 21
 32    string = "xls"
 33
 34
 35class ft_xlsx(FileTypeEnumSuccess):
 36    integer = 22
 37    string = "xlsx"
 38
 39
 40class ft_png(FileTypeEnumSuccess):
 41    integer = 23
 42    string = "png"
 43
 44
 45class ft_jpeg(FileTypeEnumSuccess):
 46    integer = 24
 47    string = "jpeg"
 48
 49
 50class ft_gif(FileTypeEnumSuccess):
 51    integer = 25
 52    string = "gif"
 53
 54
 55class ft_emf(FileTypeEnumSuccess):
 56    integer = 26
 57    string = "emf"
 58
 59
 60class ft_wmf(FileTypeEnumSuccess):
 61    integer = 27
 62    string = "wmf"
 63
 64
 65class ft_rtf(FileTypeEnumSuccess):
 66    integer = 28
 67    string = "rtf"
 68
 69
 70class ft_bmp(FileTypeEnumSuccess):
 71    integer = 29
 72    string = "bmp"
 73
 74
 75class ft_tiff(FileTypeEnumSuccess):
 76    integer = 30
 77    string = "tiff"
 78
 79
 80class ft_pe(FileTypeEnumSuccess):
 81    integer = 31
 82    string = "pe"
 83
 84
 85class ft_macho(FileTypeEnumSuccess):
 86    integer = 32
 87    string = "macho"
 88
 89
 90class ft_elf(FileTypeEnumSuccess):
 91    integer = 33
 92    string = "elf"
 93
 94
 95class ft_mp4(FileTypeEnumSuccess):
 96    integer = 34
 97    string = "mp4"
 98
 99
100class ft_mp3(FileTypeEnumSuccess):
101    integer = 35
102    string = "mp3"
103
104
105class ft_mp2(FileTypeEnumSuccess):
106    integer = 36
107    string = "mp2"
108
109
110class ft_wav(FileTypeEnumSuccess):
111    integer = 37
112    string = "wav"
113
114
115class ft_mpg(FileTypeEnumSuccess):
116    integer = 38
117    string = "mpg"
118
119
120class ft_coff(FileTypeEnumSuccess):
121    integer = 39
122    string = "coff"
123
124
125class ft_json(FileTypeEnumSuccess):
126    integer = 40
127    string = "json"
128
129
130class ft_vbamacros(FileTypeEnumSuccess):
131    integer = 41
132    string = "vba"
133
134
135class ft_svg(FileTypeEnumSuccess):
136    integer = 42
137    string = "svg"
138
139
140class ft_webp(FileTypeEnumSuccess):
141    integer = 43
142    string = "webp"
143
144
145class ft_dylib(FileTypeEnumSuccess):
146    integer = 44
147    string = "dylib"
148
149
150class ft_utf8(FileTypeEnumSuccess):
151    integer = 45
152    string = "utf8"
153
154
155class ft_ascii(FileTypeEnumSuccess):
156    integer = 46
157    string = "ascii"
158
159
160# Supported by an external library.
161class ft_zip(FileTypeEnumSuccess):
162    integer = 256
163    string = "zip"
164
165
166class ft_gzip(FileTypeEnumSuccess):
167    integer = 257
168    string = "gz"
169
170
171class ft_bzip2(FileTypeEnumSuccess):
172    integer = 258
173    string = "bz2"
174
175
176class ft_7zip(FileTypeEnumSuccess):
177    integer = 259
178    string = "7z"
179
180
181class ft_rar(FileTypeEnumSuccess):
182    integer = 260
183    string = "rar"
184
185
186class ft_tar(FileTypeEnumSuccess):
187    integer = 261
188    string = "tar"
189
190
191class ft_xz(FileTypeEnumSuccess):
192    integer = 262
193    string = "xz"
194
195
196# Required since they can be embedded within other files.
197class ft_ooxml(FileTypeEnumSuccess):
198    integer = 512
199    string = "ooxml"
200
201
202class ft_office(FileTypeEnumSuccess):
203    integer = 513
204    string = "office"
205
206
207class ft_bin(FileTypeEnumSuccess):
208    integer = 514
209    string = "bin"
210
211
212class ft_xml(FileTypeEnumSuccess):
213    integer = 515
214    string = "xml"
215
216
217# Required for OOXML files wrapped in CFB packages.
218class ft_docxPackageInCfb(FileTypeEnumSuccess):
219    integer = 768
220    string = "docxPackageInCfb"
221
222
223class ft_xlsxPackageInCfb(FileTypeEnumSuccess):
224    integer = 769
225    string = "xlsxPackageInCfb"
226
227
228class ft_pptxPackageInCfb(FileTypeEnumSuccess):
229    integer = 770
230    string = "pptxPackageInCfb"
231
232
233# ExcelCoreStreams - our internal construct.
234class ft_xlscore(FileTypeEnumSuccess):
235    integer = 771
236    string = "xlscore"
237
238
239# WordCoreStreams - our internal construct.
240class ft_doccore(FileTypeEnumSuccess):
241    integer = 772
242    string = "doccore"
243
244
245# PowerPointCoreStreams - our internal construct.
246class ft_pptcore(FileTypeEnumSuccess):
247    integer = 773
248    string = "pptcore"
249
250
251# PowerPoint Picture Streams - our internal construct.
252class ft_picturestream(FileTypeEnumSuccess):
253    integer = 774
254    string = "picturestream"
255
256
257class ft_printersettings(FileTypeEnumSuccess):
258    integer = 775
259    string = "printersettings"
260
261
262class ft_equationnative(FileTypeEnumSuccess):
263    integer = 776
264    string = "equationnative"
265
266
267class ft_compobj(FileTypeEnumSuccess):
268    integer = 777
269    string = "compobj"
270
271
272class ft_docsummary(FileTypeEnumSuccess):
273    integer = 778
274    string = "docsummary"
275
276
277# Part of Structured File support. These are underlying mechanisms.
278class ft_opc(FileTypeEnumSuccess):
279    integer = 779
280    string = "opc"
281
282
283class ft_cfb(FileTypeEnumSuccess):
284    integer = 780
285    string = "cfb"
286
287
288# The package used to store exported content in Glasswall.
289class ft_interchangePackage(FileTypeEnumSuccess):
290    integer = 781
291    string = "interchangePackage"
292
293
294# Required for "hybrid" PDF camera where a wrapper / dummy is required for calls to classic camera before Core2 camera.
295class ft_pdf_core2(FileTypeEnumSuccess):
296    integer = 782
297    string = "pdf_core2"
298
299
300# File Identification Camera
301class ft_fi(FileTypeEnumSuccess):
302    integer = 783
303    string = "fi"
304
305
306class ft_pdfContentStream(FileTypeEnumSuccess):
307    integer = 784
308    string = "pdfContentStream"
309
310
311# Rebuild Camera
312class ft_rebuild(FileTypeEnumSuccess):
313    integer = 785
314    string = "rebuild"
315
316
317# Glasswall Lens
318class ft_gwlens(FileTypeEnumSuccess):
319    integer = 786
320    string = "gwlens"
 8class ft_pdf(FileTypeEnumSuccess):
 9    integer = 16
10    string = "pdf"

Enumerations that correspond to a file type.

integer = 16
string = 'pdf'
13class ft_doc(FileTypeEnumSuccess):
14    integer = 17
15    string = "doc"

Enumerations that correspond to a file type.

integer = 17
string = 'doc'
18class ft_docx(FileTypeEnumSuccess):
19    integer = 18
20    string = "docx"

Enumerations that correspond to a file type.

integer = 18
string = 'docx'
23class ft_ppt(FileTypeEnumSuccess):
24    integer = 19
25    string = "ppt"

Enumerations that correspond to a file type.

integer = 19
string = 'ppt'
28class ft_pptx(FileTypeEnumSuccess):
29    integer = 20
30    string = "pptx"

Enumerations that correspond to a file type.

integer = 20
string = 'pptx'
33class ft_xls(FileTypeEnumSuccess):
34    integer = 21
35    string = "xls"

Enumerations that correspond to a file type.

integer = 21
string = 'xls'
38class ft_xlsx(FileTypeEnumSuccess):
39    integer = 22
40    string = "xlsx"

Enumerations that correspond to a file type.

integer = 22
string = 'xlsx'
43class ft_png(FileTypeEnumSuccess):
44    integer = 23
45    string = "png"

Enumerations that correspond to a file type.

integer = 23
string = 'png'
48class ft_jpeg(FileTypeEnumSuccess):
49    integer = 24
50    string = "jpeg"

Enumerations that correspond to a file type.

integer = 24
string = 'jpeg'
53class ft_gif(FileTypeEnumSuccess):
54    integer = 25
55    string = "gif"

Enumerations that correspond to a file type.

integer = 25
string = 'gif'
58class ft_emf(FileTypeEnumSuccess):
59    integer = 26
60    string = "emf"

Enumerations that correspond to a file type.

integer = 26
string = 'emf'
63class ft_wmf(FileTypeEnumSuccess):
64    integer = 27
65    string = "wmf"

Enumerations that correspond to a file type.

integer = 27
string = 'wmf'
68class ft_rtf(FileTypeEnumSuccess):
69    integer = 28
70    string = "rtf"

Enumerations that correspond to a file type.

integer = 28
string = 'rtf'
73class ft_bmp(FileTypeEnumSuccess):
74    integer = 29
75    string = "bmp"

Enumerations that correspond to a file type.

integer = 29
string = 'bmp'
78class ft_tiff(FileTypeEnumSuccess):
79    integer = 30
80    string = "tiff"

Enumerations that correspond to a file type.

integer = 30
string = 'tiff'
83class ft_pe(FileTypeEnumSuccess):
84    integer = 31
85    string = "pe"

Enumerations that correspond to a file type.

integer = 31
string = 'pe'
88class ft_macho(FileTypeEnumSuccess):
89    integer = 32
90    string = "macho"

Enumerations that correspond to a file type.

integer = 32
string = 'macho'
93class ft_elf(FileTypeEnumSuccess):
94    integer = 33
95    string = "elf"

Enumerations that correspond to a file type.

integer = 33
string = 'elf'
 98class ft_mp4(FileTypeEnumSuccess):
 99    integer = 34
100    string = "mp4"

Enumerations that correspond to a file type.

integer = 34
string = 'mp4'
103class ft_mp3(FileTypeEnumSuccess):
104    integer = 35
105    string = "mp3"

Enumerations that correspond to a file type.

integer = 35
string = 'mp3'
108class ft_mp2(FileTypeEnumSuccess):
109    integer = 36
110    string = "mp2"

Enumerations that correspond to a file type.

integer = 36
string = 'mp2'
113class ft_wav(FileTypeEnumSuccess):
114    integer = 37
115    string = "wav"

Enumerations that correspond to a file type.

integer = 37
string = 'wav'
118class ft_mpg(FileTypeEnumSuccess):
119    integer = 38
120    string = "mpg"

Enumerations that correspond to a file type.

integer = 38
string = 'mpg'
123class ft_coff(FileTypeEnumSuccess):
124    integer = 39
125    string = "coff"

Enumerations that correspond to a file type.

integer = 39
string = 'coff'
128class ft_json(FileTypeEnumSuccess):
129    integer = 40
130    string = "json"

Enumerations that correspond to a file type.

integer = 40
string = 'json'
133class ft_vbamacros(FileTypeEnumSuccess):
134    integer = 41
135    string = "vba"

Enumerations that correspond to a file type.

integer = 41
string = 'vba'
138class ft_svg(FileTypeEnumSuccess):
139    integer = 42
140    string = "svg"

Enumerations that correspond to a file type.

integer = 42
string = 'svg'
143class ft_webp(FileTypeEnumSuccess):
144    integer = 43
145    string = "webp"

Enumerations that correspond to a file type.

integer = 43
string = 'webp'
148class ft_dylib(FileTypeEnumSuccess):
149    integer = 44
150    string = "dylib"

Enumerations that correspond to a file type.

integer = 44
string = 'dylib'
153class ft_utf8(FileTypeEnumSuccess):
154    integer = 45
155    string = "utf8"

Enumerations that correspond to a file type.

integer = 45
string = 'utf8'
158class ft_ascii(FileTypeEnumSuccess):
159    integer = 46
160    string = "ascii"

Enumerations that correspond to a file type.

integer = 46
string = 'ascii'
164class ft_zip(FileTypeEnumSuccess):
165    integer = 256
166    string = "zip"

Enumerations that correspond to a file type.

integer = 256
string = 'zip'
169class ft_gzip(FileTypeEnumSuccess):
170    integer = 257
171    string = "gz"

Enumerations that correspond to a file type.

integer = 257
string = 'gz'
174class ft_bzip2(FileTypeEnumSuccess):
175    integer = 258
176    string = "bz2"

Enumerations that correspond to a file type.

integer = 258
string = 'bz2'
179class ft_7zip(FileTypeEnumSuccess):
180    integer = 259
181    string = "7z"

Enumerations that correspond to a file type.

integer = 259
string = '7z'
184class ft_rar(FileTypeEnumSuccess):
185    integer = 260
186    string = "rar"

Enumerations that correspond to a file type.

integer = 260
string = 'rar'
189class ft_tar(FileTypeEnumSuccess):
190    integer = 261
191    string = "tar"

Enumerations that correspond to a file type.

integer = 261
string = 'tar'
194class ft_xz(FileTypeEnumSuccess):
195    integer = 262
196    string = "xz"

Enumerations that correspond to a file type.

integer = 262
string = 'xz'
200class ft_ooxml(FileTypeEnumSuccess):
201    integer = 512
202    string = "ooxml"

Enumerations that correspond to a file type.

integer = 512
string = 'ooxml'
205class ft_office(FileTypeEnumSuccess):
206    integer = 513
207    string = "office"

Enumerations that correspond to a file type.

integer = 513
string = 'office'
210class ft_bin(FileTypeEnumSuccess):
211    integer = 514
212    string = "bin"

Enumerations that correspond to a file type.

integer = 514
string = 'bin'
215class ft_xml(FileTypeEnumSuccess):
216    integer = 515
217    string = "xml"

Enumerations that correspond to a file type.

integer = 515
string = 'xml'
class ft_docxPackageInCfb(glasswall.determine_file_type.classes.FileTypeEnumSuccess):
221class ft_docxPackageInCfb(FileTypeEnumSuccess):
222    integer = 768
223    string = "docxPackageInCfb"

Enumerations that correspond to a file type.

integer = 768
string = 'docxPackageInCfb'
class ft_xlsxPackageInCfb(glasswall.determine_file_type.classes.FileTypeEnumSuccess):
226class ft_xlsxPackageInCfb(FileTypeEnumSuccess):
227    integer = 769
228    string = "xlsxPackageInCfb"

Enumerations that correspond to a file type.

integer = 769
string = 'xlsxPackageInCfb'
class ft_pptxPackageInCfb(glasswall.determine_file_type.classes.FileTypeEnumSuccess):
231class ft_pptxPackageInCfb(FileTypeEnumSuccess):
232    integer = 770
233    string = "pptxPackageInCfb"

Enumerations that correspond to a file type.

integer = 770
string = 'pptxPackageInCfb'
237class ft_xlscore(FileTypeEnumSuccess):
238    integer = 771
239    string = "xlscore"

Enumerations that correspond to a file type.

integer = 771
string = 'xlscore'
243class ft_doccore(FileTypeEnumSuccess):
244    integer = 772
245    string = "doccore"

Enumerations that correspond to a file type.

integer = 772
string = 'doccore'
249class ft_pptcore(FileTypeEnumSuccess):
250    integer = 773
251    string = "pptcore"

Enumerations that correspond to a file type.

integer = 773
string = 'pptcore'
class ft_picturestream(glasswall.determine_file_type.classes.FileTypeEnumSuccess):
255class ft_picturestream(FileTypeEnumSuccess):
256    integer = 774
257    string = "picturestream"

Enumerations that correspond to a file type.

integer = 774
string = 'picturestream'
class ft_printersettings(glasswall.determine_file_type.classes.FileTypeEnumSuccess):
260class ft_printersettings(FileTypeEnumSuccess):
261    integer = 775
262    string = "printersettings"

Enumerations that correspond to a file type.

integer = 775
string = 'printersettings'
class ft_equationnative(glasswall.determine_file_type.classes.FileTypeEnumSuccess):
265class ft_equationnative(FileTypeEnumSuccess):
266    integer = 776
267    string = "equationnative"

Enumerations that correspond to a file type.

integer = 776
string = 'equationnative'
270class ft_compobj(FileTypeEnumSuccess):
271    integer = 777
272    string = "compobj"

Enumerations that correspond to a file type.

integer = 777
string = 'compobj'
275class ft_docsummary(FileTypeEnumSuccess):
276    integer = 778
277    string = "docsummary"

Enumerations that correspond to a file type.

integer = 778
string = 'docsummary'
281class ft_opc(FileTypeEnumSuccess):
282    integer = 779
283    string = "opc"

Enumerations that correspond to a file type.

integer = 779
string = 'opc'
286class ft_cfb(FileTypeEnumSuccess):
287    integer = 780
288    string = "cfb"

Enumerations that correspond to a file type.

integer = 780
string = 'cfb'
class ft_interchangePackage(glasswall.determine_file_type.classes.FileTypeEnumSuccess):
292class ft_interchangePackage(FileTypeEnumSuccess):
293    integer = 781
294    string = "interchangePackage"

Enumerations that correspond to a file type.

integer = 781
string = 'interchangePackage'
298class ft_pdf_core2(FileTypeEnumSuccess):
299    integer = 782
300    string = "pdf_core2"

Enumerations that correspond to a file type.

integer = 782
string = 'pdf_core2'
304class ft_fi(FileTypeEnumSuccess):
305    integer = 783
306    string = "fi"

Enumerations that correspond to a file type.

integer = 783
string = 'fi'
class ft_pdfContentStream(glasswall.determine_file_type.classes.FileTypeEnumSuccess):
309class ft_pdfContentStream(FileTypeEnumSuccess):
310    integer = 784
311    string = "pdfContentStream"

Enumerations that correspond to a file type.

integer = 784
string = 'pdfContentStream'
315class ft_rebuild(FileTypeEnumSuccess):
316    integer = 785
317    string = "rebuild"

Enumerations that correspond to a file type.

integer = 785
string = 'rebuild'
321class ft_gwlens(FileTypeEnumSuccess):
322    integer = 786
323    string = "gwlens"

Enumerations that correspond to a file type.

integer = 786
string = 'gwlens'