Comments (5)
因为key是个32位的字节串
from pywxdump.
因为key是个32位的字节串
感谢回复。如果按照代码里的话,get_exe_bit会返回64吧?(因为是64位的exe)
那样的话addr_len就得是64了……?
(get_wx_info.py
)
addrLen = get_exe_bit(process.exe())
...
...
if rd['filePath'] != "None" and rd['key'] == "None" and not isKey:
rd['key'] = get_key(rd['pid'], rd['filePath'], addrLen)
from pywxdump.
这个和系统位数以及内存读写方式有关。
32位系统和64位系统,对内存读写单元大小不同。
from pywxdump.
这个和系统位数以及内存读写方式有关。
32位系统和64位系统,对内存读写单元大小不同。
感谢回复。
这样的话,如果我要手动复现遍历,请问这个地方的for j in range(i, i - 2000, -addr_len):
是不是该改成-int(addr_len/8)
,以匹配读写单元的大小(4/8 bytes)?我试了下,不改成/8的话在我的电脑上遍历不着key
for i in type_addrs[::-1]:
for j in range(i, i - 2000, -addr_len):
key_bytes = read_key_bytes(pm.process_handle, j, addr_len)
if key_bytes == "None":
continue
# print(key_bytes.hex())
if verify_key(key_bytes, MicroMsg_path):
key = key_bytes.hex()
from pywxdump.
@TaihouKai
所以你已经有了结论。
from pywxdump.
Related Issues (20)
- 【建议】完善增强方案 HOT 1
- question HOT 1
- 解密的聊天记录能否再导入回微信中 HOT 1
- 企微号人名显示不出来 HOT 5
- 修改密码或移除登录设备能不能实现重置 key 或访问不到最新消息 HOT 1
- 有获取实时聊天记录的计划吗? HOT 2
- 我想咨询下这个合并数据的工具有源码吗 HOT 3
- 怎么获取用户的性别 HOT 1
- 无法登录问题 HOT 2
- 合并实时数据库的函数在路径名中有中文时会报错
- 未知错误报错
- 如果微信中文名太长的话 获取微信信息会乱码
- read_info 获取到的账号信息的昵称乱码 HOT 1
- 如何关闭自动打开浏览器以及允许局域网其他电脑访问web页面 HOT 1
- 打包后的 realTime.exe 没权限执行 HOT 1
- 关于代码的建议 HOT 12
- 对BytesExtra实际结构的猜想 HOT 2
- 希望能够支持 pc微信 3.9.9.34这个版本,感谢~ HOT 1
- 现在能获取手机号吗 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pywxdump.