Skip to content

Commit

Permalink
Linux: psscan tiny update so that memory_layer_name is reused
Browse files Browse the repository at this point in the history
  • Loading branch information
eve-mem committed Feb 22, 2024
1 parent 1ccbf33 commit 34ad835
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions volatility3/framework/plugins/linux/psscan.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class PsScan(interfaces.plugins.PluginInterface):
"""Scans for processes present in a particular linux image."""

_required_framework_version = (2, 0, 0)
_version = (1, 0, 0)
_version = (1, 0, 1)

@classmethod
def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]:
Expand Down Expand Up @@ -139,7 +139,7 @@ def scan_tasks(
kernel_layer_name, f"Layer {kernel_layer_name} has no dependencies"
)
memory_layer_name = kernel_layer.dependencies[0]
memory_layer = context.layers[kernel_layer.dependencies[0]]
memory_layer = context.layers[memory_layer_name]

# scan the memory_layer for these needles
for address, _ in memory_layer.scan(
Expand Down

0 comments on commit 34ad835

Please sign in to comment.