如何提取微信备份数据库中的数据?

2017-03-07 10:41:54 +08:00
 douglas1997

虽然官方有备份, 但是觉得做的真是稀烂。我想了解一下如何读取 Backup.db 的内容。其路径在

~/Library/Containers/com.tencent.xinWeChat/Data/Library/Application\ Support/com.tencent.xinWeChat/2.0b4.0.9/Backup

下(来源于 V2 网友的帖子), 我尝试了 sqlite3 来读取数据, 使用.tables命令得到一下结果:

sqlite> .tables
Error: file is encrypted or is not a database
sqlite> .schema
Error: file is encrypted or is not a database

所以请教一下如何读取这里面的数据呢?

2332 次点击
所在节点    问与答
3 条回复
kxjhlele
2017-03-07 10:48:50 +08:00
SQLCipher
douglas1997
2017-03-07 11:08:17 +08:00
@kxjhlele

Quote from stack overflow

> Without the key used to encrypt the content of a SQLCipher database, you can not decrypt the content of the database.

Could you tell me how to make it? And it seems there must be some way to decrypt this database.
kxjhlele
2017-03-07 14:50:10 +08:00
@douglas1997 版本不匹配吧 换 2 试试

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/345505

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX