You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
604 B
Markdown

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# WeChatDat
#### 介绍
微信dat文件批量解析
#### 使用说明
1. 基于python3.7
2. 安装binasciidatetime
3. python Wechat.py
###
dat文件和源图片文件就是用某个数按字节异或了一下异或回来就可以了
A ^ B = C
B ^ C = A
A ^ C = B
假设png文件头是Adat文件是C用A和C文件头的字节异或就可以得出B
为图片的格式以pngjpggif为主通过这三种文件格式的头两个字节和待
转换文件的头两个字节一一异或的结果相等就找到B了同时也知道了文件的
格式