From af496d4741b0d68526967b0a364f5372bbfbc130 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Wed, 1 Aug 2018 14:08:31 -0500 Subject: [PATCH] update lsof to print name properly --- volatility/plugins/linux/lsof.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility/plugins/linux/lsof.py b/volatility/plugins/linux/lsof.py index 71e6304cb..6e1d93c6a 100644 --- a/volatility/plugins/linux/lsof.py +++ b/volatility/plugins/linux/lsof.py @@ -26,7 +26,7 @@ class Lsof(plugins.PluginInterface): def _generator(self, tasks): for task in tasks: - name = str(task.comm) + name = utility.array_to_string(task.comm) pid = int(task.pid) for fd_num, _, full_path in linux.LinuxUtilities.files_descriptors_for_process(self.config, self.context, task):