mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-22 01:24:51 +02:00
Fix up PsList since classes should start with capital letters.
This commit is contained in:
+1
-1
@@ -136,7 +136,7 @@ def test_plugin():
|
||||
|
||||
import volatility.plugins.windows.pslist as pslist
|
||||
|
||||
eproc = pslist.pslist.kernel_process_from_physical_process(ctx, 'data', 'intel', 0x192ad18)
|
||||
eproc = pslist.PsList.kernel_process_from_physical_process(ctx, 'data', 'intel', 0x192ad18)
|
||||
print(eproc.UniqueProcessId)
|
||||
|
||||
# TODO:
|
||||
|
||||
@@ -3,7 +3,7 @@ import inspect
|
||||
import volatility.framework.interfaces.plugins as plugins
|
||||
|
||||
|
||||
class pslist(plugins.PluginInterface):
|
||||
class PsList(plugins.PluginInterface):
|
||||
@classmethod
|
||||
def determine_inputs(cls):
|
||||
print(inspect.getfullargspec(cls.__call__))
|
||||
|
||||
Reference in New Issue
Block a user