ppwwyyxx / wechat-dump

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

Add new params for decrypting the database #96

Closed rom1504 closed 11 months ago

rom1504 commented 11 months ago

found necessary while investigating in #95

inspired by https://blog.greycode.top/posts/android-wechat-bak/

ppwwyyxx commented 11 months ago

Which version of sqlcipher are you using?

rom1504 commented 11 months ago

the last one, 4.5.5

rom1504 commented 11 months ago

I see, https://github.com/sqlcipher/sqlcipher/commit/e4b66d6cc8a2b7547a32ff2c3ac52f148eba3516 was meant to make these params non necessary

hmm indeed when I do it manually with sqlcipher binary it seems to work without these params now...

rom1504 commented 11 months ago

ok I had to sudo apt-get remove libsqlcipher0 so it would use the newer version of sqlcipher so indeed we don't need this PR

ppwwyyxx commented 11 months ago

I wonder why the check https://github.com/ppwwyyxx/wechat-dump/blob/baef03db850de2708f095405c93b8d3913a6ebfd/decrypt-db.py#L140-L142 is not effective for you

rom1504 commented 11 months ago

Yeah it's my bad, I had disabled it assuming that there was an error in the check since I thought I had installed fully the right version already.

On Mon, Oct 2, 2023, 2:48 AM Yuxin Wu @.***> wrote:

I wonder why the check https://github.com/ppwwyyxx/wechat-dump/blob/baef03db850de2708f095405c93b8d3913a6ebfd/decrypt-db.py#L140-L142 is not effective for you

— Reply to this email directly, view it on GitHub https://github.com/ppwwyyxx/wechat-dump/pull/96#issuecomment-1742166044, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAR437TMUJDURJVF4HSVS4DX5G3GJANCNFSM6AAAAAA5OIQVUM . You are receiving this because you modified the open/close state.Message ID: @.***>