mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-02 14:28:58 +02:00
pool scanner update: we only ask for specific object types, so no need to filter the results anymore
This commit is contained in:
@@ -53,9 +53,8 @@ class DriverScan(plugins.PluginInterface):
|
||||
symbol_table,
|
||||
constraints):
|
||||
|
||||
constraint, mem_object, _header = result
|
||||
if constraint.object_type == "Driver":
|
||||
yield mem_object
|
||||
_constraint, mem_object, _header = result
|
||||
yield mem_object
|
||||
|
||||
def _generator(self):
|
||||
for driver in self.scan_drivers(self.context,
|
||||
|
||||
@@ -53,9 +53,8 @@ class FileScan(plugins.PluginInterface):
|
||||
symbol_table,
|
||||
constraints):
|
||||
|
||||
constraint, mem_object, _header = result
|
||||
if constraint.object_type == "File":
|
||||
yield mem_object
|
||||
_constraint, mem_object, _header = result
|
||||
yield mem_object
|
||||
|
||||
def _generator(self):
|
||||
for fileobj in self.scan_files(self.context,
|
||||
|
||||
@@ -53,9 +53,8 @@ class MutantScan(plugins.PluginInterface):
|
||||
symbol_table,
|
||||
constraints):
|
||||
|
||||
constraint, mem_object, _header = result
|
||||
if constraint.object_type == "Mutant":
|
||||
yield mem_object
|
||||
_constraint, mem_object, _header = result
|
||||
yield mem_object
|
||||
|
||||
def _generator(self):
|
||||
for mutant in self.scan_mutants(self.context,
|
||||
|
||||
@@ -55,9 +55,8 @@ class PsScan(plugins.PluginInterface, timeliner.TimeLinerInterface):
|
||||
symbol_table,
|
||||
constraints):
|
||||
|
||||
constraint, mem_object, _header = result
|
||||
if constraint.object_type == "Process":
|
||||
yield mem_object
|
||||
_constraint, mem_object, _header = result
|
||||
yield mem_object
|
||||
|
||||
def _generator(self):
|
||||
for proc in self.scan_processes(
|
||||
|
||||
Reference in New Issue
Block a user