ppwwyyxx / wechat-dump

Cracking encrypted wechat message history from android
GNU General Public License v3.0
1.65k stars 309 forks source link

decrypt-db.py:wechat] An unexpected error occurred.invalid literal for int() with base 10: '0 community' #90

Closed fashioncj closed 1 year ago

fashioncj commented 2 years ago

不兼容版本字符串 version_str = 4.5.0 community

version = tuple([int(x) for x in version_str.split(".")])

建议修改为: version_str.split(" ")[0].split(".")

delicacyyy commented 1 year ago

我直接注释掉了

m34nbunny commented 1 year ago

Add this to line 140 of the latest code version_str = list(conn.execute("PRAGMA cipher_version"))[0][0].replace(" community", "")