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

Offset reporting and FileNotFoundError #38

Closed
oberkut opened this issue Apr 11, 2023 · 5 comments
Closed

Offset reporting and FileNotFoundError #38

oberkut opened this issue Apr 11, 2023 · 5 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@oberkut
Copy link

oberkut commented Apr 11, 2023

Decryption key specified, decrypting WhatsApp backup...
Common offsets are not applicable to your backup. Trying to brute force it...
The offsets of your IV and database are 67 and 193, respectively. To include your offsets in the program, please report it by creating an issue on GitHub: https://github.com/KnugiHK/Whatsapp-Chat-Exporter/issues/new
Traceback (most recent call last):
File "/home/berkut/.local/bin/wtsexporter", line 8, in
sys.exit(main())
File "/home/berkut/.local/lib/python3.10/site-packages/Whatsapp_Chat_Exporter/main.py", line 124, in main
error = extract.decrypt_backup(db, key, msg_db, crypt)
File "/home/berkut/.local/lib/python3.10/site-packages/Whatsapp_Chat_Exporter/extract.py", line 170, in decrypt_backup
with open(output, "wb") as f:
FileNotFoundError: [Errno 2] No such file or directory: 'msgstore.db'

@KnugiHK
Copy link
Owner

KnugiHK commented Apr 13, 2023

Hi. Could you provide the command you entered?

@oberkut
Copy link
Author

oberkut commented Apr 13, 2023

wtsexporter -a -k key -b msgstore.db.crypt14

@KnugiHK
Copy link
Owner

KnugiHK commented Apr 15, 2023

Not sure if your problem is related to https://stackoverflow.com/q/18758673/9478891 or https://stackoverflow.com/q/2401628/9478891. Try to specify another location for the database file with this command: wtsexporter -a -k key -b msgstore.db.crypt14 -d /tmp/temp.db

@KnugiHK KnugiHK changed the title The offsets of your IV and database are 67 and 193 Offset reporting and FileNotFoundError Jun 10, 2023
@KnugiHK
Copy link
Owner

KnugiHK commented Jun 25, 2023

The offset is included in the 0.9.5 release.

@KnugiHK KnugiHK added bug Something isn't working enhancement New feature or request labels Oct 1, 2023
@KnugiHK KnugiHK added the inactive Waiting for more information label Oct 23, 2023
@KnugiHK KnugiHK removed the inactive Waiting for more information label Sep 9, 2024
@KnugiHK
Copy link
Owner

KnugiHK commented Sep 9, 2024

Since the code is being refactored, the stack trace and the bug reported here may no longer be valid. For now, I will be closing this issue. If anyone encounters a similar problem with the latest version, please feel free to open a new issue.

@KnugiHK KnugiHK closed this as completed Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants