puppet-xp
puppet-xp copied to clipboard
Wechaty Puppet WeChat Windows Protocol
业务代码 ``` switch (msg.type()) { case 1: // 附件 case 2: // 语音 case 6: // 图片 case 15: { // 视频 const steamFile = await msg.toFileBox() const type =...
``` 11:24:17 ERR SidecarBody [SCRIPT_MESSAGRE_HANDLER_SYMBOL]() MessageType.Error: Error: access violation accessing 0x21 at (frida/runtime/core.js:141) at onEnter (/script1.js:449) node:events:491 throw er; // Unhandled 'error' event ^ F:\code\oneRobot\node_modules\gerror\src\gerror\gerror.ts:69 const e = new Error(payload)...
Message: Message#Text[🗣Contact@👥Room] 面南背北 Waiting for the debugger to disconnect... D:\wechatRoomBot\node_modules\wechaty\dist\cjs\src\user-modules\room.js:895 const contactListAll = await Promise.all(memberIdList.map(id => this.wechaty.Contact.find({ id }))); ^ TypeError: Cannot read properties of undefined (reading 'map') at WechatifiedUserClass.memberList...
ERR Config Wechaty unhandledRejection: Error: Script is destroyed at onScriptDestroyed (C:\Users\pinxi\Desktop\pinxiaozhai\node_modules\frida\dist\script.js:118:26) [object Promise] ERR Config ########################### ERR Config process.on(unhandledRejection) promise.catch(Script is destroyed) Config Error: Script is destroyed at onScriptDestroyed (C:\Users\pinxi\Desktop\pinxiaozhai\node_modules\frida\dist\script.js:118:26)
puppet-xp latest version wechat 3.6.0.18 ``` 22:20:49 INFO PuppetXp messageImage(clb6lfm6h000074ou7n4qdjzo, 2[HD]) 22:20:49 INFO C:\Users\lirenjie\Documents\WeChat Files\wxid_u1aox5vhmk3e22\FileStorage\Image\2022-12\d6cf955199daa7a3e146783d33936808.dat true [Error: ENOENT: no such file or directory, access 'C:\Users\lirenjie\Documents\WeChat Files\wxid_u1aox5vhmk3e22\FileStorage\Image\2022-12\d6cf955199daa7a3e146783d33936808.dat'] { errno: -4058, code:...
friendship事件好像监听不到,只能收到一个recvMsg, 可以看到是37号msg, 在puppet-xp.ts中配置可以获取到这条message。但是没有绑定friendship,导致没法通过绑定 bot.on('friendship', async (friendship:FriendShip) => { ...... //这里面的log没法打印,没有进去 })
- Error Messages > Tue Jan 10 2023 16:08:01 GMT+0000 recvMsgNativeCallback at onEnter err: Error: access violation accessing 0x39 > Tue Jan 10 2023 16:08:01 GMT+0000 recvMsgNativeCallback at onEnter err:...
报错信息如下: ``` 15:28:17 SILL SidecarBody [SCRIPT_MESSAGRE_HANDLER_SYMBOL]({"type":"error","description":"Error: access violation accessing 0x38","stack":"Error: access violation accessing 0x38\n at (frida/runtime/core.js:141)\n at onEnter (/script1.js:1195)","fileName":"frida/runtime/core.js","lineNumber":141,"columnNumber":1}, null) 15:28:17 ERR SidecarBody [SCRIPT_MESSAGRE_HANDLER_SYMBOL]() MessageType.Error: Error: access violation accessing 0x38...
In `wechaty-python`, `msg.payload.mention_ids` is empty in the message fetched by puppet-xp. This will cause you could not get the mention list.