From b725c7b78dfac75ffeb94d8f13203a09213f0ab9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Leonard?= Date: Mon, 29 Apr 2019 17:57:41 +0200 Subject: [PATCH] #465 fix typo --- analyzers/FileInfo/submodules/submodule_ioc_parser.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/analyzers/FileInfo/submodules/submodule_ioc_parser.py b/analyzers/FileInfo/submodules/submodule_ioc_parser.py index 58d393ecd..77aab2fe9 100644 --- a/analyzers/FileInfo/submodules/submodule_ioc_parser.py +++ b/analyzers/FileInfo/submodules/submodule_ioc_parser.py @@ -28,10 +28,8 @@ def module_summary(self): namespace = 'FileInfo' predicate = 'IOC Parser' value = '' - #pdfid_version = '' for section in self.results: if section['submodule_section_header'] == 'IOC Parser Information': - #if section.get('submodule_section_content').get('iocp_result'): iocp_len = len(section.get('submodule_section_content').get('iocp_result')) taxonomies.append(self.build_taxonomy(level, namespace, predicate, iocp_len)) self.summary['taxonomies'] = taxonomies @@ -39,6 +37,10 @@ def module_summary(self): def iocparser(self, path): """ + Use ioc_parser to extract IOCs + + + :return: json """ out = StringIO() results = {'iocp_result': []}