diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2019-11-15 23:26:58 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2019-11-15 23:26:58 +0100 |
commit | 0c380db398622e767c6144799d8ac0326c606d0c (patch) | |
tree | 750ef25b9b5b181ab876e5cb2ed2e76bc5aa3b05 | |
parent | 6ca1b036916b356d970c968ec0450da569c2c004 (diff) |
fixup! fixup! WIP: Fix: Work around bug in oletools where vba macros are not detected properlyadd-travis
-rw-r--r-- | peekaboo/toolbox/ole.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/peekaboo/toolbox/ole.py b/peekaboo/toolbox/ole.py index b27df05..4861885 100644 --- a/peekaboo/toolbox/ole.py +++ b/peekaboo/toolbox/ole.py @@ -62,7 +62,7 @@ class Oletools(object): return report def __parser_has_vba_macros(vbaparser): - return vbaparser.detect_vba_macros() and len(vbaparser.extract_all_macros() != 0 + return vbaparser.detect_vba_macros() and len(vbaparser.extract_all_macros()) != 0 class OletoolsReport(object): |