From b53188b2b7d8ffff7745aafa5049e7101180a225 Mon Sep 17 00:00:00 2001 From: messense Date: Thu, 8 Apr 2021 17:51:37 +0800 Subject: [PATCH] Check docProps in msooxml matcher --- src/matchers/doc.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/matchers/doc.rs b/src/matchers/doc.rs index d144b4a..44409cc 100644 --- a/src/matchers/doc.rs +++ b/src/matchers/doc.rs @@ -80,6 +80,7 @@ fn msooxml(buf: &[u8]) -> Option { if !compare_bytes(buf, b"[Content_Types].xml", 0x1E) && !compare_bytes(buf, b"_rels/.rels", 0x1E) + && !compare_bytes(buf, b"docProps", 0x1E) { return None; }