From d98337cc099ddb0ac2a5741b25cf42b16abd1748 Mon Sep 17 00:00:00 2001 From: Matt Tressler Date: Mon, 7 Dec 2020 16:45:22 -0500 Subject: [PATCH] added debug statements to dump_file_producer when none is returned --- volatility/framework/plugins/windows/dumpfiles.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility/framework/plugins/windows/dumpfiles.py b/volatility/framework/plugins/windows/dumpfiles.py index 05e9cee5f..04c2fbd28 100755 --- a/volatility/framework/plugins/windows/dumpfiles.py +++ b/volatility/framework/plugins/windows/dumpfiles.py @@ -79,14 +79,14 @@ class DumpFiles(interfaces.plugins.PluginInterface): filedata.write(data) if not bytes_written: - #vollog.debug("No data is cached for the file at {0:#x}".format(file_object.vol.offset)) + vollog.debug("No data is cached for the file at {0:#x}".format(file_object.vol.offset)) return None else: vollog.debug("Stored {}".format(filedata.preferred_filename)) return filedata except exceptions.InvalidAddressException: - #vollog.debug("Unable to dump file at {0:#x}".format( - #file_object.vol.offset)) + vollog.debug("Unable to dump file at {0:#x}".format( + file_object.vol.offset)) return None def process_file_object(self, file_obj: interfaces.objects.ObjectInterface) -> Tuple: