Update PE generator

pull/111/head
Raphaël Vinot 2017-08-29 10:25:45 +02:00
parent 2bc0745fbf
commit 8452e16dbd
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit d34dd5fb606f1c4d882733d16c16103fe429991c
Subproject commit 9da5eaed3520dde8ed624bc900a26e6280a356a4

View File

@ -106,7 +106,7 @@ class PEObject(AbstractMISPObjectGenerator):
self.add_reference(s.uuid, 'included-in', 'Section {} of PE'.format(pos))
if ((self.pe.entrypoint >= section.virtual_address) and
(self.pe.entrypoint < (section.virtual_address + section.virtual_size))):
self.add_attribute('entrypoint-section|position', value='{}|{}'.format(section.name, pos))
self.add_attribute('entrypoint-section-at-position', value='{}|{}'.format(section.name, pos))
pos += 1
self.sections.append(s)
self.add_attribute('number-sections', value=len(self.sections))