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

stopped working #4

Open
illmat opened this issue Feb 5, 2014 · 3 comments
Open

stopped working #4

illmat opened this issue Feb 5, 2014 · 3 comments

Comments

@illmat
Copy link

illmat commented Feb 5, 2014

Hey, used it a couple of month ago.
Tried it again today and it stopped working.
I'm not sure if this is a django or whatsapp related problem.
Whatsapp database structure changed slightly.

Here's my logfile:
http://pastebin.com/E6NteNDq

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/8401911-stopped-working?utm_campaign=plugin&utm_content=tracker%2F370092&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F370092&utm_medium=issues&utm_source=github).
@hashworks
Copy link

Same here.

[i] Setting AES key....... OK

[+] Decrypting msgstore-2015-04-19.1.db.crypt8 (msgstore-2015-04-19.1.db8) -> 6296144 Bytes
Traceback (most recent call last):
  File "tools/encryption.py", line 228, in <module>
    work_dir(args.dir, args.output)
  File "tools/encryption.py", line 166, in work_dir
    work_file( filename, dest )
  File "tools/encryption.py", line 132, in work_file
    ptext.write(aes.decrypt(block))
  File "/usr/lib/python2.7/dist-packages/Crypto/Cipher/blockalgo.py", line 295, in decrypt
    return self._cipher.decrypt(ciphertext)
ValueError: Input strings must be a multiple of 16 in length

@tasomaniac
Copy link

did anybody find a solution to this?

@ProfGuille
Copy link

ProfGuille commented Jul 24, 2020

Something similar here:
[i] Setting AES key....... OK

[+] Decrypting msgstore.db2019XIAOMI.crypt12 (msgstore.db2019XIAOMI12) -> 16 Byt86630640 Bytes
Traceback (most recent call last):
File "encryption.py", line 228, in
work_dir(args.dir, args.output)
File "encryption.py", line 166, in work_dir
work_file( filename, dest )
File "encryption.py", line 147, in work_file
totmsg, peermsg = getinfo(dest)
File "encryption.py", line 66, in getinfo
res = cur.execute("SELECT COUNT(*) FROM messages UNION ALL SELECT COUNT(DISTINCT key_remote_jid) FROM chat_list").fetchall()
sqlite3.DatabaseError: file is not a database

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

4 participants