Giter VIP home page Giter VIP logo

Comments (5)

saleo avatar saleo commented on July 18, 2024

when i use a IMEI sv code, the corresponding is :
pysqlcipher.dbapi2.DatabaseError: file is encrypted or is not a database.

from wechat-dump.

ppwwyyxx avatar ppwwyyxx commented on July 18, 2024

This message indicates a wrong key due to unknown reasons. I've added your phone to the wiki.
You can try different methods to obtain IMEI/UIN to see if they agree. Or if that still doesn't work, you can try the password cracker

from wechat-dump.

saleo avatar saleo commented on July 18, 2024

thanks,and at the top update indicate: i CAN decrypt correctly

here's another problem:
[14:51:39 [email protected]:wechat.parser] Your username is: wxid_***
[14:51:39 [email protected]:wechat.parser] Found 11127 contacts.
[14:51:39 [email protected]:wechat.msg] Unhandled message type: 285212721
Traceback (most recent call last):
File "./dump-msg.py", line 23, in
parser = WeChatDBParser(db_file)
File "/home/leo/wechat-dump/wechat/parser.py", line 39, in init
self._parse()
File "/home/leo/wechat-dump/wechat/parser.py", line 120, in _parse
self._parse_msg()
File "/home/leo/wechat-dump/wechat/parser.py", line 63, in _parse_msg
values = self._parse_msg_row(row)
File "/home/leo/wechat-dump/wechat/parser.py", line 152, in _parse_msg_row
logger.warn("Unknown contact, probably deleted: {}".format(tk_id))
UnboundLocalError: local variable 'tk_id' referenced before assignment

remark:

  1. i have NOT 11127 contacts.
    2.*** stands for 14 charaters

FYI:
1.the decrypted.db size is less than EnMicroMsg.db, 480MB vs 500MB
2. i cannot show databases under Sqlite3's CLI,only .dbinfo worked, .databases and .tables...cannot

from wechat-dump.

ppwwyyxx avatar ppwwyyxx commented on July 18, 2024

The bug should get fixed in latest commit now.
It means 11127 names in the contact table in the database, which contain all the names in wechat groups.

Do you mean "sqlite3" instead of "sqlcipher"? The original database is encrypted and cannot be opened in sqlite3, but the decrypted one should work under sqlite3.

from wechat-dump.

saleo avatar saleo commented on July 18, 2024

thank you..finally i get the database and decrypt it..

i think the above problem is mainly caused by bad cable and virtualbox connection with phone, when i switch to a physical ubuntu, i can see the phone storage listed persistently, instead of occasionally (i cannot remember exactly).

from wechat-dump.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.