ppwwyyxx / wechat-dump

Cracking encrypted wechat message history from android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

fashioncj opened this issue · comments

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

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

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

我直接注释掉了

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