add onebot doc

This commit is contained in:
yincong
2026-01-20 10:32:57 +08:00
parent c57b01c578
commit 2157ef8203
3 changed files with 70 additions and 15 deletions
+10 -1
View File
@@ -1046,11 +1046,20 @@ function patchCdnOnComplete() {
globalImageCdnKey = x2.add(0x60).readPointer().readUtf8String();
globalAesKey1 = x2.add(0x78).readPointer().readUtf8String();
globalMd5Key = x2.add(0x90).readPointer().readUtf8String();
const targetId = x2.add(0x40).readUtf8String();
console.log("[+] globalImageCdnKey: " + globalImageCdnKey + " globalAesKey1: " + globalAesKey1 +
" globalAesKey2: " + globalMd5Key);
" globalMd5Key: " + globalMd5Key);
send({
type: "finish",
})
if (globalImageCdnKey !== "" && globalImageCdnKey != null && globalAesKey1 !== "" && globalAesKey1 != null &&
globalMd5Key !== "" && globalMd5Key != null) {
send({
type: "upload_finish",
target_id: targetId,
})
}
} catch (e) {
console.log("[-] Memory access error at onEnter: " + e);
}