diff --git a/volatility3/cli/text_renderer.py b/volatility3/cli/text_renderer.py index 7b78f4dda..21816f866 100644 --- a/volatility3/cli/text_renderer.py +++ b/volatility3/cli/text_renderer.py @@ -196,9 +196,13 @@ class LayerDataRenderer(CLITypeRenderer): printables = "" output = "\n" for count, byte in enumerate(specific_data): - output += f"{byte:02x} " - char = chr(byte) - printables += char if 0x20 <= byte <= 0x7E else "." + if count not in error_bytes: + output += f"{byte:02x} " + char = chr(byte) + printables += char if 0x20 <= byte <= 0x7E else "." + else: + output += "__ " + printables += "." if count % self.width == self.width - 1: output += printables if count < len(specific_data) - 1: