Skip to content

Find, verify, and analyze leaked credentials

Added .msg and .doc to skipArchiverMimeTypes, in line with THOG fix (#4544)

Jordan Tunstillfca954587c60
diff --git a/pkg/handlers/handlers.go b/pkg/handlers/handlers.go
index 0a5b0e744..64af0419f 100644
--- a/pkg/handlers/handlers.go
+++ b/pkg/handlers/handlers.go
@@ -259,6 +259,8 @@ const (
apkMime mimeType = "application/vnd.android.package-archive"
zipMime mimeType = "application/zip"
jarMime mimeType = "application/java-archive"
+ msgMime mimeType = "application/vnd.ms-outlook"
+ docMime mimeType = "application/msword"
)
// skipArchiverMimeTypes is a set of MIME types that should bypass archiver library processing because they are either
@@ -294,6 +296,8 @@ var skipArchiverMimeTypes = map[mimeType]struct{}{
tclTextMime: {},
tclMime: {},
apkMime: {},
+ msgMime: {},
+ docMime: {},
}
// selectHandler dynamically selects and configures a FileHandler based on the provided |mimetype| type and archive flag.