Compare commits

...

14 Commits

Author SHA1 Message Date
叨叨
e85f9f2882
Optimize readme (#209)
* 1、修改加粗异常
2、英文Readme中免责声明改为英文
3、贡献者归类

* 删除重复部分

---------

Signed-off-by: 叨叨 <173192386@qq.com>
2025-04-30 01:52:32 +08:00
叨叨
1f627408da
优化英文README.md
1、修改加粗异常2、英文Readme中免责声明改为英文 3、贡献者归类 (#208)
2025-04-29 23:57:43 +08:00
xaoyaoo
8330cb974a UPDATE CHANGELOG.md 2025-03-20 08:32:13 +08:00
xaoyaoo
8b652d2d07 UPDATE CHANGELOG.md 2025-03-10 18:56:55 +08:00
xaoyaoo
e3817b2c0e add wx 3.9.12.51 2025-03-10 18:55:16 +08:00
xaoyaoo
4a63d6fa3e fix gen_change_log.py 2025-03-08 16:00:45 +08:00
xaoyaoo
79d8af07ef UPDATE CHANGELOG.md 2025-03-08 16:00:24 +08:00
xaoyaoo
0134299066 fix #178 2025-03-08 15:58:31 +08:00
xaoyaoo
79ae0b0edb fix #176 2025-03-08 15:57:48 +08:00
xaoyaoo
78265602bb update #178 2025-03-08 15:52:03 +08:00
xaoyaoo
7a0c7f384a add 3.9.12.45 2025-02-21 08:59:39 +08:00
xaoyaoo
42679aa5c6 add 3.9.12.45 2025-02-21 08:59:25 +08:00
xaoyaoo
881b0e539e add wx 3.9.12.37 2025-02-03 20:43:07 +08:00
xaoyaoo
36a9e4f1aa add wx 3.9.12.37 2025-02-03 20:42:30 +08:00
7 changed files with 72 additions and 49 deletions

View File

@ -38,8 +38,7 @@ QQ GROUP[276392799](https://s.xaoyo.top/gOLUDl) or [276392799](https://s.xaoy
#### 2.1 Core
* (1) Get the **base address offset
** of WeChat nickname, WeChat account, WeChat phone number, WeChat email, and WeChat KEY
* (1) Get the **base address offset** of WeChat nickname, WeChat account, WeChat phone number, WeChat email, and WeChat KEY
* (2) Get the WeChat nickname, WeChat account, WeChat phone number, WeChat email, WeChat KEY, WeChat original ID (wxid_******), and WeChat folder path of the currently logged-in WeChat
* (3) Decrypt WeChat database based on key
* (4) Combine multiple types of databases for unified viewing
@ -108,7 +107,7 @@ QQ GROUP[276392799](https://s.xaoyo.top/gOLUDl) or [276392799](https://s.xaoy
* If you want to modify the UI, clone the [wx_dump_web](https://github.com/xaoyaoo/wxdump_web) and modify it as needed (the UI is developed using VUE+ElementUI)
】:
note】:
* For obtaining the base address using cheat engine, refer to [CE obtaining base address.md](https://github.com/xaoyaoo/PyWxDump/tree/master/doc/CE获取基址.md)
(This method can be replaced by the `wxdump bias` command, and is only used for learning principles.)
@ -118,9 +117,7 @@ QQ GROUP[276392799](https://s.xaoyo.top/gOLUDl) or [276392799](https://s.xaoy
### 1. Purpose of use
* This project is only for learning and communication purposes, **please do not use it for illegal purposes**, **please
do not use it for illegal purposes**, **please do not use it for illegal purposes
**, otherwise the consequences will be borne by yourself.
* This project is only for learning and communication purposes, **please do not use it for illegal purposes**, **please do not use it for illegal purposes**, **please do not use it for illegal purposes**, otherwise the consequences will be borne by yourself.
* Users understand and agree that any violation of laws and regulations, infringement of the legitimate rights and interests of others, is unrelated to this project and its developers, and the consequences are borne by the user themselves.
### 2. Usage Period
@ -152,45 +149,13 @@ QQ GROUP[276392799](https://s.xaoyo.top/gOLUDl) or [276392799](https://s.xaoy
* Users are requested to carefully read and understand all contents of this disclaimer, and ensure that they strictly comply with relevant regulations when using this project.
# Ⅳ. 免责声明(非常重要!!!!!!!)
# Ⅳ. Acknowledgments
### 1. 使用目的
[![PyWxDump CONTRIBUTORS](https://contrib.rocks/image?repo=xaoyaoo/PyWxDump)](https://github.com/xaoyaoo/PyWxDump/graphs/contributors)
* 本项目仅供学习交流使用,**请勿用于非法用途****请勿用于非法用途****请勿用于非法用途**,否则后果自负。
* 用户理解并同意,任何违反法律法规、侵犯他人合法权益的行为,均与本项目及其开发者无关,后果由用户自行承担。
UI CONTRIBUTORS:
### 2. 使用期限
* 您应该在下载保存编译使用本项目的24小时内删除本项目的源代码和编译出的程序超出此期限的任何使用行为一概与本项目及其开发者无关。
### 3. 操作规范
* 本项目仅允许在授权情况下对数据库进行备份与查看,严禁用于非法目的,否则自行承担所有相关责任;用户如因违反此规定而引发的任何法律责任,将由用户自行承担,与本项目及其开发者无关。
* 严禁用于窃取他人隐私,严禁用于窃取他人隐私,严禁用于窃取他人隐私,否则自行承担所有相关责任。
* 严禁进行二次开发,严禁进行二次开发,严禁进行二次开发,否则自行承担所有相关责任。
### 4. 免责声明接受
* 下载、保存、进一步浏览源代码或者下载安装、编译使用本程序,表示你同意本警告,并承诺遵守它;
### 5. 禁止用于非法测试或渗透
* 禁止利用本项目的相关技术从事非法测试或渗透,禁止利用本项目的相关代码或相关技术从事任何非法工作,如因此产生的一切不良后果与本项目及其开发者无关。
* 任何因此产生的不良后果,包括但不限于数据泄露、系统瘫痪、侵犯隐私等,均与本项目及其开发者无关,责任由用户自行承担。
### 6. 免责声明修改
* 本免责声明可能根据项目运行情况和法律法规的变化进行修改和调整。用户应定期查阅本页面以获取最新版本的免责声明,使用本项目时应遵守最新版本的免责声明。
### 7. 其他
* 除本免责声明规定外,用户在使用本项目过程中应遵守相关的法律法规和道德规范。对于因用户违反相关规定而引发的任何纠纷或损失,本项目及其开发者不承担任何责任。
* 请用户慎重阅读并理解本免责声明的所有内容,确保在使用本项目时严格遵守相关规定。
# . Acknowledgments
[![PyWxDump CONTRIBUTORS](https://contrib.rocks/image?repo=xaoyaoo/PyWxDump)](https://github.com/xaoyaoo/PyWxDump/graphs/contributors)[![UI CONTRIBUTORS](https://contrib.rocks/image?repo=xaoyaoo/wxdump_web)](https://github.com/xaoyaoo/wxdump_web/graphs/contributors)
[![UI CONTRIBUTORS](https://contrib.rocks/image?repo=xaoyaoo/wxdump_web)](https://github.com/xaoyaoo/wxdump_web/graphs/contributors)
otherContributors:

View File

@ -1,6 +1,35 @@
## v3.1.39.(待发布)
## v3.1.46.(待发布)
-
- UPDATE CHANGELOG.md
## v3.1.45
- add wx 3.9.12.51
- UPDATE CHANGELOG.md
- fix gen_change_log.py
## v3.1.44
- fix #176
- fix #178
- update #178
## v3.1.43
- add 3.9.12.45
- add wx 3.9.12.37
## v3.1.42
- add wx 3.9.12.37
## v3.1.41, tag: v3.1.40, tag: v3.1.39
- 新增消息分类 (#162)
- fix 修改flask启动方式
- add wx 3.9.12.31
- UPDATE CHANGELOG.md
- Merge remote-tracking branch 'origin'
## v3.1.38

View File

@ -439,5 +439,19 @@
94522146,
0,
94522080
],
"3.9.12.45": [
94503784,
94505120,
94503592,
0,
94505056
],
"3.9.12.51": [
94555176,
94556512,
94554984,
0,
94556448
]
}

View File

@ -5,7 +5,7 @@
# Author: xaoyaoo
# Date: 2023/10/14
# -------------------------------------------------------------------------------
__version__ = "3.1.38"
__version__ = "3.1.45"
import os, json
@ -31,5 +31,4 @@ from .api.export import export_html, export_csv, export_json
__all__ = ["BiasAddr", "get_wx_info", "get_wx_db", "batch_decrypt", "decrypt", "get_core_db",
"merge_db", "decrypt_merge", "merge_real_time_db", "all_merge_real_time_db",
"DBHandler", "MsgHandler", "MicroHandler", "MediaHandler", "OpenIMContactHandler", "FavoriteHandler",
"PublicMsgHandler",
"start_server", "WX_OFFS", "WX_OFFS_PATH", "__version__"]
"PublicMsgHandler", "start_server", "WX_OFFS", "WX_OFFS_PATH", "__version__"]

View File

@ -161,8 +161,23 @@ def merge_db(db_paths: List[dict], save_path: str = "merge.db", is_merge_data: b
# 创建包含 NULL 值比较的 UNIQUE 索引
index_name = f"{table}_unique_index"
coalesce_columns = ','.join(f"COALESCE({column}, '')" for column in columns)
sql = f"CREATE UNIQUE INDEX IF NOT EXISTS {index_name} ON {table} ({coalesce_columns})"
out_cursor.execute(sql)
sql = f"CREATE UNIQUE INDEX IF NOT EXISTS {index_name} ON {table} ({coalesce_columns})" # 创建索引
# ****** 该部分代码来源于 https://github.com/xaoyaoo/PyWxDump/issues/176
# 防止数据重复导致索引创建失败
sql_if_exists_index = f"SELECT 1 FROM sqlite_master WHERE type='index' AND name='{index_name}' AND tbl_name='{table}';"
out_cursor.execute(sql_if_exists_index)
ret_if_exists_index = out_cursor.fetchone()
if ret_if_exists_index is None:
# 之前没创建过索引 先执行删除删除相同数据
# DELETE FROM employees WHERE ROWID NOT IN ( SELECT MIN(ROWID) FROM employees GROUP BY name, position);
str_columns = ','.join(columns)
# sql_clear_same = f"DELETE FROM {table} WHERE ROWID NOT IN (SELECT MIN(ROWID) FROM {table} GROUP BY {str_columns});"
sql_clear_same = f'''WITH Ranked AS (SELECT ROWID, ROW_NUMBER() OVER (PARTITION BY {str_columns} ORDER BY ROWID) AS rn FROM {table})
DELETE FROM {table} WHERE ROWID IN (SELECT ROWID FROM Ranked WHERE rn > 1);'''
out_cursor.execute(sql_clear_same)
out_cursor.execute(sql) # 执行创建索引
# 插入sync_log
sql_query_sync_log = f"SELECT src_count FROM sync_log WHERE db_path=? AND tbl_name=?"

Binary file not shown.

View File

@ -11,6 +11,7 @@ import time
def custom_sort_key(tag):
tag = tag.split(',')[0]
if tag == 'python':
return "000.000.000"
elif tag == 'HEAD':