From 39587c9c3be8461caa316a2c767cf9e06510b280 Mon Sep 17 00:00:00 2001 From: ppwwyyxx Date: Tue, 16 Jun 2015 22:25:18 +0800 Subject: [PATCH] rename scripts --- README.md | 8 ++++---- compatibility.sh | 2 +- decrypt_db.sh => decrypt-db.sh | 2 +- dump_html.py => dump-html.py | 0 dump_msg.py => dump-msg.py | 0 plot_num_msg_by_time.py => plot-num-msg-by-time.py | 0 6 files changed, 6 insertions(+), 6 deletions(-) rename decrypt_db.sh => decrypt-db.sh (96%) rename dump_html.py => dump-html.py (100%) rename dump_msg.py => dump-msg.py (100%) rename plot_num_msg_by_time.py => plot-num-msg-by-time.py (100%) diff --git a/README.md b/README.md index 2818b52..d6ba971 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ This tool can parse and dump WeChat chat history on a rooted android phone. + Get decrypted WeChat database (Linux & Mac Only): - + Automatic: `./android-interact.sh db_decrypt` + + Automatic: `./android-interact.sh db-decrypt` + Requires rooted adb. Available at https://play.google.com/store/apps/details?id=eu.chainfire.adbd&hl=en + Manual: + Get /data/data/com.tencent.mm/MicroMsg/long-long-name/EnMicroMsg.db from *root* filesystem, possible ways are: @@ -34,7 +34,7 @@ This tool can parse and dump WeChat chat history on a rooted android phone. + Find IMEI in system settings + Decrypt database, will produce `decrypted.db`: ``` - ./decrypt_db.sh + ./decrypt-db.sh ``` + Get WeChat user resource directory from your phone to `resource` directory: + `./android-interact.sh res` # you might need to change the resource location in this script if the default doesn't work @@ -42,11 +42,11 @@ This tool can parse and dump WeChat chat history on a rooted android phone. #### Run: + Parse and dump text messages of every contact (resource directory is not required to run this): ``` -./dump_msg.py decrypted.db output_dir +./dump-msg.py decrypted.db output_dir ``` + Dump messages of one contact to rich-content html, containing voice messages, emojis, and images: ``` -./dump_html.py decrypted.db resource output.html +./dump-html.py decrypted.db resource output.html ``` + Generate statistical report on text messages: ``` diff --git a/compatibility.sh b/compatibility.sh index 361cc47..9565876 100755 --- a/compatibility.sh +++ b/compatibility.sh @@ -1,6 +1,6 @@ #!/bin/bash -e # $File: compatibility.sh -# $Date: Sun Feb 01 17:22:34 2015 +0800 +# $Date: Tue Jun 16 22:23:36 2015 +0800 # Author: Vury Leo realpath() { diff --git a/decrypt_db.sh b/decrypt-db.sh similarity index 96% rename from decrypt_db.sh rename to decrypt-db.sh index d819d94..47f4a14 100755 --- a/decrypt_db.sh +++ b/decrypt-db.sh @@ -1,6 +1,6 @@ #!/bin/bash -e # File: decrypt_db.sh -# Date: Tue Jun 16 22:18:40 2015 +0800 +# Date: Tue Jun 16 22:23:13 2015 +0800 # Author: Yuxin Wu source compatibility.sh diff --git a/dump_html.py b/dump-html.py similarity index 100% rename from dump_html.py rename to dump-html.py diff --git a/dump_msg.py b/dump-msg.py similarity index 100% rename from dump_msg.py rename to dump-msg.py diff --git a/plot_num_msg_by_time.py b/plot-num-msg-by-time.py similarity index 100% rename from plot_num_msg_by_time.py rename to plot-num-msg-by-time.py