Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error parsing large_data keys #7

Closed
williballenthin opened this issue Oct 19, 2011 · 2 comments
Closed

Error parsing large_data keys #7

williballenthin opened this issue Oct 19, 2011 · 2 comments
Milestone

Comments

@williballenthin
Copy link
Owner

xp $ python ~/projects/python-registry/samples/findkey.py NTUSER.DAT.copy0 "upx305w"
Traceback (most recent call last):
File "/home/willi/projects/python-registry/samples/findkey.py", line 24, in
rec(reg.root(), 0, needle)
File "/home/willi/projects/python-registry/samples/findkey.py", line 17, in rec
rec(subkey, depth + 1, needle)
File "/home/willi/projects/python-registry/samples/findkey.py", line 17, in rec
rec(subkey, depth + 1, needle)
File "/home/willi/projects/python-registry/samples/findkey.py", line 17, in rec
rec(subkey, depth + 1, needle)
File "/home/willi/projects/python-registry/samples/findkey.py", line 17, in rec
rec(subkey, depth + 1, needle)
File "/home/willi/projects/python-registry/samples/findkey.py", line 17, in rec
rec(subkey, depth + 1, needle)
File "/home/willi/projects/python-registry/samples/findkey.py", line 17, in rec
rec(subkey, depth + 1, needle)
File "/home/willi/projects/python-registry/samples/findkey.py", line 11, in rec
if needle in str(value.value()):
File "/usr/local/lib/python2.7/dist-packages/Registry/Registry.py", line 139, in value
return self._vkrecord.data()
File "/usr/local/lib/python2.7/dist-packages/Registry/RegistryParse.py", line 697, in data
return db.large_data(data_length)
AttributeError: 'DataRecord' object has no attribute 'large_data'

@msuhanov
Copy link

What is the minor version of the NTUSER.DAT hive? There was no support for the DB records in the version 1.3, so the bug fix applied may result in different parsing results between Windows and python-registry (when data starts with the 'db' string).

@williballenthin
Copy link
Owner Author

i suspect i dont have this hive handy anymore, since i've been through a few laptops since when i reported this issue. sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants