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

extract_user.py inactive #24

Open
minhdanlc124 opened this issue Jan 1, 2023 · 1 comment
Open

extract_user.py inactive #24

minhdanlc124 opened this issue Jan 1, 2023 · 1 comment

Comments

@minhdanlc124
Copy link

i unpack the backup file and try to extract the user but nothing comes up i try cat user.bat with encoded characters and see user with encoded character
user.dat file content is it the user?
cat bb3/user.dat
�M2�
� A�Mb
�� � �!!1! o���ƛz��sB��gx�NÉP��8� 1��7�*;>~�q �Z!
nguyenvanduc!admin�M2�
� Y�Yb �� � �!system default user!1!����/Y8L�!���^L�
,�n��� 1[�졖:��v�U�G?!admindmin

@lduczmal
Copy link

I also has problem with extracting users and after some investigation I've discovered that source of problem is line 16 in file extract_user.py
pass_data = entry.split(b"\x11\x00\x00\x21")[1]
This line cause following error

Traceback (most recent call last):
  File ".\extract_user2.py", line 72, in <module>
    user_pass = get_pair(user_file)
  File ".\extract_user2.py", line 49, in get_pair
    pass_data = entry.split(b"\x11\x00\x00\x21")[1]
IndexError: list index out of range

I had to modify original python file a little bit to uncover the error.
I don't know structure of user.dat file, information published in README.md attached to this repo is not clear for me, thus I can't repair extract_user.py
Of course source of problem could be not in python script, but in user.dat file - maybe its structure is broken in some why?...
Best regards
LukiD

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