Update README.md

This commit is contained in:
jackyin
2025-11-21 17:26:04 +08:00
committed by GitHub
parent 201e89c858
commit 7a2a0b7e39
+30
View File
@@ -142,6 +142,21 @@ Interceptor.attach(wechat.findExportByName("recv"), {
}
});
Interceptor.attach(wechat.findExportByName("read"), {
onEnter(args) {
this.buf = args[1];
this.len = args[2].toInt32();
},
onLeave(retval) {
if (retval.toInt32() > 0) {
console.log("=== Read Data ===");
console.log(hexdump(this.buf, { length: retval.toInt32() }));
}
}
});
Interceptor.attach(wechat.findExportByName("send"), {
onEnter(args) {
console.log("=== Send Data ===");
@@ -155,4 +170,19 @@ Interceptor.attach(wechat.findExportByName("send"), {
}
});
Interceptor.attach(wechat.findExportByName("write"), {
onEnter(args) {
let fd = args[0].toInt32();
this.buf = args[1];
this.len = args[2].toInt32();
dump("WRITE", this.buf, this.len);
}
});
```
找到明文
```
```