mirror of https://github.com/MISP/MISP
fix: [stix export] Fixed dictionary key used to check pe sections to parse
parent
0a563c99d6
commit
8b9a9c1326
|
@ -329,7 +329,7 @@ class StixBuilder(object):
|
|||
pe_file_header = PEFileHeader()
|
||||
pe_sections = PESectionList()
|
||||
for reference in pe_object['ObjectReference']:
|
||||
if reference['Object']['name'] == "pe-section" and reference['referenced_uuid'] in self.objects_to_parse['pe_section']:
|
||||
if reference['Object']['name'] == "pe-section" and reference['referenced_uuid'] in self.objects_to_parse['pe-section']:
|
||||
pe_section_object = self.objects_to_parse['pe-section'][reference['referenced_uuid']]
|
||||
to_ids_section, section_dict = self.create_attributes_dict(pe_section_object['Attribute'])
|
||||
to_ids_list.append(to_ids_section)
|
||||
|
|
Loading…
Reference in New Issue