diff --git a/volatility/plugins/linux/lsof.py b/volatility/plugins/linux/lsof.py index 3b3438c9c..e240d10bd 100644 --- a/volatility/plugins/linux/lsof.py +++ b/volatility/plugins/linux/lsof.py @@ -49,6 +49,7 @@ def generator(self, data): def render_text(self, outfd, data): self.table_header(outfd, [("Offset","#018x"), + ("Inode", "#018x"), ("Name","30"), ("Pid", "8"), ("FD", "8"), @@ -56,4 +57,4 @@ def render_text(self, outfd, data): for task in data: for filp, fd in task.lsof(): - self.table_row(outfd, Address(task.obj_offset), str(task.comm), task.pid, fd, linux_common.get_path(task, filp)) \ No newline at end of file + self.table_row(outfd, Address(task.obj_offset), filp.f_inode, str(task.comm), task.pid, fd, linux_common.get_path(task, filp))