Skip to content

Commit 95f56ad

Browse files
author
Dave Lassalle
committed
#816 - remove extra text from buffer output
1 parent 0dd082b commit 95f56ad

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

volatility3/framework/plugins/windows/consoles.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -895,7 +895,11 @@ def _generator(
895895
if console_property["address"] is None
896896
else format_hints.Hex(console_property["address"])
897897
),
898-
str(console_property["data"]),
898+
(
899+
str(console_property["data"])
900+
if console_property["data"]
901+
else renderers.NotAvailableValue()
902+
),
899903
),
900904
)
901905
else:

volatility3/framework/symbols/windows/extensions/consoles.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -192,10 +192,6 @@ def get_buffer(
192192
if truncate_rows:
193193
rows = self._truncate_rows(rows)
194194

195-
if rows:
196-
rows = ["=== START OF BUFFER ==="] + rows + ["=== END OF BUFFER ==="]
197-
else:
198-
rows = ["=== NO BUFFER DATA FOUND ==="]
199195
return rows
200196

201197

0 commit comments

Comments
 (0)