Fix winoffice file processing with olefile

pull/9/head
Raphaël Vinot 2016-05-14 20:44:16 +02:00
parent 93be47e56f
commit 3eecd9cc16
1 changed files with 2 additions and 2 deletions

View File

@ -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()