Merge pull request #1676 from volatilityfoundation/fix_getsids

Fix how the task name is reported in getsids error path
This commit is contained in:
ikelos
2025-03-07 21:21:12 +00:00
committed by GitHub
@@ -176,12 +176,14 @@ class GetSIDs(interfaces.plugins.PluginInterface):
except exceptions.InvalidAddressException:
token = False
task_name = objects.utility.array_to_string(task.ImageFileName)
if not token or not isinstance(token, interfaces.objects.ObjectInterface):
yield (
0,
[
int(task.UniqueProcessId),
str(task.ImageFileName),
task_name,
"Token unreadable",
"",
],
@@ -207,7 +209,7 @@ class GetSIDs(interfaces.plugins.PluginInterface):
0,
(
task.UniqueProcessId,
objects.utility.array_to_string(task.ImageFileName),
task_name,
sid_string,
sid_name,
),