Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

直接用sqlcipher.bat解密报错 #2

Closed
aRookieMan opened this issue Jun 18, 2023 · 6 comments
Closed

直接用sqlcipher.bat解密报错 #2

aRookieMan opened this issue Jun 18, 2023 · 6 comments

Comments

@aRookieMan
Copy link

前辈,我直接用sqlcipher.bat解密,报错:file is encrypted or is not a database。怎么解决?

@LC044
Copy link
Owner

LC044 commented Jun 18, 2023

将我的代码下载下来,运行之后根据提示加载需要的两个文件即可自动解密数据库,会生成一个未加密的sqlite数据库,可以使用任何支持sqlite的数据库打开。我的程序可以自动解密,不需要第三方程序了

@aRookieMan
Copy link
Author

请问会在那个目录下生成?我使用您的程序,解密界面卡在99%

@LC044
Copy link
Owner

LC044 commented Jun 18, 2023

解密后的数据库会保存在./app/data/DataBase文件夹里,如果一直卡在99%可耐心等待或者重新启动软件,实测700M的数据库是可以正常解密的,如果数据库文件过大可尝试只恢复部分聊天记录

@aRookieMan
Copy link
Author

解密后的数据库会保存在./app/data/DataBase文件夹里,如果一直卡在99%可耐心等待或者重新启动软件,实测700M的数据库是可以正常解密的,如果数据库文件过大可尝试只恢复部分聊天记录

感谢,已经没问题了

@914988803
Copy link

实测3.86g的数据库,解密不了(不知道是不是能否解密)msg.db文件生成了,但是文件大小只有736kb,再次运行后报错: File "c:\sharer\WeChatMsg\main.py", line 41, in loadMainWinView
self.viewMainWIn = mainview.MainWinController(username=username)
File "c:\sharer\WeChatMsg\app\Ui\mainview.py", line 30, in init
self.Me = data.get_myinfo()
File "c:\sharer\WeChatMsg\app\DataBase\data.py", line 123, in get_myinfo
cursor.execute(sql)
sqlite3.OperationalError: no such table: userinfo

@LC044
Copy link
Owner

LC044 commented Nov 14, 2023

使用最新代码可解决该问题

@LC044 LC044 closed this as completed Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants