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

File should be regf #1830

Closed
ALI502539 opened this issue Oct 8, 2024 · 2 comments
Closed

File should be regf #1830

ALI502539 opened this issue Oct 8, 2024 · 2 comments
Labels
invalid This issue or pull request is no longer relevant

Comments

@ALI502539
Copy link

Hi, I am having the same error:
Unpacked data doesn't match constant value ''\x00\x00\x04\x00'' should be ''regf''
I have exported the sam and system files from regedit and also from cmd using both save and export commands then I brought the sam.reg and system.reg file to Kali desktop and used the following command:
impacket-secretsdump -sam sam.reg -system system.reg
And then he gives me the same error can someone please help??

@anadrianmanrique
Copy link
Contributor

you're trying to parse an exported registry text file with a binary hive parser, that's why you're getting a should be regf error.'

@anadrianmanrique
Copy link
Contributor

closing this as invalid
#1840 adds the posiblity to parse .reg files in the context of secretsdump and winregistry.py

@anadrianmanrique anadrianmanrique added the invalid This issue or pull request is no longer relevant label Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This issue or pull request is no longer relevant
Projects
None yet
Development

No branches or pull requests

2 participants