mirror of
https://github.com/yincongcyincong/wechat_chatter.git
synced 2026-07-15 10:26:52 +08:00
Update README.md
This commit is contained in:
@@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
```
|
||||
|
||||
找到明文
|
||||
```
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user