mirror of https://github.com/MISP/PyMISP
Update PE generator
parent
2bc0745fbf
commit
8452e16dbd
|
@ -1 +1 @@
|
|||
Subproject commit d34dd5fb606f1c4d882733d16c16103fe429991c
|
||||
Subproject commit 9da5eaed3520dde8ed624bc900a26e6280a356a4
|
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue