douglas1997
V2EX  ›  问与答

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

  •  
  •   douglas1997 · Mar 7, 2017 · 3160 views
    This topic created in 3548 days ago, the information mentioned may be changed or developed.

    虽然官方有备份, 但是觉得做的真是稀烂。我想了解一下如何读取 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
    

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

    3 replies  •  2017-03-07 14:50:10 +08:00
    PhA
    PhA
    Mar 7, 2017
    1
    SQLCipher
    douglas1997
    douglas1997
    OP
    Mar 7, 2017
    2
    @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.
    PhA
    PhA
    Mar 7, 2017
    3
    @douglas1997 版本不匹配吧 换 2 试试
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4542 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 08:40 · PVG 16:40 · LAX 00:40 · JFK 03:40
    ♥ Do have faith in what you're doing.