From c0a8ddd9a3a7bb1e5cb93cdb288da3806ce65f51 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 20 Jul 2017 19:35:12 +0100 Subject: [PATCH] Improve the progress messages. --- volatility/framework/interfaces/layers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/volatility/framework/interfaces/layers.py b/volatility/framework/interfaces/layers.py index 3c005e68d..e00119a97 100644 --- a/volatility/framework/interfaces/layers.py +++ b/volatility/framework/interfaces/layers.py @@ -194,7 +194,8 @@ class DataLayerInterface(configuration.ConfigurableInterface, validity.ValidityR while not result.ready(): if progress_callback: # Run the progress_callback - progress_callback(scan_metric(progress.value), "Scanning {}".format(self.name)) + progress_callback(scan_metric(progress.value), + "Scanning {} using {}".format(self.name, scanner.__class__.__name__)) # Ensures we don't burn CPU cycles going round in a ready waiting loop # without delaying the user too long between progress updates/results result.wait(0.1)