diff --git a/volatility/cli/volshell/__init__.py b/volatility/cli/volshell/__init__.py index c63eb8a31..4441d4b7b 100644 --- a/volatility/cli/volshell/__init__.py +++ b/volatility/cli/volshell/__init__.py @@ -224,7 +224,8 @@ class VolShell(cli.CommandLine): if args.quiet: progress_callback = cli.MuteProgress() - constructed = plugins.construct_plugin(ctx, automagics, plugin, base_config_path, progress_callback, self) + constructed = plugins.construct_plugin(ctx, automagics, plugin, base_config_path, progress_callback, + self.file_handler_class_factory()) if args.write_config: vollog.debug("Writing out configuration data to config.json") diff --git a/volatility/cli/volshell/generic.py b/volatility/cli/volshell/generic.py index 95378f595..5ec80a61c 100644 --- a/volatility/cli/volshell/generic.py +++ b/volatility/cli/volshell/generic.py @@ -25,6 +25,7 @@ except ImportError: class Volshell(interfaces.plugins.PluginInterface): """Shell environment to directly interact with a memory image.""" + _required_framework_version = (2, 0, 0) def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) diff --git a/volatility/cli/volshell/windows.py b/volatility/cli/volshell/windows.py index e6608e3cc..7f4c4fcc1 100644 --- a/volatility/cli/volshell/windows.py +++ b/volatility/cli/volshell/windows.py @@ -17,7 +17,7 @@ class Volshell(generic.Volshell): def get_requirements(cls): return (super().get_requirements() + [ requirements.SymbolTableRequirement(name = "nt_symbols", description = "Windows kernel symbols"), - requirements.PluginRequirement(name = 'pslist', plugin = pslist.PsList, version = (1, 0, 0)), + requirements.PluginRequirement(name = 'pslist', plugin = pslist.PsList, version = (2, 0, 0)), requirements.IntRequirement(name = 'pid', description = "Process ID", optional = True) ])