From 6baf21486b5ae317f5049e64c83aaff54f403663 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Fri, 18 Jan 2019 12:38:12 +0000 Subject: [PATCH] Ensure the failures are sorted for volshell as they are in the CLI. --- volatility/cli/volshell/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/volatility/cli/volshell/__init__.py b/volatility/cli/volshell/__init__.py index 1c161c176..cdd6b7e16 100644 --- a/volatility/cli/volshell/__init__.py +++ b/volatility/cli/volshell/__init__.py @@ -137,7 +137,8 @@ class VolShell(cli.CommandLine): failures = framework.import_files(volatility.plugins, True) # Will not log as console's default level is WARNING if failures: - parser.epilog = "The following plugins could not be loaded (use -vv to see why): " + ", ".join(failures) + parser.epilog = "The following plugins could not be loaded (use -vv to see why): " + \ + ", ".join(sorted(failures)) vollog.info(parser.epilog) automagics = automagic.available(ctx)