mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-13 05:07:38 +02:00
remove error truncate
This commit is contained in:
@@ -134,7 +134,7 @@ class PebMasquerade(interfaces.plugins.PluginInterface):
|
||||
vollog.warning(
|
||||
"Error reading EPROCESS.ImageFileName for PID %d: %s",
|
||||
proc.UniqueProcessId,
|
||||
str(e)[:50],
|
||||
str(e),
|
||||
)
|
||||
|
||||
try:
|
||||
@@ -156,7 +156,7 @@ class PebMasquerade(interfaces.plugins.PluginInterface):
|
||||
vollog.warning(
|
||||
"Error reading SeAuditProcessCreationInfo for PID %d: %s",
|
||||
proc.UniqueProcessId,
|
||||
str(e)[:50],
|
||||
str(e),
|
||||
)
|
||||
|
||||
try:
|
||||
@@ -176,7 +176,7 @@ class PebMasquerade(interfaces.plugins.PluginInterface):
|
||||
vollog.warning(
|
||||
"Error reading PEB.ImagePathName for PID %d: %s",
|
||||
proc.UniqueProcessId,
|
||||
str(e)[:50],
|
||||
str(e),
|
||||
)
|
||||
|
||||
try:
|
||||
@@ -192,14 +192,14 @@ class PebMasquerade(interfaces.plugins.PluginInterface):
|
||||
vollog.warning(
|
||||
"Error reading PEB.ProcessParameters.CommandLine for PID %d: %s",
|
||||
proc.UniqueProcessId,
|
||||
str(e)[:50],
|
||||
str(e),
|
||||
)
|
||||
except (AttributeError, exceptions.InvalidAddressException):
|
||||
# Important for cases where PEB does not exist or is inaccessible (e.g SYSTEM process)
|
||||
vollog.debug("Unable to access PEB for PID %d", proc.UniqueProcessId)
|
||||
except Exception as e:
|
||||
vollog.warning(
|
||||
"Error accessing PEB for PID %d: %s", proc.UniqueProcessId, str(e)[:50]
|
||||
"Error accessing PEB for PID %d: %s", proc.UniqueProcessId, str(e)
|
||||
)
|
||||
|
||||
return (
|
||||
@@ -245,7 +245,7 @@ class PebMasquerade(interfaces.plugins.PluginInterface):
|
||||
vollog.debug(
|
||||
"Error extracting command line path for PID %d: %s",
|
||||
proc_id,
|
||||
str(e)[:50],
|
||||
str(e),
|
||||
)
|
||||
|
||||
# Populate notes for enrichment
|
||||
|
||||
Reference in New Issue
Block a user