Skip to content

Commit

Permalink
新增PC数据库解密
Browse files Browse the repository at this point in the history
  • Loading branch information
LC044 committed Nov 12, 2023
1 parent 20b4b91 commit ff482fc
Show file tree
Hide file tree
Showing 20 changed files with 1,330 additions and 52 deletions.
106 changes: 69 additions & 37 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions app/DataBase/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
@Version : Python3.10
@comment : ···
"""
from . import data
from . import output
# from . import data
# from . import output

__all__ = ["data", 'output']
1 change: 0 additions & 1 deletion app/DataBase/database.py

This file was deleted.

23 changes: 23 additions & 0 deletions app/DataBase/micro_msg.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import sqlite3
from pprint import pprint

DB = sqlite3.connect("./de_MicroMsg.db", check_same_thread=False)
# '''创建游标'''
cursor = DB.cursor()


def get_contact():
sql = '''select UserName,Alias,Type,Remark,NickName,PYInitial,RemarkPYInitial,ContactHeadImgUrl.smallHeadImgUrl,ContactHeadImgUrl.bigHeadImgUrl
from Contact inner join ContactHeadImgUrl on Contact.UserName = ContactHeadImgUrl.usrName
where Type=3 and Alias is not null
order by PYInitial
'''
cursor.execute(sql)
result = cursor.fetchall()
pprint(result)
print(len(result))
return result


if __name__ == '__main__':
get_contact()
3 changes: 2 additions & 1 deletion app/Ui/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@
# 文件__init__.py
# from login import login
from app.Ui.decrypt import decrypt
from app.Ui.pc_decrypt import pc_decrypt

__all__ = ["decrypt", 'mainview', 'chat']
__all__ = ["decrypt", 'mainview', 'chat', 'pc_decrypt']
Empty file added app/Ui/pc_decrypt/__init__.py
Empty file.
Loading

0 comments on commit ff482fc

Please sign in to comment.