Skip to content

Commit

Permalink
#465 fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromeleonard committed Apr 29, 2019
1 parent c740812 commit b725c7b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions analyzers/FileInfo/submodules/submodule_ioc_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,19 @@ 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
return self.summary

def iocparser(self, path):
"""
Use ioc_parser to extract IOCs
:return: json
"""
out = StringIO()
results = {'iocp_result': []}
Expand Down

0 comments on commit b725c7b

Please sign in to comment.