2014-11-22 21:59:59 +08:00
2014-11-22 21:59:59 +08:00
2014-11-21 14:09:09 +08:00
2014-11-21 13:09:01 +08:00
2014-11-21 14:37:18 +08:00
2014-11-21 15:57:44 +08:00
2014-11-21 15:57:44 +08:00

Dump Wechat Messages from Android

How to use (for now, Linux x64 only):

  • Get /data/data/com.tencent.mm/MicroMsg/long-long-name/EnMicroMsg.db from rooted phone:
  • Get wechat uin:
    • log on web-based wechat; get wxuin=1234567 from document.cookie
    • Or get default_uin from /data/data/com.tencent.mm/shared_prefs/system_config_prefs.xml.
  • Get phone IMEI:
    • Call *#06# on your phone
    • Or find IMEI in system settings
    • Or use adb shell dumpsys iphonesubinfo
  • Decrypt database and get decrypted_database.db:
./decrypt_db.sh <path to EnMicroMsg.db> <imei> <uin>
  • Parse and dump messages:
./dump_msg.py decrypted_database.db output_dir

TODO

  • parse audio messages, links, emoji and images
  • output to rich-content html
S
Description
No description provided
Readme
12 MiB
Languages
Python 78.1%
Java 13.7%
HTML 3.8%
Shell 3.7%
JavaScript 0.6%