add screenshots

This commit is contained in:
ppwwyyxx
2015-01-09 11:57:12 +08:00
parent d4772c679d
commit 7ee5312783
3 changed files with 10 additions and 3 deletions
+7 -1
View File
@@ -39,12 +39,18 @@ This tool can parse and dump WeChat chat history on a rooted android phone.
./dump_html.py decrypted_db.db <resource directory> <contact name> output.html
```
### Screenshot:
An example html:
![byvoid](https://github.com/ppwwyyxx/wechat-dump/raw/master/screenshots/byvoid.jpg)
### TODO
+ Search by uid/username
+ Skip existing files when copying android resources
+ Fix unhandled types: > 10000 and < 0
+ Fix more unhandled types: > 10000 and < 0
+ Better user experiences... see TODOs
### Disclaimers
This tool is still under development and testing, therefore it might not work very well on every device.
Use this software at your own risk. The author is not responsible for any potential damage/loss/privacy
issues related to the use of this tool.
+3 -2
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env python2
# -*- coding: UTF-8 -*-
# File: res.py
# Date: Thu Jan 08 00:52:13 2015 +0800
# Date: Fri Jan 09 11:52:53 2015 +0800
# Author: Yuxin Wu <[email protected]>
import glob
@@ -31,6 +31,7 @@ JPEG_QUALITY = 50
def do_get_voice_mp3(amr_fpath):
""" return base64 string, and voice duration"""
assert amr_fpath.endswith('.amr')
assert os.path.isfile(amr_fpath), amr_fpath
mp3_file = os.path.join('/tmp',
os.path.basename(amr_fpath)[:-4] + '.mp3')
@@ -75,7 +76,7 @@ class Resource(object):
@timing(total=True)
def get_voice_mp3(self, imgpath):
idx = self.voice_cache_idx.get(imgpath)
if not idx:
if idx is None:
return do_get_voice_mp3(self.speak_data[imgpath])
return self.voice_cache[idx].get()
Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB