Skip to content

Commit e7aeb0f

Browse files
committed
#705 add known mimetype
1 parent 9f04be6 commit e7aeb0f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

analyzers/FileInfo/submodules/submodule_oletools.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ def check_file(self, **kwargs):
3131
] or (kwargs.get('mimetype').startswith("application/vnd.openxmlformats-officedocument") or
3232
kwargs.get('mimetype').startswith("application/encrypted") or
3333
kwargs.get('mimetype').startswith("application/vnd.ms-") or
34-
kwargs.get('mimetype').startswith("application/msword")
34+
kwargs.get('mimetype').startswith("application/msword") or
35+
kwargs.get('mimetype').startswith("Composite Document File V2 Document")
3536
):
3637
if kwargs.get('mimetype').startswith("application/encrypted") and not is_encrypted(kwargs.get('file')):
3738
return False

0 commit comments

Comments
 (0)