mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-10 11:47:38 +02:00
Plugins: process_spoofing put reference in docstring
This commit is contained in:
@@ -17,9 +17,11 @@ from volatility3.plugins.linux import pslist
|
||||
vollog = logging.getLogger(__name__)
|
||||
|
||||
|
||||
# https://github.com/SolitudePy/linux-mal
|
||||
class ProcessSpoofing(plugins.PluginInterface):
|
||||
"""Detects process spoofing by comparing executable path to cmdline & comm fields"""
|
||||
"""Detects process spoofing by comparing executable path to cmdline & comm fields.
|
||||
|
||||
Examples of such behavior can be found here: https://github.com/SolitudePy/linux-mal
|
||||
"""
|
||||
|
||||
_required_framework_version = (2, 27, 0)
|
||||
_version = (1, 1, 0)
|
||||
@@ -101,7 +103,12 @@ class ProcessSpoofing(plugins.PluginInterface):
|
||||
task: interfaces.objects.ObjectInterface,
|
||||
) -> Optional[str]:
|
||||
"""
|
||||
Extract the command line arguments and return the basename of the first argument
|
||||
Extract the command line arguments and return the basename of the first argument.
|
||||
|
||||
Notes:
|
||||
The read length is capped at ``MAX_ARG_STRLEN`` (32 * 4096) per the
|
||||
kernel limit defined in ``include/uapi/linux/binfmts.h`` (see
|
||||
linux.git commit f6031913338f1dad5bd8cb7286ff4e53644b6940).
|
||||
|
||||
Args:
|
||||
context: The context to operate on
|
||||
|
||||
Reference in New Issue
Block a user