예제 #1
0
 def process(self):
     Processor.process(self)
     self._addModule(PEFileModule())
     self._addModule(MetaDataModule())
     self._addPlugIn(SectionsPlug.SectionsPlug())
     self._executeAllPlugIns()
     return self.metadata_to_store
예제 #2
0
    def process(self):
        Processor.process(self)

        self._addModule(PEFileModule())
        self._addModule(MetaDataModule())

        self._addPlugIn(ImportsPlug.ImportsPlug())
        self._addPlugIn(EntropyPlug.EntropyPlug())
        self._addPlugIn(SectionsPlug.SectionsPlug())
        self._addPlugIn(ResourceEntriesPlug.ResourceEntriesPlug())
        self._addPlugIn(CheckEPSectionPlug.CheckEPSectionPlug())
        #self._addPlugIn(CRCCheckPlug.CRCCheckPlug())
        self._addPlugIn(TimeStampPlug.TimeStampPlug())
        self._addPlugIn(HeadersPlug.HeadersPlug())
        self._addPlugIn(VersionInfoPlug.VersionInfoPlug())
        self._addPlugIn(ChildOfPlug.ChildOfPlug())
        self._addPlugIn(CypherPlug.CypherPlug())
        self._addPlugIn(PackerVersionPlug.PackerVersionPlug())
        self._addPlugIn(AVAnalysisPlug.AVAnalysisPlug())
        self._addPlugIn(CheckPackerPlug.CheckPackerPlug())
        #self._addPlugIn(TestPlug.TestPlug())
        self._addPlugIn(AddImportsToTreePlug.AddImportsToTreePlug())
        self._addPlugIn(ExportsPlug.ExportsPlug())

        self._addPlugIn(CertficatePlug.CertficatePlug())

        self._addPlugIn(StringPlug.StringPlug())

        self._executeAllPlugIns()

        return self.metadata_to_store