From 3eecd9cc162635cb5264ea31fcf8021ba3f330f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Sat, 14 May 2016 20:44:16 +0200 Subject: [PATCH] Fix winoffice file processing with olefile --- bin/filecheck.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/filecheck.py b/bin/filecheck.py index ccd46bb..2b37610 100644 --- a/bin/filecheck.py +++ b/bin/filecheck.py @@ -336,10 +336,10 @@ class KittenGroomerFileCheck(KittenGroomerBase): self.cur_file.add_log_details('macro', True) self.cur_file.make_dangerous() for i in indicators: - if i._id == 'ObjectPool' and i.value: + if i.id == 'ObjectPool' and i.value: # FIXME: Is it suspicious? self.cur_file.add_log_details('objpool', True) - elif i._id == 'flash' and i.value: + elif i.id == 'flash' and i.value: self.cur_file.add_log_details('flash', True) self.cur_file.make_dangerous() self._safe_copy()