Skip to content

Commit cb517e7

Browse files
authored
Merge pull request #175 from hellocharli/fix-unknown4-decode
Fix: decode unknown4 bytes properly
2 parents 1d9d69d + 020d06c commit cb517e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pypykatz/dpapi/structures/credentialfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def from_buffer(buff):
188188

189189
if sk.unknown4_length > 0:
190190
try:
191-
sk.unknown4_length = sk.unknown4_length.decode('utf-16-le')
191+
sk.unknown4 = sk.unknown4.decode('utf-16-le')
192192
except:
193193
pass
194194

0 commit comments

Comments
 (0)