We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e76d512 commit 037eb1cCopy full SHA for 037eb1c
volatility3/framework/plugins/linux/check_creds.py
@@ -16,6 +16,8 @@ class Check_creds(interfaces.plugins.PluginInterface):
16
17
_required_framework_version = (2, 0, 0)
18
19
+ _version = (1, 0, 1)
20
+
21
@classmethod
22
def get_requirements(cls):
23
return [
@@ -46,7 +48,11 @@ def _generator(self):
46
48
tasks = pslist.PsList.list_tasks(self.context, vmlinux.name)
47
49
50
for task in tasks:
- cred_addr = task.cred.dereference().vol.offset
51
+ task_cred_ptr = task.cred
52
+ if not (task_cred_ptr and task_cred_ptr.is_readable()):
53
+ continue
54
55
+ cred_addr = task_cred_ptr.dereference().vol.offset
56
57
if cred_addr not in creds:
58
creds[cred_addr] = []
0 commit comments