Giter Site home page Giter Site logo

wechaty / puppet-xp Goto Github PK

View Code? Open in Web Editor NEW
442.0 13.0 108.0 3.01 MB

Wechaty Puppet WeChat Windows Protocol

Home Page: http://wechaty.js.org/docs/puppet-providers/xp

License: Apache License 2.0

JavaScript 62.65% Shell 0.42% TypeScript 36.93%
wechat puppet wechaty windows sidecar frida

puppet-xp's Introduction

Wechaty Puppet XP

Join Wechaty Discord Developer Community NPM NPM Version npm (tag) ES Modules

Powered by Wechaty Powered by Sidecar TypeScript Downloads GitHub stars Gitter

chatie puppet xp

WECHATY PUPPET YOUTH STAR

wechaty-puppet-xp is a local puppet for Wechaty:

  1. If you are a user of Windows,You can use this puppet to implement your chatbot.
  2. It's a completely free service and doesn't need token.

GETTING STARTED

  • STEP 1: Install wechat client in your Windows computer.

1.13.0+ is the latest version, only support WeChat v3.9.2.23. Note to use the npm package that matches the WeChat version.

  • STEP 2: Login the wechat client on the computer.
  • STEP 3: Getting Started with TypeScript/JavaScript (RECOMMENDED).
git clone https://github.com/wechaty/wechaty-puppet-xp.git
cd wechaty-puppet-xp

# 安装依赖
npm install

# 启动程序
npm start
#
# Do not forget to install WeChat with requried version and login.
#
Run Source code Description
npm start examples/ding-dong-bot.ts Puppet ding/dong
npm run start:ripe examples/ripe-wechaty.ts Wechaty ding/dong
npm run start:raw examples/raw-sidecar.ts Sidecar ding/dong

RUNNING WHITH NPM

puppet-xp also have already released the installation package on NPM. Running with NPM and more examples can be referred to wechaty-puppet-xp-getting-started.

PUPPET COMPARISON

XP is a young puppet,it keeps growing and improving.

版本 3.3.0.115 3.6.0.18 3.9.2.23
<消息>
接收文本
接收图片
接收文件
接收动图
接收表情
接收小程序卡片
接收联系人卡片
接收位置卡片
发送文本
发送图片
发送文件
发送动图
<群组>
@群成员
群列表
群成员列表
群详情
进群提示
<联系人>
好友列表
好友详情
<其他>
登录事件
扫码登录

VERSION SUPPORT

Note: You need to install an NPM version that matches your WeChat client version.

puppet-xp wechat npm install
1.3.x WeChat-v3.9.2.23 npm i wechaty-puppet-xp@next
1.12.7 WeChat-v3.6.0.18 npm i [email protected]
1.11.14 WeChat-v3.3.0.115 npm i [email protected]

HISTORY

v1.13.12

  1. Fixed the bug where the system crashes upon receiving a message before successful startup

v1.13.9

  1. Add setting for contact remark
  2. Optimize sample code

v1.13.0 (September 21, 2023)

  1. This version start to support WeChat v3.9.2.23,need to update WeChat on your pc to 3.9.2.23
  2. WeChatSetup-v3.9.2.23.exe

main v1.12.7 (November 22, 2022)

  1. This version start to support WeChat v3.6.0.18,need to update WeChat on your pc to 3.6.0.18
  2. WeChatSetup-v3.6.0.18.exe

v1.11.14

the last version base WeChat 3.3.0.115, next version will support WeChat 3.6.0.18

v1.0

wechaty 1.xx support

v0.5

  1. ES Module support
  2. WeChatSetup-v3.3.0.115.exe

v0.4.7 (Aug 15, 2021)

  1. Support send files.
  2. Support forward text message.

v0.4.2 (Aug 10, 2021)

Support room.say(text, ...mentionList), you can at RoomMember.

v0.4 (Aug 9, 2021)

  1. Added some support for classes Contact and Room
  2. Support bot.Contact.findAll()/bot.Contact.find(query)
  3. Support bot.Room.findAll()/bot.Room.find(query)

v0.2 (July 23, 2021)

  1. Code clean
  2. Fix all unit tests
  3. Run unit testings under Windows
  4. Deploy to NPM with GitHub actions
  5. examples/ding-dong-bot.ts works on Windows!
  6. examples/raw-sidecar.ts works on Windows!
  7. wechaty-getting-started supports WECHATY_PUPPET=wechaty-puppet-xp now.

v0.0.1 (July 19, 2021)

Initial version: https://wechaty.js.org/docs/puppet-providers/xp

Blogs:

Author

  1. Hua ZHANG @cixingguangming55555
  2. Yuchao LU @atorber

Copyright & License

  • Code & Docs © 2021 Wechaty Contributors
  • Code released under the Apache-2.0 License
  • Docs released under Creative Commons

puppet-xp's People

Contributors

atorber avatar binsee avatar caesar-ch avatar choogoo avatar cixingguangming55555 avatar ericcug avatar huan avatar leochen-g avatar lgojc avatar osindex avatar pea-cake avatar zhuzhu-top avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

puppet-xp's Issues

GError [TypeError]: Cannot read properties of undefined (reading 'Unknown')

Getting this error while running a 6 line bot and pointed to
https://github.com/wechaty/puppet-xp/blob/main/src/puppet-xp.ts#L50

It seems
wechaty-puppet not longer export ContactType, ContactGender and MessageType etc, they are all wrapped in a type property, see

https://github.com/wechaty/puppet/blob/main/src/mods/mod.ts#L46
and
https://github.com/wechaty/puppet/blob/main/src/mods/types.ts#L26

Should use something like

import { type } from 'wechaty-puppet'
const gender = type.ContactGender.Unknown

here?

And

import { FileBoxType } from 'file-box'

MessageType.Error: Error: access violation accessing 0x53013f

10:41:46 ERR SidecarBody SCRIPT_MESSAGRE_HANDLER_SYMBOL MessageType.Error: Error: access violation accessing 0x53013f
at (frida/runtime/core.js:138)
at (/script1.js:227)
node:events:368
throw er; // Unhandled 'error' event
^

Error: Error: access violation accessing 0x53013f
at WeChatSidecar.[scriptMessageHandler] (C:\Users\NINGMEI\Desktop\wechaty\node_modules\sidecar\dist\cjs\src\sidecar-body\sidecar-body.js:291:31)
at C:\Users\NINGMEI\Desktop\wechaty\node_modules\frida\dist\script.js:95:21
----- Agent Script Internal -----
Error: access violation accessing 0x53013f
at (frida/runtime/core.js:138)
at (/script1.js:227)
Emitted 'error' event on WeChatSidecar instance at:
at WeChatSidecar.[scriptMessageHandler] (C:\Users\NINGMEI\Desktop\wechaty\node_modules\sidecar\dist\cjs\src\sidecar-body\sidecar-body.js:297:26)
at C:\Users\NINGMEI\Desktop\wechaty\node_modules\frida\dist\script.js:95:21

access violation accessing 0x6f50475e

environment:

Windows 10
Wechat 3.3.0.115
Node v16.13.1
Python 3.10.1

log:

PS E:\workspace\git\wechaty> node bot.js
node:internal/process/promises:246
          triggerUncaughtException(err, true /* fromPromise */);
          ^

GError: from(`object`): {"gerror":"{\"code\":2,\"details\":\"Error: access violation accessing 0x6f50475e\\n    at chatroomRecurse (/script1.js:295)\\n    at chatroomRecurse (/script1.js:313)\\n    at chatroomRecurse (/script1.js:313)\\n    at chatroomRecurse (/script1.js:313)\\n    at chatroomRecurse (/script1.js:313)\\n    at getChatroomMemberInfoFunction (/script1.js:371)\\n    at __sidecar__getChatroomMemberInfo_Function_wrapper (/script1.js:1038)\\n    at apply (native)\\n    at <anonymous> (frida/runtime/message-dispatcher.js:13)\\n    at c (frida/runtime/message-dispatcher.js:23)\",\"message\":\"access violation accessing 0x6f50475e\",\"name\":\"Error\",\"stack\":\"Error: access violation accessing 0x6f50475e\\n    at chatroomRecurse (/script1.js:295)\\n    at chatroomRecurse (/script1.js:313)\\n    at chatroomRecurse (/script1.js:313)\\n    at chatroomRecurse (/script1.js:313)\\n    at chatroomRecurse (/script1.js:313)\\n    at getChatroomMemberInfoFunction (/script1.js:371)\\n    at __sidecar__getChatroomMemberInfo_Function_wrapper (/script1.js:1038)\\n    at apply (native)\\n    at <anonymous> (frida/runtime/message-dispatcher.js:13)\\n    at c (frida/runtime/message-dispatcher.js:23)\"}"}
    at Function.from (file:///E:/workspace/git/wechaty/node_modules/�[4mgerror�[24m/dist/esm/src/gerror/gerror.js:96:19)
    at PuppetXp.<anonymous> (file:///E:/workspace/git/wechaty/node_modules/�[4mwechaty�[24m/dist/esm/src/wechaty-mixins/puppet-mixin.js:147:55)
�[90m    at PuppetXp.emit (node:events:390:28)�[39m
    at PuppetXp.emit (file:///E:/workspace/git/wechaty/node_modules/�[4mwechaty-puppet�[24m/dist/esm/src/puppet/puppet-skeleton.js:101:22)
    at PuppetXp.start (file:///E:/workspace/git/wechaty/node_modules/�[4mstate-switch�[24m/dist/esm/src/service-ctl/service-ctl.js:70:22)
    at async PuppetXp.start (file:///E:/workspace/git/wechaty/node_modules/�[4mwechaty-puppet�[24m/dist/esm/src/mixins/service-mixin.js:18:13)
    at async WechatyImpl.start (file:///E:/workspace/git/wechaty/node_modules/�[4mwechaty�[24m/dist/esm/src/wechaty-mixins/puppet-mixin.js:48:21)
    at async WechatyImpl.start (file:///E:/workspace/git/wechaty/node_modules/�[4mwechaty�[24m/dist/esm/src/wechaty-mixins/login-mixin.js:85:13)
    at async WechatyImpl.start (file:///E:/workspace/git/wechaty/node_modules/�[4mwechaty�[24m/dist/esm/src/wechaty-mixins/io-mixin.js:18:13)
    at async WechatyImpl.start (file:///E:/workspace/git/wechaty/node_modules/�[4mstate-switch�[24m/dist/esm/src/service-ctl/service-ctl.js:55:21)
Emitted 'error' event on WechatyImpl instance at:
    at WechatyImpl.emit (file:///E:/workspace/git/wechaty/node_modules/�[4mwechaty�[24m/dist/esm/src/wechaty-mixins/gerror-mixin.js:45:26)
    at WechatyImpl.start (file:///E:/workspace/git/wechaty/node_modules/�[4mstate-switch�[24m/dist/esm/src/service-ctl/service-ctl.js:70:22) {
  code: �[33m2�[39m,
  details: �[32m'GError: from(`object`): {"gerror":"{\\"code\\":2,\\"details\\":\\"Error: access violation accessing 0x6f50475e\\\\n    at chatroomRecurse (/script1.js:295)\\\\n    at chatroomRecurse (/script1.js:313)\\\\n    at chatroomRecurse (/script1.js:313)\\\\n    at chatroomRecurse (/script1.js:313)\\\\n    at chatroomRecurse (/script1.js:313)\\\\n    at getChatroomMemberInfoFunction (/script1.js:371)\\\\n    at __sidecar__getChatroomMemberInfo_Function_wrapper (/script1.js:1038)\\\\n    at apply (native)\\\\n    at <anonymous> (frida/runtime/message-dispatcher.js:13)\\\\n    at c (frida/runtime/message-dispatcher.js:23)\\",\\"message\\":\\"access violation accessing 0x6f50475e\\",\\"name\\":\\"Error\\",\\"stack\\":\\"Error: access violation accessing 0x6f50475e\\\\n    at chatroomRecurse (/script1.js:295)\\\\n    at chatroomRecurse (/script1.js:313)\\\\n    at chatroomRecurse (/script1.js:313)\\\\n    at chatroomRecurse (/script1.js:313)\\\\n    at chatroomRecurse (/script1.js:313)\\\\n    at getChatroomMemberInfoFunction (/script1.js:371)\\\\n    at __sidecar__getChatroomMemberInfo_Function_wrapper (/script1.js:1038)\\\\n    at apply (native)\\\\n    at <anonymous> (frida/runtime/message-dispatcher.js:13)\\\\n    at c (frida/runtime/message-dispatcher.js:23)\\"}"}\n'�[39m +
    �[32m'    at Function.from (file:///E:/workspace/git/wechaty/node_modules/gerror/dist/esm/src/gerror/gerror.js:96:19)\n'�[39m +
    �[32m'    at PuppetXp.<anonymous> (file:///E:/workspace/git/wechaty/node_modules/wechaty/dist/esm/src/wechaty-mixins/puppet-mixin.js:147:55)\n'�[39m +
    �[32m'    at PuppetXp.emit (node:events:390:28)\n'�[39m +
    �[32m'    at PuppetXp.emit (file:///E:/workspace/git/wechaty/node_modules/wechaty-puppet/dist/esm/src/puppet/puppet-skeleton.js:101:22)\n'�[39m +
    �[32m'    at PuppetXp.start (file:///E:/workspace/git/wechaty/node_modules/state-switch/dist/esm/src/service-ctl/service-ctl.js:70:22)\n'�[39m +
    �[32m'    at async PuppetXp.start (file:///E:/workspace/git/wechaty/node_modules/wechaty-puppet/dist/esm/src/mixins/service-mixin.js:18:13)\n'�[39m +
    �[32m'    at async WechatyImpl.start (file:///E:/workspace/git/wechaty/node_modules/wechaty/dist/esm/src/wechaty-mixins/puppet-mixin.js:48:21)\n'�[39m +
    �[32m'    at async WechatyImpl.start (file:///E:/workspace/git/wechaty/node_modules/wechaty/dist/esm/src/wechaty-mixins/login-mixin.js:85:13)\n'�[39m +
    �[32m'    at async WechatyImpl.start (file:///E:/workspace/git/wechaty/node_modules/wechaty/dist/esm/src/wechaty-mixins/io-mixin.js:18:13)\n'�[39m +
    �[32m'    at async WechatyImpl.start (file:///E:/workspace/git/wechaty/node_modules/state-switch/dist/esm/src/service-ctl/service-ctl.js:55:21)'�[39m
}

"npm start" and "npm run start:ripe" NOT working

Hi,

This tool is really cool and amazing! I really love it! :)

However, when I run npm start and npm run start:ripe, I won't receive a "dong". On the contrary, if I run npm start:raw, I can get a "dong" if I send "ding".

The following is the log when running npm start (I've replaced some words out of privacy concerns). After login, my friend sends two texts to me. It can be noticed that at the last few lines, I receive two messages: "aaa" and "ding", which means that the underlying Windows hook module is working just fine. There seems to be some problems with modules that connect puppet and underlying hook system, but I could not figure out what exactly is not working.

Could you please kindly help on this issue? Any suggestion is appreciated!

Thanks.

C:\Users\xxx\Desktop\wechaty-puppet-xp>npm start

> wechaty-puppet-xp@0.7.15 start
> cross-env NODE_OPTIONS="--no-warnings --loader=ts-node/esm" node examples/ding-dong-bot.ts

13:28:13 VERB Sidecar @Call({"funcName":"getTestInfoFunction","type":"agent"})
13:28:13 VERB Sidecar @Call({"funcName":"getTestInfoFunction","type":"agent"}) callMethodDecorator(WeChatSidecar, getTestInfo, descriptor)
13:28:13 VERB Sidecar updateMetadataCall(WeChatSidecar, getTestInfo, {"funcName":"getTestInfoFunction","type":"agent"})
13:28:13 VERB Sidecar updateRpcDescriptor(WeChatSidecar, getTestInfo, descriptor)
13:28:13 VERB Sidecar @Call({"funcName":"getChatroomMemberNickInfoFunction","type":"agent"})
13:28:13 VERB Sidecar @Call({"funcName":"getChatroomMemberNickInfoFunction","type":"agent"}) callMethodDecorator(WeChatSidecar, getChatroomMemberNickInfo, descriptor)
13:28:13 VERB Sidecar updateMetadataCall(WeChatSidecar, getChatroomMemberNickInfo, {"funcName":"getChatroomMemberNickInfoFunction","type":"agent"})
13:28:13 VERB Sidecar updateRpcDescriptor(WeChatSidecar, getChatroomMemberNickInfo, descriptor)
13:28:13 VERB Sidecar @Call({"funcName":"getMyselfInfoFunction","type":"agent"})
13:28:13 VERB Sidecar @Call({"funcName":"getMyselfInfoFunction","type":"agent"}) callMethodDecorator(WeChatSidecar, getMyselfInfo, descriptor)
13:28:13 VERB Sidecar updateMetadataCall(WeChatSidecar, getMyselfInfo, {"funcName":"getMyselfInfoFunction","type":"agent"})
13:28:13 VERB Sidecar updateRpcDescriptor(WeChatSidecar, getMyselfInfo, descriptor)
13:28:13 VERB Sidecar @Call({"funcName":"getChatroomMemberInfoFunction","type":"agent"})
13:28:13 VERB Sidecar @Call({"funcName":"getChatroomMemberInfoFunction","type":"agent"}) callMethodDecorator(WeChatSidecar, getChatroomMemberInfo, descriptor)
13:28:13 VERB Sidecar updateMetadataCall(WeChatSidecar, getChatroomMemberInfo, {"funcName":"getChatroomMemberInfoFunction","type":"agent"})
13:28:13 VERB Sidecar updateRpcDescriptor(WeChatSidecar, getChatroomMemberInfo, descriptor)
13:28:13 VERB Sidecar @Call({"funcName":"getWechatVersionFunction","type":"agent"})
13:28:13 VERB Sidecar @Call({"funcName":"getWechatVersionFunction","type":"agent"}) callMethodDecorator(WeChatSidecar, getWeChatVersion, descriptor)
13:28:13 VERB Sidecar updateMetadataCall(WeChatSidecar, getWeChatVersion, {"funcName":"getWechatVersionFunction","type":"agent"})
13:28:13 VERB Sidecar updateRpcDescriptor(WeChatSidecar, getWeChatVersion, descriptor)
13:28:13 VERB Sidecar @Call({"funcName":"getContactNativeFunction","type":"agent"})
13:28:13 VERB Sidecar @Call({"funcName":"getContactNativeFunction","type":"agent"}) callMethodDecorator(WeChatSidecar, getContact, descriptor)
13:28:13 VERB Sidecar updateMetadataCall(WeChatSidecar, getContact, {"funcName":"getContactNativeFunction","type":"agent"})
13:28:13 VERB Sidecar updateRpcDescriptor(WeChatSidecar, getContact, descriptor)
13:28:13 VERB Sidecar @Call({"funcName":"sendMsgNativeFunction","type":"agent"})
13:28:13 VERB Sidecar @Call({"funcName":"sendMsgNativeFunction","type":"agent"}) callMethodDecorator(WeChatSidecar, sendMsg, descriptor)
13:28:13 VERB Sidecar updateMetadataCall(WeChatSidecar, sendMsg, {"funcName":"sendMsgNativeFunction","type":"agent"})
13:28:13 VERB Sidecar updateRpcDescriptor(WeChatSidecar, sendMsg, descriptor)
13:28:13 VERB Sidecar @Call({"funcName":"sendAttatchMsgNativeFunction","type":"agent"})
13:28:13 VERB Sidecar @Call({"funcName":"sendAttatchMsgNativeFunction","type":"agent"}) callMethodDecorator(WeChatSidecar, sendAttatchMsg, descriptor)
13:28:13 VERB Sidecar updateMetadataCall(WeChatSidecar, sendAttatchMsg, {"funcName":"sendAttatchMsgNativeFunction","type":"agent"})
13:28:13 VERB Sidecar updateRpcDescriptor(WeChatSidecar, sendAttatchMsg, descriptor)
13:28:13 VERB Sidecar @Call({"funcName":"sendPicMsgNativeFunction","type":"agent"})
13:28:13 VERB Sidecar @Call({"funcName":"sendPicMsgNativeFunction","type":"agent"}) callMethodDecorator(WeChatSidecar, sendPicMsg, descriptor)
13:28:13 VERB Sidecar updateMetadataCall(WeChatSidecar, sendPicMsg, {"funcName":"sendPicMsgNativeFunction","type":"agent"})
13:28:13 VERB Sidecar updateRpcDescriptor(WeChatSidecar, sendPicMsg, descriptor)
13:28:13 VERB Sidecar @Call({"funcName":"sendAtMsgNativeFunction","type":"agent"})
13:28:13 VERB Sidecar @Call({"funcName":"sendAtMsgNativeFunction","type":"agent"}) callMethodDecorator(WeChatSidecar, sendAtMsg, descriptor)
13:28:13 VERB Sidecar updateMetadataCall(WeChatSidecar, sendAtMsg, {"funcName":"sendAtMsgNativeFunction","type":"agent"})
13:28:13 VERB Sidecar updateRpcDescriptor(WeChatSidecar, sendAtMsg, descriptor)
13:28:13 VERB Sidecar @Hook({"funcName":"recvMsgNativeCallback","type":"agent"})
13:28:13 VERB Sidecar @ParamType(int32, [U32])
13:28:13 VERB Sidecar @ParamType(pointer, [Utf16String])
13:28:13 VERB Sidecar @ParamType(pointer, [Utf16String])
13:28:13 VERB Sidecar @ParamType(pointer, [Utf16String])
13:28:13 VERB Sidecar @ParamType(pointer, [Utf16String])
13:28:13 VERB Sidecar @ParamType(pointer, [Utf16String]) paramTypeDecorator (WeChatSidecar, recvMsg, 4)
13:28:13 VERB Sidecar guardParamType(WeChatSidecar, recvMsg, 4) WeChatSidecar.recvMsg(args[4]) designType/nativeType/pointerTypes: String/pointer/Utf16String
13:28:13 VERB Sidecar @ParamType(pointer, [Utf16String]) paramTypeDecorator (WeChatSidecar, recvMsg, 3)
13:28:13 VERB Sidecar guardParamType(WeChatSidecar, recvMsg, 3) WeChatSidecar.recvMsg(args[3]) designType/nativeType/pointerTypes: String/pointer/Utf16String
13:28:13 VERB Sidecar @ParamType(pointer, [Utf16String]) paramTypeDecorator (WeChatSidecar, recvMsg, 2)
13:28:13 VERB Sidecar guardParamType(WeChatSidecar, recvMsg, 2) WeChatSidecar.recvMsg(args[2]) designType/nativeType/pointerTypes: String/pointer/Utf16String
13:28:13 VERB Sidecar @ParamType(pointer, [Utf16String]) paramTypeDecorator (WeChatSidecar, recvMsg, 1)
13:28:13 VERB Sidecar guardParamType(WeChatSidecar, recvMsg, 1) WeChatSidecar.recvMsg(args[1]) designType/nativeType/pointerTypes: String/pointer/Utf16String
13:28:13 VERB Sidecar @ParamType(int32, [U32]) paramTypeDecorator (WeChatSidecar, recvMsg, 0)
13:28:13 VERB Sidecar guardParamType(WeChatSidecar, recvMsg, 0) WeChatSidecar.recvMsg(args[0]) designType/nativeType/pointerTypes: Number/int32/U32
13:28:13 VERB Sidecar @Hook({"funcName":"recvMsgNativeCallback","type":"agent"}) hookMethodDecorator(WeChatSidecar, recvMsg, descriptor)
13:28:13 VERB Sidecar @Sidecar(WeChat.exe, "/**
 * WeChat 3.2.1...")
13:28:13 VERB Sidecar @Sidecar(WeChat.exe"/**
 * WeChat 3.2.1...") classDecorator(WeChatSidecar)
13:28:13 VERB Sidecar buildSidecarMetadata(WeChatSidecar, "{"initAgentScript":"...")
13:28:13 VERB Sidecar guardMetadataSidecar(meta)
13:28:13 VERB Sidecar updateMetadataSidecar(WeChatSidecar, "{"initAgentScript":"...")
13:28:13 VERB Puppet constructor({}) #0
13:28:13 VERB StateSwitch constructor(PuppetXp, "{"log":{"enableTimestamp":true,"logLevel":4,"prefixFilter":{}}}")
13:28:13 VERB MemoryCard constructor(undefined)
13:28:13 VERB MemoryCard getStorage() for storage type: N/A
13:28:13 VERB MemoryCard load() from storage: N/A
13:28:13 VERB MemoryCard load() no storage
13:28:13 VERB Puppet constructor() watchdog timeout set to 60 seconds
13:28:13 VERB PuppetXp constructor({})
13:28:13 VERB PuppetXp start()
13:28:13 VERB StateSwitch <PuppetXp> on(pending) <- (false)
13:28:13 VERB PuppetXp #tryStart()
13:28:13 VERB SidecarBody constructor()
13:28:13 VERB SidecarBody [ATTACH_SYMBOL]()
13:28:13 VERB SidecarBody [INIT_SYMBOL]()
13:28:13 VERB Sidecar buildAgentSource("{"initAgentScript":"...")

Puppet Version: 0.0.0

Please wait... I'm trying to login in...


13:28:16 VERB SidecarBody<SidecarAgent> init()
13:28:16 VERB WeChatSidecar<Sidecar> getMyselfInfo()
13:28:16 VERB SidecarBody<SidecarAgent> getMyselfInfo()
13:28:16 VERB WeChatSidecar<Sidecar> getContact()
13:28:16 VERB SidecarBody<SidecarAgent> getContact()
13:28:16 VERB WeChatSidecar<Sidecar> getChatroomMemberInfo()
13:28:16 VERB SidecarBody<SidecarAgent> getChatroomMemberInfo()
13:28:16 VERB WeChatSidecar<Sidecar> getChatroomMemberNickInfo(wxid_aaaaaaaaaaaa, 1111111111@chatroom)
13:28:16 VERB SidecarBody<SidecarAgent> getChatroomMemberNickInfo(wxid_bbbbbbbbbbb, 1111111111@chatroom)
13:28:16 VERB WeChatSidecar<Sidecar> getChatroomMemberNickInfo(wxid_ccccccccccccc, 2222222222@chatroom)
13:28:16 VERB SidecarBody<SidecarAgent> getChatroomMemberNickInfo(wxid_dddddddddddd, 2222222222@chatroom)
13:28:16 VERB StateSwitch <PuppetXp> off(true) <- (false)
13:28:47 VERB SidecarBody<SidecarAgent> Interceptor.attach(recvMsgNativeCallback) onEnter()
13:28:47 VERB SidecarBody [HOOK_EVENT_HANDLER]("{"args":{"0":1,"1":"wxid_mmmmmmmm","2":"aaa","3":"null","4":"<msgsource />\n"},"method":"recvMsg"}")
13:28:56 VERB SidecarBody<SidecarAgent> Interceptor.attach(recvMsgNativeCallback) onEnter()
13:28:56 VERB SidecarBody [HOOK_EVENT_HANDLER]("{"args":{"0":1,"1":"wxid_mmmmmmmm","2":"ding","3":"null","4":"<msgsource />\n"},"method":"recvMsg"}")
Terminate batch job (Y/N)? Y

PuppetXp.messageSendUrl() Nothing happened

我尝试调用了PuppetXp.messageSendUrl()方法来试图发送链接卡片,但是发现除了控制台会出一条log日志,没有产生任何效果。安装的微信客户端也是3.3.0.115

msg.mentionSelf() returns false when a robot is mentioned via its alias

I'm not sure I should report it here or in the wechaty-puppet repository as I don't have a token to try other protocal.

I tracked down to wechaty/wechaty-puppet's async contactSearch() function which can't find the contact data if my bot has its alias in a room, and results in an empty mentionList: [] and failed to return correct mentionSelf() result.

My wechaty-puppet version is 1.7.6

node: --experimental-loader requires --experimental-modules be enabled

[email protected] start G:\php_dnmp\www\wechaty-puppet-xp

cross-env NODE_OPTIONS="--no-warnings --loader=ts-node/esm" node examples/ding-dong-bot.ts

node: --experimental-loader requires --experimental-modules be enabled
npm ERR! code ELIFECYCLE
npm ERR! errno 9
npm ERR! [email protected] start: cross-env NODE_OPTIONS="--no-warnings --loader=ts-node/esm" node examples/ding-dong-bot.ts
npm ERR! Exit status 9
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Fail to run demo.

environment:

windows 10
wechat 3.2.1.121
node v14.17.5
Python 3.9.6

log:

PS C:\Users\ylin\wechaty-puppet-xp> npm start

> [email protected] start C:\Users\ylin\wechaty-puppet-xp
> ts-node examples/ding-dong-bot.ts


Puppet Version: 0.4.8

Please wait... I'm trying to login in...


11:55:13 ERR SidecarBody [SCRIPT_MESSAGRE_HANDLER_SYMBOL]() MessageType.Error: Error: access violation accessing 0x605d9728
    at <anonymous> (frida/runtime/core.js:127)
    at <eval> (/script1.js:222)
C:\Users\ylin\wechaty-puppet-xp\node_modules\sidecar\src\sidecar-body\sidecar-body.ts:400
          const e = new Error(message.description)
                    ^
Error: Error: access violation accessing 0x605d9728
    at WeChatSidecar.SidecarBody.<computed> (C:\Users\ylin\wechaty-puppet-xp\node_modules\sidecar\src\sidecar-body\sidecar-body.ts:400:21)
    at C:\Users\ylin\wechaty-puppet-xp\node_modules\frida\dist\script.js:95:21

Error: access violation accessing 0x605d9728
    at <anonymous> (frida/runtime/core.js:127)
    at <eval> (/script1.js:222)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `ts-node examples/ding-dong-bot.ts`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\ylin\AppData\Roaming\npm-cache\_logs\2021-08-17T03_55_13_350Z-debug.log

希望可以完善一下API文档,新手碰壁有点多

本人比较菜,用了2天时间解决各种npm i中报的错误(项目要求python2.7环境这点花费了最长的时间去探索),在提供的“ding-dong”demo中尝试调用了几个方法如messageSendUrl(),又或是msg.say(FileBoxInterface)都没能成功调用不是报错就是无反应。可能我还不能很好的区分wechaty 的API和puppet API 的区别,再比如 puppet-xp/ripe-wechaty.ts中的msg.wechaty.wrapAsync()方法在文档之中也没能查到是起到了什么效果。希望可以提供一个对于新手更为友好puppet-xp框架的开发文档。🙏🙏🙏

The program exits automatically after a “invalid string” error is reported.

16:51:58 VERB Message static load(cksptxlge005pi0o5ajz48vfe)
16:51:58 VERB Message constructor(cksptxlge005pi0o5ajz48vfe) for class WechatifiedMessage
16:51:58 VERB Message ready()
16:51:58 VERB Puppet messagePayload(cksptxlge005pi0o5ajz48vfe)
16:51:58 VERB PuppetXp messageRawPayload(cksptxlge005pi0o5ajz48vfe)
16:51:58 VERB Room ready()
16:51:58 INFO StarterBot Message#Text[🗣Contact<摸鱼大户 WYZ>@👥Room<老张学技术-C语言学习群1>]      玩什么游戏
摸鱼大户 WYZ
16:52:08 VERB SidecarBody<SidecarAgent> Interceptor.attach(recvMsgNativeCallback) onEnter()
16:52:08 ERR SidecarBody [SCRIPT_MESSAGRE_HANDLER_SYMBOL]() MessageType.Error: Error: invalid string
    at <anonymous> (frida/runtime/core.js:127)
    at sendSidecarPayloadHook (/script1.js:1157)
16:52:08 ERR Config ###########################
16:52:08 ERR Config uncaughtException: Error: Error: invalid string
    at WeChatSidecar.SidecarBody.<computed> (C:\workspace\wechaty-puppet-xp\node_modules\sidecar\src\sidecar-body\sidecar-body.ts:400:21)
    at C:\workspace\wechaty-puppet-xp\node_modules\frida\dist\script.js:95:21

Error: invalid string
    at <anonymous> (frida/runtime/core.js:127)
    at sendSidecarPayloadHook (/script1.js:1157) uncaughtException
16:52:08 ERR Config ###########################
Error: Error: invalid string
    at WeChatSidecar.SidecarBody.<computed> (C:\workspace\wechaty-puppet-xp\node_modules\sidecar\src\sidecar-body\sidecar-body.ts:400:21)
    at C:\workspace\wechaty-puppet-xp\node_modules\frida\dist\script.js:95:21

Error: invalid string
    at <anonymous> (frida/runtime/core.js:127)
    at sendSidecarPayloadHook (/script1.js:1157)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start:ripe: `cross-env WECHATY_LOG=verbose ts-node examples/ripe-wechaty.ts`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start:ripe script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2021-08-24T08_52_08_459Z-debug.log

重大bug:联系人只要一个动作就能让puppet-xp终止服务

只要收到视频或者语音通话邀请,puppet-xp服务就会报错终止,报错信息如下:

12:00:00 ERR SidecarBody [SCRIPT_MESSAGRE_HANDLER_SYMBOL]() MessageType.Error: Error: access violation accessing 0x0
    at onEnter (/script1.js:450)

程序端(python-wechaty)信息:

2022-01-21 12:00:00,958 - PuppetService - INFO - receive error info <{'gerror': '{"code":2,"details":"GError: {}\\n    at Function.from (file:///C:/Users/Zhao/AppData/Roaming/npm/node_modules/wechaty-puppet-xp/node_modules/gerror/dist/esm/src/gerror/gerror.js:80:23)\\n    at PuppetXp.emit (file:///C:/Users/Zhao/AppData/Roaming/npm/node_modules/wechaty-puppet-xp/node_modules/wechaty-puppet/dist/esm/src/puppet/puppet-skeleton.js:92:27)\\n    at WeChatSidecar.<anonymous> (file:///C:/Users/Zhao/AppData/Roaming/npm/node_modules/wechaty-puppet-xp/dist/esm/src/puppet-xp.js:196:44)\\n    at WeChatSidecar.emit (node:events:390:28)\\n    at WeChatSidecar.[scriptMessageHandler] (file:///C:/Users/Zhao/AppData/Roaming/npm/node_modules/wechaty-puppet-xp/node_modules/sidecar/dist/esm/src/sidecar-body/sidecar-body.js:275:26)\\n    at C:\\\\Users\\\\Zhao\\\\AppData\\\\Roaming\\\\npm\\\\node_modules\\\\wechaty-puppet-xp\\\\node_modules\\\\frida\\\\dist\\\\script.js:95:21","message":"{}","name":"GError","stack":"GError: {}\\n    at Function.from (file:///C:/Users/Zhao/AppData/Roaming/npm/node_modules/wechaty-puppet-xp/node_modules/gerror/dist/esm/src/gerror/gerror.js:80:23)\\n    at PuppetXp.emit (file:///C:/Users/Zhao/AppData/Roaming/npm/node_modules/wechaty-puppet-xp/node_modules/wechaty-puppet/dist/esm/src/puppet/puppet-skeleton.js:92:27)\\n    at WeChatSidecar.<anonymous> (file:///C:/Users/Zhao/AppData/Roaming/npm/node_modules/wechaty-puppet-xp/dist/esm/src/puppet-xp.js:196:44)\\n    at WeChatSidecar.emit (node:events:390:28)\\n    at WeChatSidecar.[scriptMessageHandler] (file:///C:/Users/Zhao/AppData/Roaming/npm/node_modules/wechaty-puppet-xp/node_modules/sidecar/dist/esm/src/sidecar-body/sidecar-body.js:275:26)\\n    at C:\\\\Users\\\\Zhao\\\\AppData\\\\Roaming\\\\npm\\\\node_modules\\\\wechaty-puppet-xp\\\\node_modules\\\\frida\\\\dist\\\\script.js:95:21"}'}>
Traceback (most recent call last):
  File "C:\Users\Zhao\python-wechaty-getting-started\examples\xiaoyan-bot.py", line 138, in <module>
    asyncio.run(main())
  File "C:\Python310\lib\asyncio\runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "C:\Python310\lib\asyncio\base_events.py", line 642, in run_until_complete
    return future.result()
  File "C:\Users\Zhao\python-wechaty-getting-started\examples\xiaoyan-bot.py", line 133, in main
    await bot.start()
  File "C:\Python310\lib\site-packages\wechaty\wechaty.py", line 394, in start
    await self.puppet.start()
  File "C:\Python310\lib\site-packages\wechaty_puppet_service\puppet.py", line 929, in start
    await self._listen_for_event()
  File "C:\Python310\lib\site-packages\wechaty_puppet_service\puppet.py", line 1029, in _listen_for_event
    payload = EventErrorPayload(**payload_data)
TypeError: __init__() got an unexpected keyword argument 'gerror'

AN err 'Config unhandledRejection: TypeError: Cannot read property 'map' of undefined 'was thrown,Wechat client quit

An err 'Config unhandledRejection: TypeError: Cannot read property 'map' of undefined 'was thrown,Wechat client quit

13:42:08 VERB Puppet selfId()
404
13:46:43 VERB SidecarBody<SidecarAgent> Interceptor.attach(recvMsgNativeCallback) onEnter()
13:46:43 VERB SidecarBody [HOOK_EVENT_HANDLER]("{"args":{"0":1,"1":"25172281579@chatroom","2":"huiifu","3":"tyutluyc","4":"<msgsource>\n\t<silence>0</silence>\n\t<membercount>3</membercount>\n</msgsource>\n"},"method":"recvMsg"}")
{
  fromId: 'xxxxx',
  id: 'cktl3045h01agnko51fut0fir',
  roomId: '25172xxxx579@chatroom',
  text: 'huiifu',
  timestamp: 1631684803589,
  toId: '',
  type: 7
}
13:46:43 VERB Message static load(cktl3045h01agnko51fut0fir)
13:46:43 VERB Message constructor(cktl3045h01agnko51fut0fir) for class WechatifiedMessage
13:46:43 VERB Message ready()
13:46:43 VERB Puppet messagePayload(cktl3045h01agnko51fut0fir)
13:46:43 VERB PuppetXp messageRawPayload(cktl3045h01agnko51fut0fir)
13:46:43 VERB Room ready()
13:46:43 VERB Puppet roomPayload(25172281579@chatroom)
13:46:43 VERB PuppetXp roomMemberList(25172281579@chatroom)
13:46:43 ERR Config ###########################
13:46:43 ERR Config unhandledRejection: TypeError: Cannot read property 'map' of undefined
    at WechatifiedRoom.ready (file:///C:/workspace/wechaty-puppet-xp/node_modules/wechaty/src/user/room.ts:358:37)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async WechatifiedMessage.ready (file:///C:/workspace/wechaty-puppet-xp/node_modules/wechaty/src/user/message.ts:864:7)
    at async PuppetXp.<anonymous> (file:///C:/workspace/wechaty-puppet-xp/node_modules/wechaty/src/wechaty.ts:492:15) [object Promise]
13:46:43 ERR Config ###########################
13:46:43 ERR Config process.on(unhandledRejection) promise.catch(Cannot read property 'map' of undefined)
Config TypeError: Cannot read property 'map' of undefined
    at WechatifiedRoom.ready (file:///C:/workspace/wechaty-puppet-xp/node_modules/wechaty/src/user/room.ts:358:37)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async WechatifiedMessage.ready (file:///C:/workspace/wechaty-puppet-xp/node_modules/wechaty/src/user/message.ts:864:7)
    at async PuppetXp.<anonymous> (file:///C:/workspace/wechaty-puppet-xp/node_modules/wechaty/src/wechaty.ts:492:15)
15:45:36 VERB SidecarBody [SCRIPT_DESTROYED_HANDLER_SYMBOL]()
15:45:36 VERB SidecarBody [DETACH_SYMBOL]()

log files:

  • WeChat27ab1942FMD5.txt
C:\Program Files (x86)\Tencent\WeChat

[2021-04-29 18-43-16] [F74259E5E5ACBCF35F89A34BFA314D86] [227528]	AndroidAssistHelper.dll
[2021-04-29 18-43-22] [37DA7F6961082DD96A537235DD89B114] [19136]	api-ms-win-core-console-l1-1-0.dll
[2021-04-29 18-43-22] [3B3BD0AD4FEA16AB58FCAEAE4629879C] [18624]	api-ms-win-core-datetime-l1-1-0.dll
[2021-04-29 18-43-22] [584766DF684B2AD2A3A5B05A5B457FAC] [18624]	api-ms-win-core-debug-l1-1-0.dll
[2021-04-29 18-43-22] [906CB0C8ABA8342D552B0F37DDFD475F] [18624]	api-ms-win-core-errorhandling-l1-1-0.dll
[2021-04-29 18-43-22] [779A8B14C22E463EA535CBCA9EA84D49] [22208]	api-ms-win-core-file-l1-1-0.dll
[2021-04-29 18-43-22] [A6B6823286B57EDE3AF4DBE1CFFE8D96] [16848]	api-ms-win-core-file-l1-2-0.dll
[2021-04-29 18-43-22] [46C572DC9818FEBD879113C3C890EFF5] [16848]	api-ms-win-core-file-l2-1-0.dll
[2021-04-29 18-43-22] [FC68978ABB44E572DFE637B7DD3D615F] [18624]	api-ms-win-core-handle-l1-1-0.dll
[2021-04-29 18-43-22] [1CD8672D8C08B39560A9D5518836493E] [19136]	api-ms-win-core-heap-l1-1-0.dll
[2021-04-29 18-43-22] [B8BB783DEE4EA95576882625C365E616] [19136]	api-ms-win-core-interlocked-l1-1-0.dll
[2021-04-29 18-43-22] [44CA070DC5C09FF8588CF6CDCB64E7A2] [19136]	api-ms-win-core-libraryloader-l1-1-0.dll
[2021-04-29 18-43-22] [CEBF9F623CF94988E3DF70801E0B1DB5] [19408]	api-ms-win-core-localization-l1-2-0.dll
[2021-04-29 18-43-22] [FC13F11A2458879B23C87B29C2BAD934] [19136]	api-ms-win-core-memory-l1-1-0.dll
[2021-04-29 18-43-22] [07954AF744363F9807355E4E9408DF45] [18624]	api-ms-win-core-namedpipe-l1-1-0.dll
[2021-04-29 18-43-22] [39556E904FA2405ABAF27231DA8EF9E5] [19648]	api-ms-win-core-processenvironment-l1-1-0.dll
[2021-04-29 18-43-22] [39047E168FFBDD19185504633D6ECA29] [20672]	api-ms-win-core-processthreads-l1-1-0.dll
[2021-04-29 18-43-22] [6F24BCEDB43BE73FC0B8588DAF769FF2] [17360]	api-ms-win-core-processthreads-l1-1-1.dll
[2021-04-29 18-43-22] [7697F94ED76B22D83D677B999EDFC2E1] [18112]	api-ms-win-core-profile-l1-1-0.dll
[2021-04-29 18-43-22] [FDF0B4BF0214585E18EE2F6978F985B0] [18112]	api-ms-win-core-rtlsupport-l1-1-0.dll
[2021-04-29 18-43-22] [687533A89B43510CCE4D8B2ECB261AA0] [18624]	api-ms-win-core-string-l1-1-0.dll
[2021-04-29 18-43-22] [88C4CA509C947509E123F22E5F077639] [20672]	api-ms-win-core-synch-l1-1-0.dll
[2021-04-29 18-43-22] [58056AB75D973BF1327BEB8A006D0D61] [17360]	api-ms-win-core-synch-l1-2-0.dll
[2021-04-29 18-43-22] [B9EA058418BE64F85B0FF62341F7099E] [19648]	api-ms-win-core-sysinfo-l1-1-0.dll
[2021-04-29 18-43-22] [AA3691AC60401B987CA127E0600990AA] [16848]	api-ms-win-core-timezone-l1-1-0.dll
[2021-04-29 18-43-22] [2886C75F8B9D3EFDF315C44B52847AEE] [18624]	api-ms-win-core-util-l1-1-0.dll
[2021-04-29 18-43-22] [39D0D57AA78017199CAB0874FE60B8F7] [17872]	api-ms-win-crt-conio-l1-1-0.dll
[2021-04-29 18-43-22] [7299F31915329DC758B65322D6B76FDE] [20944]	api-ms-win-crt-convert-l1-1-0.dll
[2021-04-29 18-43-22] [6B3DBD259075D37131A06EDC2041F946] [17360]	api-ms-win-crt-environment-l1-1-0.dll
[2021-04-29 18-43-22] [DD78F8CF84782A4B18110D860929A7D8] [18896]	api-ms-win-crt-filesystem-l1-1-0.dll
[2021-04-29 18-43-22] [6F6BE6D6DEDF61A93DFD8CE02B5E5EC1] [17872]	api-ms-win-crt-heap-l1-1-0.dll
[2021-04-29 18-43-22] [32CCC4EEB794CC2F542D8A534C29FC14] [17360]	api-ms-win-crt-locale-l1-1-0.dll
[2021-04-29 18-43-22] [B8EE87664C73E803EB5BBA3BC48347A0] [27600]	api-ms-win-crt-math-l1-1-0.dll
[2021-04-29 18-43-22] [E097A06CE2E90E03E44A3C99BBCAD3DB] [25040]	api-ms-win-crt-multibyte-l1-1-0.dll
[2021-04-29 18-43-22] [5CA722F98F10B14F617566DF25A0D3A4] [71632]	api-ms-win-crt-private-l1-1-0.dll
[2021-04-29 18-43-22] [7F333C175DD3DE74A73C8FFBDD0BE6AB] [17872]	api-ms-win-crt-process-l1-1-0.dll
[2021-04-29 18-43-22] [0E391A165B219060F7B3E28FEB40F39F] [21456]	api-ms-win-crt-runtime-l1-1-0.dll
[2021-04-29 18-43-22] [A94B60E936687C1B4C80E598D179237C] [22992]	api-ms-win-crt-stdio-l1-1-0.dll
[2021-04-29 18-43-22] [0E79208F8D5084976FD31039415F3ECB] [22992]	api-ms-win-crt-string-l1-1-0.dll
[2021-04-29 18-43-22] [9BA209668AE9EF6D1D8D73EAF4814AF5] [19408]	api-ms-win-crt-time-l1-1-0.dll
[2021-04-29 18-43-22] [8AB04A456D9C259AF1FD361E072CBC2F] [17360]	api-ms-win-crt-utility-l1-1-0.dll
[2020-12-30 10-13-42] [AD1FE7F852F9BDE38F0F00FB045F2297] [16661573]	applet_100_percent.pak
[2020-12-30 10-13-42] [36C132513FD61412FD34262D2E7FCE16] [16761521]	applet_200_percent.pak
[2020-12-30 10-13-44] [1C9A8382017CE64BFDAD8A8C730B1940] [6586]	applet_locales.data
[2020-11-20 15-15-46] [C8EA01F99F863E909E364EE4D5AD05CA] [1691]	CEF LICENSE.txt
[2020-12-29 20-06-00] [11A00324FD3A0E92D0468EBCF6B1A2A1] [2370901]	CefResources.data
[2021-06-11 11-49-06] [9AF1CCC93C27845A8792978351B7D26A] [923184]	ConfSdk.dll
[2021-03-02 20-24-13] [14743D5A219CBECF2CD1F2CF3209E70E] [797264]	courgette.exe
[2021-03-02 20-24-33] [D41D8CD98F00B204E9800998ECF8427E] [0]	courgette.log
[2020-11-20 14-37-48] [DE14C7289DE82DD3B6E1631B4C127239] [2420472]	CrashReporter.exe
[2021-03-03 22-54-06] [BFA7B317549860F7B820D72D391DD889] [427472]	crash_capturer.dll
[2021-01-07 21-12-38] [43AE36043C85C29949ACAD0A2FE5E4E0] [427472]	crash_capturer.dll.tmp1
[2021-04-29 18-43-22] [1C9B45E87528B8BB8CFA884EA0099A85] [2106216]	d3dcompiler_43.dll
[2020-12-29 20-06-00] [04228641D57D648F980AD5568EC43EAD] [3657312]	d3dcompiler_47.dll
[2021-04-29 18-43-22] [5C5E3AFD499E5146FEF1DA5EF8A23205] [1080656]	dbghelp.dll
[2021-04-29 18-43-32] [AB54B14548A4CC76DD7C27414D971111] [593]	directui license.txt
[2021-04-29 18-43-32] [9265D88B580E05C2A3DC371770B04512] [1426]	duilib license.txt
[2020-11-20 14-37-48] [8CE0B63440A1D7082DFCEF8C6851DDB2] [61]	en-US.pak
[2021-04-29 18-43-22] [96FDC3252EA3CF49D8D15BC2773AC1F6] [1919168]	ffmpegsumo.dll
[2020-11-20 15-15-44] [3ED56E55FF45AB973FFC483E5D483A5A] [10127200]	icudtl.dat
[2020-11-20 14-28-36] [BE464D15F6FB048F06C686CF84A5E8A5] [10196592]	icudtl_applet.dat
[2020-11-20 14-37-40] [4C8A9E9C260DC5A6FEE2A3C37520F5BF] [10410272]	icudtl_mini_game.dat
[2021-06-11 11-49-06] [CB09037DBC99D26CB5CE79C84621FB9F] [4173872]	ilink_network.dll
[2021-07-01 22-08-02] [FAFBEE906C9F64762162D322849D9032] [415]	improve.xml
[2020-12-29 20-06-00] [8CCE449048C80FB8009F428A12A8CFE7] [94304]	libEGL.dll
[2021-04-29 18-43-32] [DB599E1785A9904BE1A4D43A38ECF654] [4632480]	libFFmpeg.dll
[2020-12-29 20-06-00] [5FE3E56BD96698F21A1948C5C881F094] [2257504]	libGLESv2.dll
[2020-11-20 14-37-42] [147909A8811B4ADB57FC8310077C9328] [62860880]	libnode.dll
[2020-11-20 14-37-48] [0B16D4EB3BB78D23D11E2AEA4924C5AC] [52217424]	libxwalk.dll
[2021-05-31 18-37-14] [550123C4BA9E800B8CC686854EDBCC09] [11009072]	liteav.dll
[2021-06-08 11-07-22] [4C8B83861F46771EF68244F2E0DAE75C] [326736]	mglibEGL.dll
[2021-06-08 11-07-22] [BDB698435E70851FF4E7372C72FEE552] [5872208]	mglibGLESv2.dll
[2020-11-20 14-37-42] [EA4497A01687607BDFAF6A5883A9CDEE] [349264]	mgsslibEGL.dll
[2020-11-20 14-37-42] [2A56C28DBA36798445162FE2BF200DCE] [3003472]	mgsslibGLESv2.dll
[2020-11-20 14-37-42] [E9322959486C4761D29F2F9F63827389] [6662736]	mmgame_engine.dll
[2021-04-29 18-43-22] [BC83108B18756547013ED443B8CDB31B] [421200]	msvcp100.dll
[2021-04-29 18-43-22] [FD5CABBE52272BD76007B68186EBAF00] [455328]	msvcp120.dll
[2021-04-29 18-43-22] [CFBDF284C12056347E6773CB3949FBBA] [440120]	msvcp140.dll
[2021-04-29 18-43-22] [0E37FBFA79D349D672456923EC5FBBE3] [773968]	msvcr100.dll
[2021-04-29 18-43-22] [034CCADC1C073E4216E9466B720F9849] [970912]	msvcr120.dll
[2020-11-20 15-15-46] [16A819FDCC843CDDFAA0F1D4C7D143BD] [367250]	natives_blob.bin
[2021-04-29 18-43-32] [EE1E0E195F1399290C2D3C3167B0E207] [6073336]	pagengine.dll
[2021-04-29 18-43-34] [B5DF61D1B2AFCDE920915D06E3E39D73] [9317064]	pdf.dll
[2021-07-01 21-40-12] [2ACB25CB6492950F3B22090A655BB287] [81]	plugin_info.ini
[2021-04-29 18-43-32] [43D2B1E3EF2E59ED73F0070C0D435632] [1673]	protobuf-lite LICENSE.txt
[2020-12-29 14-56-56] [FFE296674032C1B0667B5C7DB0A967B5] [138336]	QbBridge.dll
[2020-12-29 20-06-00] [E248FFFC130D4CDB671F7E8B6E86C1A6] [61306464]	qbcore.dll
[2021-04-29 18-43-34] [55B82F7F3C86D9C0D7CFFE30EEBB250B] [8346]	rqt.dat
[2021-04-29 18-43-34] [C201F00181C775913E8F18EF9C2AE5A3] [262384]	sae.dat
[2021-05-21 20-41-26] [FB6C89288FDFDF543B77E2CE6B0A3A8D] [433]	SDL License.txt
[2020-11-20 14-37-48] [6F4131BB7D921F9D55E8C78A1F79F9F0] [879776]	SDL2.dll
[2020-11-20 15-15-46] [4FDE446A9303D60F7EB76438CAB8BA30] [648432]	snapshot_blob.bin
[2021-04-29 18-43-32] [844C21A30916F9A7C5D3B92403A1830B] [1670]	SPEEX LICENSE.txt
[2021-04-29 18-43-34] [646C44B337045D13DCFB63C4F6262DCC] [13125]	sperqt.dat
[2020-11-20 14-28-36] [905ABF1FC715C2537B65D8A281164F6E] [3322396]	tbs_resources.data
[2021-07-01 21-40-10] [136B8D5D457AD78E1EEF96F13C40C677] [28036643]	ThumbPlayer.bin
[2021-04-29 18-43-34] [57B1EBAFC706957823BCDAFD5F85CDD8] [338120]	tinyxml.dll
[2021-05-31 18-37-14] [C2AB69D8278A29D9A9D3C9EA41A385B0] [4375600]	TRAE.dll
[2021-04-29 18-43-16] [9B8DBA0518EE4CFE932D677B95872D5A] [390856]	TxBugReport.exe
[2021-04-29 18-43-22] [15FA35CFEA2503691989F7376FD50162] [898512]	ucrtbase.dll
[2021-04-29 18-43-16] [BB64148BF0E9F69F5EFCB4BB8D029826] [692728]	Uninstall.exe
[2021-04-29 18-43-22] [49B855EFEA2EBE9E104FEFA017CC9878] [138560]	vcomp140.dll
[2021-04-29 18-43-22] [8E65E033799EB9FD46BC5C184E7D1B85] [83792]	vcruntime140.dll
[2021-06-11 11-49-06] [1D5C83FB4992F762371F61BEBCF6CB53] [9582128]	VoipEngine.dll
[2021-05-20 15-00-30] [DBA13BD8FAECA1C2ADA4DA622FEC9B69] [4248624]	wcprobe.dll
[2021-06-02 19-07-04] [11C9F88CEB25BA111F5D0E28D836AD3E] [568880]	WeChat.exe
[2021-03-03 22-54-06] [C38468E216284877C043BB69203F82F0] [13825488]	WeChatApp.exe
[2021-01-07 21-12-38] [8C0B65F55612ACFB335DEA9645AFAE91] [13825488]	WeChatApp.exe.tmp1
[2021-05-19 18-41-14] [B5F07FDCE0A498738E98B70C453EAA05] [1611768]	WeChatAppHost.dll
[2021-04-29 18-43-20] [08E35F062F4AB4583E683360FDA618C9] [626768]	WechatAppLauncher.exe
[2021-04-29 18-43-20] [A3A2D8110096CA11FEACB9745CEF3D52] [1190384]	WeChatDecoder.exe
[2021-04-29 18-43-20] [A64975104A56A08E513AFE27995863F4] [276168]	WeChatExt.exe
[2021-07-01 22-07-54] [A8090194C405D6D13F9BCFC19E8F4319] [32224200]	WeChatResource.dll
[2021-01-07 21-12-38] [72F97749B58C0EE0B4E17810C5961EA2] [8032720]	WeChatResource.dll.tmp1
[2021-04-29 18-43-20] [6675473CCF8F001A03FDC963F6DA4F7D] [335952]	WeChatSpt.exe
[2021-06-08 20-05-30] [C12553A8A15B573B74A46F15F627B7E4] [1051184]	WeChatUpdate.exe
[2020-12-29 20-06-00] [855079484FE17A52D1F7FF6A8D0C0D9B] [1197152]	wechatweb.exe
[2021-07-01 22-08-00] [38B8B43ED0EFF1649476CCEAB6452A15] [34119624]	WeChatWin.dll
[2021-01-07 21-12-38] [291343092349707EFEBF61C528D1C834] [28367824]	WeChatWin.dll.tmp1
[2021-07-01 22-08-00] [FDF7E2DDC17B0E078E404024830CD43D] [163272]	WeUIResource.dll
[2020-11-20 14-37-44] [9DE17FEC3A828B663B8670E16E330707] [52563192]	X2tConverter.dll
[2021-07-01 21-40-04] [F9B016A3BD0312F177FBE362E94F2276] [21485476]	XFilesOfficeReader.bin
[2020-11-20 14-28-36] [053EA60813272B47836646B30CECC59B] [6403160]	xwalk.pak
[2020-11-20 14-37-48] [ADFD0F208622E9D6E682627E860A9434] [142436]	xwalk_100_percent.pak
[2020-11-20 14-28-36] [16B412562BA94A3229613A1E757DBC82] [220428]	xwalk_200_percent.pak
[2020-11-20 14-37-48] [74F38E057687E55978BBE681A633EE3A] [94928]	xwalk_300_percent.pak
[2020-11-20 14-37-46] [3ED56E55FF45AB973FFC483E5D483A5A] [10127200]	xwalk_icudtl.dat
[2020-11-20 14-37-48] [290512B73986D6D9AD94CAAAE346B321] [323664]	xwalk_service.exe
[2021-07-01 21-40-00] [61C9181A18EF918EA2ED82DFDF312C50] [242423605]	XWeb.bin
[2020-11-20 14-37-48] [9586467F0B44678F966CF5AD4D35B0C2] [509520]	xweb_liveplayer.dll
[2020-11-20 14-37-48] [E608C9F8F09AADCDB78FE517D46CBE38] [63]	zh-CN.pak
[2021-07-20 21-07-22] [426D29170B725C3EC7BABEF8A94DA86B] [1050]	微信.lnk

C:\Program Files (x86)\Tencent\WeChat\locales


C:\Program Files (x86)\Tencent\WeChat\temp

----------------------------------------
Total Files: 132
  • WeChat27ab1942.txt
Windows Server 2016 Standard  [Build 10.0.14393]
CPU: Intel(R) Xeon(R) CPU E5-2640 v4 @ 2.40GHz
微信 3.30.0115 2021/9/15 15:44:49
----------------------------------------
Type: EXCEPTION_BREAKPOINT
Address: 76C45CD2

CallStack:
KERNELBASE + 155CD2
frida-agent + B3AE5
frida-agent + 1F43A7
frida-agent + 1F43CD
frida-agent + B316E
frida-agent + AC8E3
frida-agent + B76D5
frida-agent + B7928
frida-agent + 1F11E3
frida-agent + 1F00BF
WeChatWin + 16C0542
0x5C0F0046<unknown module>
ntdll + 43E1D
ntdll + 43C12
WeChatWin + 16C0FE9
WeChatWin + 12A59E0
WeChatWin + 9642B
WeChatWin + 963F9
WeChatWin + 23B4CC
WeChatWin + 23B33B
ntdll + 5B29B
WeChatWin + 5CBC0C
WeChatWin + 5CBC35
ntdll + 43E1D
ntdll + 43E1D
ntdll + 43C12
WeChatWin + 16C0FE9
WeChatWin + 12A59E0
WeChatWin + 16C0542
WeChatWin + 16C0542
WeChatWin + 12A59F2
WeChatWin + D36066
WeChatWin + D9247A
WeChatWin + 41330D
WeChatWin + 409206
WeChatWin + C73E88
WeChatWin + C79607
WeChatWin + CAC1E3
WeChatWin + C52DCB
ntdll + 43E1D
frida-agent + B632D
WeChatWin + 11D5751
WeChatWin + 11ED03B
WeChatWin + 16C0542
WeChatWin + 16C0542
WeChatWin + 11B78BB
WeChatWin + 11E8334
ntdll + 6EAFC
KERNELBASE + C6E74
WeChatWin + C34036
WeChatWin + C40208
WeChatWin + C4031C
WeChatWin + C2E18C
WeChatWin + C35343
WeChatWin + C3E0C8
WeChatWin + C40A89
ntdll + 705FC
KERNELBASE + EE611
WeChatWin + C33D3D
WeChatWin + C2E18C
WeChatWin + C39BF2
WeChatWin + C54DB6
WeChatWin + C55137
WeChatWin + C610A6
WeChatWin + C612FA
WeChatWin + C4B6A8
WeChatWin + C459D6
WeChatWin + C49749
WeChatWin + C544DA
WeChatWin + C55002
WeChatWin + C60D1C
WeChatWin + C612FA
WeChatWin + C523B2
WeChatWin + C89FBC
WeChatWin + C8A130
WeChatWin + CF3AF8
WeChatWin + 5A54D5
WeChatWin + 5A57AD
WeChatWin + 407E45
ntdll + 43C12
WeChatWin + 16C0FE9
WeChatWin + 408EDF
WeChatWin + 12ACC5E
WeChatWin + D36237
WeChatWin + 12AB4BB
WeChatWin + D3AACC
WeChatWin + 517FED
WeChatWin + 518005
WeChatWin + D86D94
WeChatWin + 12AD546
WeChatWin + 12AD5C4
WeChatWin + 16C0542
WeChatWin + 12AAD0A
WeChatWin + 5CCDF3
WeChatWin + 44E6B7
WeChatWin + 44E6CF
WeChatWin + 12AD67D
WeChatWin + 407E8F
WeChatWin + 407EA3
WeChatWin + D865AB
WeChatWin + 4FA8BE
ntdll + 43C12
WeChatWin + 16C0542
WeChatWin + 5EF56
WeChatWin + 623AC
WeChatWin + 169E970
WeChatWin + 1DD9E5
WeChatWin + 447A3C
WeChatWin + 44778F
WeChatWin + 44742E
USER32 + 2D2D3
USER32 + D30A
WeChatWin + B7B1F2
USER32 + D8E5
WeChatWin + B9173D
USER32 + D19C
USER32 + CC54
USER32 + CA10
WeChatWin + B6CFA6
WeChatWin + B6CB96
WeChatWin + B836E5
WeChatWin + B77F0F
WeChatWin + B76600
WeChatWin + B679E6
ntdll + 63A71
KERNELBASE + DB3E6
ntdll + 4E246
ntdll + 47057
ntdll + 58F2A
ntdll + 6EB5C
ntdll + 2B93E
ntdll + 3E3AE
ntdll + 3E23F
WeChat + 1798
ntdll + 3CB95
ntdll + 55D8E
ntdll + 823A1
ntdll + 823C1
ntdll + 3C9CA
ntdll + 3CA00
WeChat + 268A
ntdll + 5364E
ntdll + 5366F
KERNELBASE + BE39D
WeChat + 268A
WeChat + 269C
ntdll + 4697A
ntdll + 6ECCC
ntdll + 43E80
ntdll + 6EC26
ntdll + 5DFB7
KERNELBASE + DB998
WeChat + 3961
KERNEL32 + 162C4
ntdll + 61B69
show in line:KERNELBASE + 155CD2 frida-agent + B3AE5 frida-agent + 1F43A7 frida-agent + 1F43CD frida-agent + B316E frida-agent + AC8E3 frida-agent + B76D5 frida-agent + B7928 frida-agent + 1F11E3 frida-agent + 1F00BF WeChatWin + 16C0542 0x5C0F0046<unknown module> ntdll + 43E1D ntdll + 43C12 WeChatWin + 16C0FE9 WeChatWin + 12A59E0 WeChatWin + 9642B WeChatWin + 963F9 WeChatWin + 23B4CC WeChatWin + 23B33B ntdll + 5B29B WeChatWin + 5CBC0C WeChatWin + 5CBC35 ntdll + 43E1D ntdll + 43E1D ntdll + 43C12 WeChatWin + 16C0FE9 WeChatWin + 12A59E0 WeChatWin + 16C0542 WeChatWin + 16C0542 WeChatWin + 12A59F2 WeChatWin + D36066 WeChatWin + D9247A WeChatWin + 41330D WeChatWin + 409206 WeChatWin + C73E88 WeChatWin + C79607 WeChatWin + CAC1E3 WeChatWin + C52DCB ntdll + 43E1D frida-agent + B632D WeChatWin + 11D5751 WeChatWin + 11ED03B WeChatWin + 16C0542 WeChatWin + 16C0542 WeChatWin + 11B78BB WeChatWin + 11E8334 ntdll + 6EAFC KERNELBASE + C6E74 WeChatWin + C34036 WeChatWin + C40208 WeChatWin + C4031C WeChatWin + C2E18C WeChatWin + C35343 WeChatWin + C3E0C8 WeChatWin + C40A89 ntdll + 705FC KERNELBASE + EE611 WeChatWin + C33D3D WeChatWin + C2E18C WeChatWin + C39BF2 WeChatWin + C54DB6 WeChatWin + C55137 WeChatWin + C610A6 WeChatWin + C612FA WeChatWin + C4B6A8 WeChatWin + C459D6 WeChatWin + C49749 WeChatWin + C544DA WeChatWin + C55002 WeChatWin + C60D1C WeChatWin + C612FA WeChatWin + C523B2 WeChatWin + C89FBC WeChatWin + C8A130 WeChatWin + CF3AF8 WeChatWin + 5A54D5 WeChatWin + 5A57AD WeChatWin + 407E45 ntdll + 43C12 WeChatWin + 16C0FE9 WeChatWin + 408EDF WeChatWin + 12ACC5E WeChatWin + D36237 WeChatWin + 12AB4BB WeChatWin + D3AACC WeChatWin + 517FED WeChatWin + 518005 WeChatWin + D86D94 WeChatWin + 12AD546 WeChatWin + 12AD5C4 WeChatWin + 16C0542 WeChatWin + 12AAD0A WeChatWin + 5CCDF3 WeChatWin + 44E6B7 WeChatWin + 44E6CF WeChatWin + 12AD67D WeChatWin + 407E8F WeChatWin + 407EA3 WeChatWin + D865AB WeChatWin + 4FA8BE ntdll + 43C12 WeChatWin + 16C0542 WeChatWin + 5EF56 WeChatWin + 623AC WeChatWin + 169E970 WeChatWin + 1DD9E5 WeChatWin + 447A3C WeChatWin + 44778F WeChatWin + 44742E USER32 + 2D2D3 USER32 + D30A WeChatWin + B7B1F2 USER32 + D8E5 WeChatWin + B9173D USER32 + D19C USER32 + CC54 USER32 + CA10 WeChatWin + B6CFA6 WeChatWin + B6CB96 WeChatWin + B836E5 WeChatWin + B77F0F WeChatWin + B76600 WeChatWin + B679E6 ntdll + 63A71 KERNELBASE + DB3E6 ntdll + 4E246 ntdll + 47057 ntdll + 58F2A ntdll + 6EB5C ntdll + 2B93E ntdll + 3E3AE ntdll + 3E23F WeChat + 1798 ntdll + 3CB95 ntdll + 55D8E ntdll + 823A1 ntdll + 823C1 ntdll + 3C9CA ntdll + 3CA00 WeChat + 268A ntdll + 5364E ntdll + 5366F KERNELBASE + BE39D WeChat + 268A WeChat + 269C ntdll + 4697A ntdll + 6ECCC ntdll + 43E80 ntdll + 6EC26 ntdll + 5DFB7 KERNELBASE + DB998 WeChat + 3961 KERNEL32 + 162C4 ntdll + 61B69 

Regs:
EAX=00000000, EBX=00000001, ECX=798EB518, EDX=F330019C
ESI=60ED16C0, EDI=00000002, EBP=78132B38, ESP=00CFAADC, EIP=76C45CD2

DWORD_PTRs at CS:EIP:
CCCCC3CC 64CCCCCC 000018A1 20808B00 EB00000F 0C48390D 78830675 07740010 
pid=00001EE4 init_tid=00001C38 crashtid=00001C38
DWORD_PTRs at teb:
00CF8FCC 00D00000 00CF0000 00000000 00001E00 00000000 00A20000 00000000 00001EE4 00001C38 00000000 0B4A30F0 00A1D000 00000567 00000000 00000000 00000000 

Modules(By Load Order):
[00E80000,08C000] C:\Program Files (x86)\Tencent\WeChat\WeChat.exe [3.3.0.0,2021-06-01 08:52:26 GMT] [568880]
[772C0000,182000] C:\Windows\SYSTEM32\ntdll.dll [10.0.14393.4530,2021-07-05 17:29:59 GMT] [1570064]
[76860000,0E0000] C:\Windows\System32\KERNEL32.DLL [10.0.14393.4350,2021-04-08 07:40:20 GMT] [615968]
[76AF0000,1A2000] C:\Windows\System32\KERNELBASE.dll [10.0.14393.4350,2021-04-08 07:30:50 GMT] [1711544]
[75BE0000,160000] C:\Windows\System32\USER32.dll [10.0.14393.4169,2021-01-07 22:32:34 GMT] [1438928]
[772A0000,015000] C:\Windows\System32\win32u.dll [10.0.14393.0,2016-07-16 01:45:43 GMT] [79544]
[75340000,02B000] C:\Windows\System32\GDI32.dll [10.0.14393.4169,2021-01-07 22:34:20 GMT] [170872]
[76990000,15D000] C:\Windows\System32\gdi32full.dll [10.0.14393.4530,2021-07-05 17:41:03 GMT] [1423400]
[73E10000,077000] C:\Windows\System32\ADVAPI32.dll [10.0.14393.4467,2021-06-05 04:32:24 GMT] [483328]
[76000000,0BE000] C:\Windows\System32\msvcrt.dll [7.0.14393.2457,2018-08-23 03:45:20 GMT] [773704]
[75AA0000,041000] C:\Windows\System32\sechost.dll [10.0.14393.3808,2020-07-08 06:54:50 GMT] [254056]
[760C0000,0C1000] C:\Windows\System32\RPCRT4.dll [10.0.14393.4467,2021-06-05 04:32:48 GMT] [789648]
[73D90000,01F000] C:\Windows\System32\SspiCli.dll [10.0.14393.2580,2018-10-10 03:33:13 GMT] [117896]
[73D80000,00A000] C:\Windows\System32\CRYPTBASE.dll [10.0.14393.0,2016-07-16 01:43:29 GMT] [31528]
[75FA0000,05B000] C:\Windows\System32\bcryptPrimitives.dll [10.0.14393.4046,2020-10-29 04:05:26 GMT] [371256]
[73EC0000,13D5000] C:\Windows\System32\SHELL32.dll [10.0.14393.4530,2021-07-05 17:38:26 GMT] [20955880]
[75D40000,036000] C:\Windows\System32\cfgmgr32.dll [10.0.14393.0,2016-07-16 01:41:42 GMT] [213848]
[76CB0000,56C000] C:\Windows\System32\windows.storage.dll [10.0.14393.4530,2021-07-05 17:35:45 GMT] [5714976]
[76190000,211000] C:\Windows\System32\combase.dll [10.0.14393.4467,2021-06-05 04:30:44 GMT] [2167696]
[75EC0000,0E0000] C:\Windows\System32\ucrtbase.dll [10.0.14393.3659,2020-04-11 03:59:14 GMT] [916680]
[76940000,045000] C:\Windows\System32\powrprof.dll [10.0.14393.0,2016-07-16 01:34:31 GMT] [275832]
[75B80000,046000] C:\Windows\System32\shlwapi.dll [10.0.14393.4169,2021-01-07 22:32:26 GMT] [283984]
[75460000,00D000] C:\Windows\System32\kernel.appcore.dll [10.0.14393.2312,2018-06-08 05:11:44 GMT] [43416]
[752B0000,088000] C:\Windows\System32\shcore.dll [10.0.14393.4169,2021-01-07 22:30:38 GMT] [548488]
[75E50000,00F000] C:\Windows\System32\profapi.dll [10.0.14393.0,2016-07-16 01:42:57 GMT] [54752]
[75370000,0ED000] C:\Windows\System32\ole32.dll [10.0.14393.4169,2021-01-07 22:41:16 GMT] [964264]
[73E90000,025000] C:\Windows\System32\IMM32.DLL [10.0.14393.0,2016-07-16 01:42:08 GMT] [144632]
[71FA0000,007000] C:\Program Files (x86)\360\360Safe\safemon\SafeWrapper32.dll [2.0.0.1160,2020-06-24 08:35:16 GMT] [29576]
[71270000,25D000] C:\Program Files (x86)\360\360Safe\safemon\safemon.dll [8.6.0.3490,2021-01-27 06:49:12 GMT] [2340416]
[767C0000,096000] C:\Windows\System32\OLEAUT32.dll [10.0.14393.4402,2021-04-27 04:42:39 GMT] [604264]
[77220000,07B000] C:\Windows\System32\msvcp_win.dll [10.0.14393.2999,2019-05-21 03:04:13 GMT] [499032]
[75DD0000,006000] C:\Windows\System32\PSAPI.DLL [10.0.14393.0,2016-07-16 01:34:08 GMT] [17048]
[75DE0000,063000] C:\Windows\System32\WS2_32.dll [10.0.14393.3241,2019-09-11 03:43:12 GMT] [402248]
[71730000,054000] C:\Windows\SYSTEM32\OLEACC.dll [7.2.14393.4169,2021-01-07 22:33:02 GMT] [325632]
[736E0000,013000] C:\Windows\SYSTEM32\NETAPI32.dll [10.0.14393.0,2016-07-16 01:43:14 GMT] [69232]
[73B70000,02F000] C:\Windows\SYSTEM32\IPHLPAPI.DLL [10.0.14393.2339,2018-06-12 00:41:43 GMT] [184408]
[73CD0000,008000] C:\Windows\SYSTEM32\VERSION.dll [10.0.14393.0,2016-07-16 01:42:50 GMT] [27360]
[72760000,010000] C:\Windows\SYSTEM32\WKSCLI.DLL [10.0.14393.0,2016-07-16 01:43:13 GMT] [58368]
[733C0000,01B000] C:\Windows\SYSTEM32\bcrypt.dll [10.0.14393.4046,2020-10-29 04:11:29 GMT] [106808]
[736D0000,00B000] C:\Windows\SYSTEM32\NETUTILS.DLL [10.0.14393.0,2016-07-16 01:43:58 GMT] [36680]
[720F0000,075000] C:\Windows\system32\uxtheme.dll [10.0.14393.4169,2021-01-07 22:34:46 GMT] [458240]
[71C50000,07C000] C:\Program Files (x86)\Common Files\Microsoft Shared\Ink\tiptsf.dll [10.0.14393.4169,2021-01-07 22:37:42 GMT] [492824]
[755B0000,0E5000] C:\Windows\System32\COMDLG32.dll [10.0.14393.4283,2021-03-04 05:44:33 GMT] [913920]
[71930000,20A000] C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.14393.4169_none_c58df2c997bddaf8\COMCTL32.dll [6.10.14393.4169,2021-01-07 22:28:47 GMT] [2123032]
[6B2B0000,20C9000] C:\Program Files (x86)\Tencent\WeChat\WeChatWin.dll [3.3.0.115,2021-07-01 14:05:15 GMT] [34119624]
[763B0000,40B000] C:\Windows\System32\SETUPAPI.dll [10.0.14393.2608,2018-10-25 03:18:39 GMT] [4268472]
[759B0000,04F000] C:\Windows\System32\WLDAP32.dll [10.0.14393.3269,2019-09-29 22:46:27 GMT] [309248]
[73870000,024000] C:\Windows\SYSTEM32\WINMM.dll [10.0.14393.0,2016-07-16 01:41:02 GMT] [135376]
[71640000,0ED000] C:\Windows\SYSTEM32\DDRAW.dll [10.0.14393.953,2017-03-04 06:18:10 GMT] [548352]
[02AF0000,023000] C:\Windows\SYSTEM32\WINMMBASE.dll [10.0.14393.0,2016-07-16 01:40:48 GMT] [131208]
[71F60000,007000] C:\Windows\SYSTEM32\DCIMAN32.dll [10.0.14393.0,2016-07-16 01:44:57 GMT] [11776]
[71140000,121000] C:\Program Files (x86)\Tencent\WeChat\dbghelp.dll [6.11.1.404,2009-02-26 01:55:30 GMT] [1080656]
[756A0000,17E000] C:\Windows\System32\CRYPT32.dll [10.0.14393.4350,2021-04-08 07:31:14 GMT] [1560248]
[75BD0000,00E000] C:\Windows\System32\MSASN1.dll [10.0.14393.0,2016-07-16 01:43:48 GMT] [49080]
[723B0000,196000] C:\Windows\SYSTEM32\urlmon.dll [11.0.14393.4530,2021-07-05 17:32:18 GMT] [1604608]
[72ED0000,169000] C:\Windows\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.14393.4530_none_f676b148f252235c\gdiplus.dll [10.0.14393.4530,2021-07-05 17:33:13 GMT] [1458688]
[71F50000,006000] C:\Windows\SYSTEM32\MSIMG32.dll [10.0.14393.0,2016-07-16 01:44:24 GMT] [7168]
[715A0000,09F000] C:\Windows\SYSTEM32\WINHTTP.dll [10.0.14393.4467,2021-06-05 04:32:16 GMT] [633856]
[73CA0000,01A000] C:\Windows\SYSTEM32\USERENV.dll [10.0.14393.3986,2020-10-03 03:28:55 GMT] [97552]
[710F0000,044000] C:\Windows\SYSTEM32\pdh.dll [10.0.14393.3930,2020-09-02 05:42:40 GMT] [262656]
[69A80000,AF3000] C:\Program Files (x86)\Tencent\WeChat\VoipEngine.dll [3.3.0.24,2021-06-10 11:31:31 GMT] [9582128]
[6AB90000,71A000] C:\Program Files (x86)\Tencent\WeChat\libFFmpeg.dll [,2019-08-22 02:12:59 GMT] [4632480]
[6A580000,37E000] C:\Windows\SYSTEM32\WININET.dll [11.0.14393.4467,2021-06-05 04:30:03 GMT] [3631104]
[71B50000,008000] C:\Windows\SYSTEM32\WSOCK32.dll [10.0.14393.0,2016-07-16 01:43:58 GMT] [16384]
[72170000,237000] C:\Windows\SYSTEM32\iertutil.dll [11.0.14393.4467,2021-06-05 04:31:48 GMT] [2314848]
[72C90000,01C000] C:\Windows\SYSTEM32\srvcli.dll [10.0.14393.0,2016-07-16 01:42:54 GMT] [75920]
[71060000,081000] C:\Windows\system32\Riched20.dll [5.31.23.1231,2016-07-16 01:39:53 GMT] [515072]
[71020000,031000] C:\Windows\SYSTEM32\msls31.dll [3.10.349.0,2016-07-16 01:42:10 GMT] [185856]
[71580000,017000] C:\Windows\SYSTEM32\USP10.dll [10.0.14393.3321,2019-10-17 04:22:59 GMT] [78336]
[03300000,1EBB000] C:\Program Files (x86)\Tencent\WeChat\WeChatResource.dll [3.3.0.115,2021-07-01 13:44:37 GMT] [32224200]
[75470000,134000] C:\Windows\System32\MSCTF.dll [10.0.14393.4530,2021-07-05 17:30:42 GMT] [1259640]
[733E0000,013000] C:\Windows\SYSTEM32\CRYPTSP.dll [10.0.14393.2457,2018-08-23 03:44:42 GMT] [70136]
[732D0000,02F000] C:\Windows\system32\rsaenh.dll [10.0.14393.4467,2021-06-05 04:35:55 GMT] [184312]
[71B40000,010000] C:\Windows\SYSTEM32\ondemandconnroutehelper.dll [10.0.14393.0,2016-07-16 01:41:57 GMT] [50176]
[752A0000,007000] C:\Windows\System32\NSI.dll [10.0.14393.3297,2019-10-01 20:51:32 GMT] [20056]
[73140000,04E000] C:\Windows\system32\mswsock.dll [10.0.14393.3659,2020-04-11 04:09:25 GMT] [305912]
[72770000,008000] C:\Windows\SYSTEM32\WINNSI.DLL [10.0.14393.2339,2018-06-12 00:55:14 GMT] [26848]
[73490000,07D000] C:\Windows\SYSTEM32\DNSAPI.dll [10.0.14393.4350,2021-04-08 07:35:43 GMT] [498368]
[73320000,013000] C:\Windows\SYSTEM32\dhcpcsvc6.DLL [10.0.14393.3930,2020-09-02 05:44:29 GMT] [56832]
[73780000,014000] C:\Windows\SYSTEM32\dhcpcsvc.DLL [10.0.14393.3930,2020-09-02 05:43:58 GMT] [63488]
[75AF0000,084000] C:\Windows\System32\clbcatq.dll [2001.12.10941.16384,2021-01-07 22:36:50 GMT] [528792]
[72590000,14F000] C:\Windows\SYSTEM32\PROPSYS.dll [7.0.14393.4169,2021-01-07 22:32:21 GMT] [1376392]
[692D0000,7AE000] C:\Program Files (x86)\Tencent\WeChat\wcprobe.dll [1.0.1.2,2021-05-19 08:34:27 GMT] [4248624]
[73CC0000,00F000] C:\Windows\SYSTEM32\WTSAPI32.dll [10.0.14393.0,2016-07-16 01:27:36 GMT] [53216]
[72D20000,049000] C:\Windows\System32\fwpuclnt.dll [10.0.14393.0,2016-07-16 01:28:28 GMT] [279040]
[72D70000,008000] C:\Windows\System32\rasadhlp.dll [10.0.14393.0,2016-07-16 01:42:32 GMT] [13312]
[70FF0000,029000] C:\Program Files (x86)\Tencent\WeChat\WeUIResource.dll [,2021-07-01 13:46:26 GMT] [163272]
[720D0000,01F000] C:\Windows\system32\dwmapi.dll [10.0.14393.4169,2021-01-07 22:33:27 GMT] [113912]
[71560000,012000] C:\Windows\system32\napinsp.dll [10.0.14393.0,2016-07-16 01:40:50 GMT] [55808]
[70FE0000,00C000] C:\Windows\System32\winrnr.dll [10.0.14393.0,2016-07-16 01:41:08 GMT] [24064]
[70FC0000,014000] C:\Windows\system32\NLAapi.dll [10.0.14393.3808,2020-07-08 06:53:33 GMT] [65024]
[6AA20000,16E000] C:\Windows\SYSTEM32\WindowsCodecs.dll [10.0.14393.4350,2021-04-08 07:31:08 GMT] [1504480]
[69170000,152000] C:\Windows\System32\uiautomationcore.dll [7.2.14393.4169,2021-01-07 22:32:18 GMT] [1358336]
[70F30000,081000] C:\Windows\SYSTEM32\sxs.dll [10.0.14393.4169,2021-01-07 22:37:03 GMT] [524672]
[73CE0000,092000] C:\Windows\SYSTEM32\apphelp.dll [10.0.14393.4350,2021-04-08 07:40:24 GMT] [581120]
[623E0000,042000] C:\Windows\System32\dlnashext.dll [10.0.14393.4169,2021-01-07 22:39:20 GMT] [248832]
[70EB0000,01B000] C:\Windows\System32\DevDispItemProvider.dll [10.0.14393.0,2016-07-16 01:40:38 GMT] [90624]
[62320000,058000] C:\Windows\System32\MMDevApi.dll [10.0.14393.4169,2021-01-07 22:40:11 GMT] [352688]
[72990000,022000] C:\Windows\System32\DEVOBJ.dll [10.0.14393.0,2016-07-16 01:42:09 GMT] [132232]
[73A20000,043000] C:\Windows\SYSTEM32\winsta.dll [10.0.14393.0,2016-07-16 01:28:39 GMT] [257248]
[6AA00000,018000] C:\Windows\SYSTEM32\MSACM32.dll [10.0.14393.0,2016-07-16 01:35:51 GMT] [90912]
[70BF0000,2A3000] C:\Windows\SYSTEM32\msftedit.dll [10.0.14393.4169,2021-01-07 22:29:19 GMT] [2741248]
[717F0000,136000] C:\Windows\System32\Windows.Globalization.dll [10.0.14393.4467,2021-06-05 04:34:26 GMT] [1247232]
[71FB0000,052000] C:\Windows\System32\Bcp47Langs.dll [10.0.14393.2457,2018-08-23 03:33:53 GMT] [329944]
[71F70000,025000] C:\Windows\SYSTEM32\globinputhost.dll [10.0.14393.2457,2018-08-23 03:41:38 GMT] [135168]
[73DB0000,05C000] C:\Windows\System32\coml2.dll [10.0.14393.2608,2018-10-25 03:16:51 GMT] [367352]
[5D940000,044000] C:\Windows\system32\dataexchange.dll [10.0.14393.4169,2021-01-07 22:34:19 GMT] [257536]
[5DDF0000,113000] C:\Windows\system32\dcomp.dll [10.0.14393.4169,2021-01-07 22:28:47 GMT] [1121744]
[5F820000,230000] C:\Windows\system32\d3d11.dll [10.0.14393.4467,2021-06-05 04:30:01 GMT] [2278752]
[5FDB0000,083000] C:\Windows\system32\dxgi.dll [10.0.14393.2457,2018-08-23 03:33:33 GMT] [525288]
[5D850000,0EE000] C:\Windows\system32\twinapi.appcore.dll [10.0.14393.4169,2021-01-07 22:28:59 GMT] [967344]
[5D810000,039000] C:\Windows\SYSTEM32\wdmaud.drv [10.0.14393.0,2016-07-16 01:32:40 GMT] [207360]
[70EA0000,009000] C:\Windows\SYSTEM32\AVRT.dll [10.0.14393.2457,2018-08-23 03:37:12 GMT] [30864]
[5D800000,007000] C:\Windows\SYSTEM32\ksuser.dll [10.0.14393.0,2016-07-16 01:31:21 GMT] [20672]
[5D780000,07B000] C:\Windows\SYSTEM32\AUDIOSES.DLL [10.0.14393.4169,2021-01-07 22:45:17 GMT] [485008]
[5D6B0000,0CC000] C:\Windows\SYSTEM32\wintypes.dll [10.0.14393.4467,2021-06-05 04:29:34 GMT] [838688]
[5D6A0000,00A000] C:\Windows\SYSTEM32\msacm32.drv [10.0.14393.4169,2021-01-07 22:40:41 GMT] [25088]
[5D690000,008000] C:\Windows\SYSTEM32\midimap.dll [10.0.14393.0,2016-07-16 01:42:38 GMT] [18944]
[5D4F0000,190000] C:\Program Files (x86)\Tencent\WeChat\WeChatAppHost.dll [1.0.2.27,2021-05-11 07:28:31 GMT] [1611768]
[75D80000,044000] C:\Windows\System32\Wintrust.dll [10.0.14393.4530,2021-07-05 17:41:32 GMT] [275704]
[75820000,019000] C:\Windows\System32\imagehlp.dll [10.0.14393.0,2016-07-16 01:41:26 GMT] [93984]
[72BC0000,01F000] C:\Windows\SYSTEM32\gpapi.dll [10.0.14393.4467,2021-06-05 04:38:08 GMT] [112552]
[5CC50000,025000] C:\Windows\System32\cryptnet.dll [10.0.14393.2035,2018-01-11 06:07:52 GMT] [135168]
[5CBD0000,076000] C:\Windows\SYSTEM32\webio.dll [10.0.14393.3866,2020-08-06 00:04:58 GMT] [463360]
[5CB60000,06B000] C:\Windows\SYSTEM32\twinapi.dll [10.0.14393.4169,2021-01-07 22:28:50 GMT] [419840]
[5CA90000,0CD000] C:\Windows\system32\msctfuimanager.dll [10.0.14393.4169,2021-01-07 22:32:36 GMT] [821760]
[5C920000,168000] C:\Windows\system32\DUI70.dll [10.0.14393.4169,2021-01-07 22:28:55 GMT] [1454080]
[5C8A0000,07B000] C:\Windows\system32\DUser.dll [10.0.14393.0,2016-07-16 01:37:13 GMT] [482304]
[5C860000,03E000] C:\Windows\System32\UIAnimation.dll [10.0.14393.4169,2021-01-07 22:31:32 GMT] [235520]
[5FBB0000,1F6000] C:\Windows\system32\dwrite.dll [10.0.14393.4225,2021-01-28 04:51:58 GMT] [2007552]
[72CF0000,028000] C:\Windows\SYSTEM32\ntmarta.dll [10.0.14393.1378,2017-06-21 06:53:50 GMT] [154432]
[72550000,03D000] C:\Windows\SYSTEM32\edputil.dll [10.0.14393.2457,2018-08-23 03:44:06 GMT] [232448]
[59D00000,10C6000] C:\Users\ADMINI~1\AppData\Local\Temp\2\frida-731191099c5fe63f3249b85c90e0f749\32\frida-agent.dll [,2021-09-04 01:10:50 GMT] [17388544]
[58C30000,10C6000] C:\Users\ADMINI~1\AppData\Local\Temp\2\frida-09e4fe86f7618149cdc2c76f2a82fda3\32\frida-agent.dll [,2021-09-04 01:10:50 GMT] [17388544]
[57B60000,10C6000] C:\Users\ADMINI~1\AppData\Local\Temp\2\frida-b0c204253335a2572f09ad8433137e6e\32\frida-agent.dll [,2021-09-04 01:10:50 GMT] [17388544]
[56A90000,10C6000] C:\Users\ADMINI~1\AppData\Local\Temp\2\frida-dd01ab0322f0a8245108a1f95421000f\32\frida-agent.dll [,2021-09-04 01:10:50 GMT] [17388544]
[559C0000,10C6000] C:\Users\ADMINI~1\AppData\Local\Temp\2\frida-9c3f27aa52357b39dde3fb5694d1d905\32\frida-agent.dll [,2021-09-04 01:10:50 GMT] [17388544]
[548F0000,10C6000] C:\Users\ADMINI~1\AppData\Local\Temp\2\frida-22cb168a8337a476f0d8869b9b78317a\32\frida-agent.dll [,2021-09-04 01:10:50 GMT] [17388544]
[53820000,10C6000] C:\Users\ADMINI~1\AppData\Local\Temp\2\frida-d6a0a665bb92f99e5cb8d08650dacfe8\32\frida-agent.dll [,2021-09-04 01:10:50 GMT] [17388544]
[52750000,10C6000] C:\Users\ADMINI~1\AppData\Local\Temp\2\frida-e0f23d97fd386a358806830948f9759f\32\frida-agent.dll [,2021-09-04 01:10:50 GMT] [17388544]
[51680000,10C6000] C:\Users\ADMINI~1\AppData\Local\Temp\2\frida-48c16d205f1e52f195dd96b7834dabf2\32\frida-agent.dll [,2021-09-04 01:10:50 GMT] [17388544]
[505B0000,10C6000] C:\Users\ADMINI~1\AppData\Local\Temp\2\frida-68591c6d3d97979dd8c2cebcaf452e66\32\frida-agent.dll [,2021-09-04 01:10:50 GMT] [17388544]
[15F40000,10C6000] C:\Users\ADMINI~1\AppData\Local\Temp\2\frida-a0d279d37ce4b8d13c2f75202a52884a\32\frida-agent.dll [,2021-09-04 01:10:50 GMT] [17388544]
[177A0000,10C6000] C:\Users\ADMINI~1\AppData\Local\Temp\2\frida-5a8fb717183b20bfa0191caf028dfa1c\32\frida-agent.dll [,2021-09-04 01:10:50 GMT] [17388544]
[196F0000,10C6000] C:\Users\ADMINI~1\AppData\Local\Temp\2\frida-f7d828d264f4d0a5c06241b6d591b3b9\32\frida-agent.dll [,2021-09-04 01:10:50 GMT] [17388544]
[1AC70000,10C6000] C:\Users\ADMINI~1\AppData\Local\Temp\2\frida-cc3df76f20c85070198e8fc57c7a698b\32\frida-agent.dll [,2021-09-04 01:10:50 GMT] [17388544]
[1C3E0000,10C6000] C:\Users\ADMINI~1\AppData\Local\Temp\2\frida-bbfadcab5953dad92cef5c541c623397\32\frida-agent.dll [,2021-09-04 01:10:50 GMT] [17388544]
[1DE40000,10C6000] C:\Users\ADMINI~1\AppData\Local\Temp\2\frida-f1eaeec1366d482afdae20db4d220d35\32\frida-agent.dll [,2021-09-04 01:10:50 GMT] [17388544]
[1F9F0000,10C6000] C:\Users\ADMINI~1\AppData\Local\Temp\2\frida-d75e443e756574e607015828be4ec041\32\frida-agent.dll [,2021-09-04 01:10:50 GMT] [17388544]
[21330000,10C6000] C:\Users\ADMINI~1\AppData\Local\Temp\2\frida-7eba66f1e29505c5b49f12c6c8551986\32\frida-agent.dll [,2021-09-04 01:10:50 GMT] [17388544]
[24130000,10C6000] C:\Users\ADMINI~1\AppData\Local\Temp\2\frida-18616c310fd94b0c9e0387a93606372c\32\frida-agent.dll [,2021-09-04 01:10:50 GMT] [17388544]
[265B0000,10C6000] C:\Users\ADMINI~1\AppData\Local\Temp\2\frida-e07f9ff49688d39e669cc51c1189ec9e\32\frida-agent.dll [,2021-09-04 01:10:50 GMT] [17388544]
[27F70000,10C6000] C:\Users\ADMINI~1\AppData\Local\Temp\2\frida-d768aa4f6459992756ee5969aa6cf3af\32\frida-agent.dll [,2021-09-04 01:10:50 GMT] [17388544]
[29800000,10C6000] C:\Users\ADMINI~1\AppData\Local\Temp\2\frida-2c48814dd6cf4b93afab776cc707fe80\32\frida-agent.dll [,2021-09-04 01:10:50 GMT] [17388544]
[2B3A0000,10C6000] C:\Users\ADMINI~1\AppData\Local\Temp\2\frida-29cd07ca876aae0ed87dadd4915b2274\32\frida-agent.dll [,2021-09-04 01:10:50 GMT] [17388544]
[2D120000,10C6000] C:\Users\ADMINI~1\AppData\Local\Temp\2\frida-4ca6cffb6cde443fb39f8bc02cddecae\32\frida-agent.dll [,2021-09-04 01:10:50 GMT] [17388544]
[2F420000,10C6000] C:\Users\ADMINI~1\AppData\Local\Temp\2\frida-5a27a3c507e90e36fc3e010a20d31dec\32\frida-agent.dll [,2021-09-04 01:10:50 GMT] [17388544]
[336C0000,10C6000] C:\Users\ADMINI~1\AppData\Local\Temp\2\frida-19c59c4d27c4a5f549ff71e79d95aac2\32\frida-agent.dll [,2021-09-04 01:10:50 GMT] [17388544]
[35760000,10C6000] C:\Users\ADMINI~1\AppData\Local\Temp\2\frida-1ec5e65c64e9e84ee778abc4147e4560\32\frida-agent.dll [,2021-09-04 01:10:50 GMT] [17388544]
[39080000,10C6000] C:\Users\ADMINI~1\AppData\Local\Temp\2\frida-10f5bf4be0eaa82a942e232e939b987b\32\frida-agent.dll [,2021-09-04 01:10:50 GMT] [17388544]
[3A150000,10C6000] C:\Users\ADMINI~1\AppData\Local\Temp\2\frida-76183d3d624637b1d9ca59d8e33693c5\32\frida-agent.dll [,2021-09-04 01:10:50 GMT] [17388544]
[3B220000,10C6000] C:\Users\ADMINI~1\AppData\Local\Temp\2\frida-e35c3aff8f01e95f8b7a48ae01d17d38\32\frida-agent.dll [,2021-09-04 01:10:50 GMT] [17388544]
[3C670000,10C6000] C:\Users\ADMINI~1\AppData\Local\Temp\2\frida-f9cf5e69b623ccc255ced68d4ce830ce\32\frida-agent.dll [,2021-09-04 01:10:50 GMT] [17388544]
[3DF10000,10C6000] C:\Users\ADMINI~1\AppData\Local\Temp\2\frida-0669c24f9ee3bb65d94083cc60c3aa0c\32\frida-agent.dll [,2021-09-04 01:10:50 GMT] [17388544]
[3F970000,10C6000] C:\Users\ADMINI~1\AppData\Local\Temp\2\frida-e947efa45651516d5533471fb97a4220\32\frida-agent.dll [,2021-09-04 01:10:50 GMT] [17388544]
[4B8F0000,10C6000] C:\Users\ADMINI~1\AppData\Local\Temp\2\frida-9932eb9a282b944bf92d40bf576cb994\32\frida-agent.dll [,2021-09-04 01:10:50 GMT] [17388544]
[4D2D0000,10C6000] C:\Users\ADMINI~1\AppData\Local\Temp\2\frida-ab10a08e91ee3894de0f57a9c8461f63\32\frida-agent.dll [,2021-09-04 01:10:50 GMT] [17388544]
[4EE10000,10C6000] C:\Users\ADMINI~1\AppData\Local\Temp\2\frida-064b88f45283221bcc035484b633412a\32\frida-agent.dll [,2021-09-04 01:10:50 GMT] [17388544]
[60CE0000,10C6000] C:\Users\ADMINI~1\AppData\Local\Temp\2\frida-d745956bc3bebdfa6eac10075648b6ce\32\frida-agent.dll [,2021-09-04 01:10:50 GMT] [17388544]
----------------------------------------

Crash Signature: D8508BA630A8B2403CA98585B2CCB876

Feature request for 'image URI'

Receiving pic msg seems not fully implemented.

When receiving msg, the log now is sth. like

<msg>
        <img aeskey="6575616b646c6f7a71636c70736e6b75" encryver="1" cdnthumbaeskey="6575616b646c6f7a71636c70736e6b75" cdnthumburl="3063020100045c305a0201000204a831dd5002033d11fd02046816a3b40204616131f00435313433343830303938305f3430393732343730305f66383534376537396162643838623831623061306165643235643234396463310204010438010201000400" cdnthumblength="3943" cdnthumbheight="100" cdnthumbwidth="100" cdnmidheight="0" cdnmidwidth="0" cdnhdheight="0" cdnhdwidth="0" cdnmidimgurl="3063020100045c305a0201000204a831dd5002033d11fd02046816a3b40204616131f00435313433343830303938305f3430393732343730305f66383534376537396162643838623831623061306165643235643234396463310204010438010201000400" length="16432" md5="f8547e79abd88b81b0a0aed25d249dc1" />
</msg>

But the wechat-bot repo gives us img uri, which is sth. like

content: {
    content: '<?xml version="1.0"?>\n' +
      '<msg>\n' +
      '\t<img aeskey="6d7566626a716c656172766371697a64" encryver="1" cdnthumbaeskey="6d7566626a716c656172766371697a64" cdnthumburl="3063020100045c305a0201000204a831dd5002033d11fd0204b6e2e2650204616103c00435313433343830303938305f3530373438393035355f31323834633538336439326262366461623638663931623261366134626638390204010438010201000400" cdnthumblength="2877" cdnthumbheight="100" cdnthumbwidth="100" cdnmidheight="0" cdnmidwidth="0" cdnhdheight="0" cdnhdwidth="0" cdnmidimgurl="3063020100045c305a0201000204a831dd5002033d11fd0204b6e2e2650204616103c00435313433343830303938305f3530373438393035355f31323834633538336439326262366461623638663931623261366134626638390204010438010201000400" length="19579" md5="1284c583d92bb6dab68f91b2a6a4bf89" />\n' +
      '</msg>\n',
    detail: 'wxid\\FileStorage\\Image\\2021-10\\c1318b7304253ae881cfd11aa8397dff.dat',
    id1: 'userID',
    id2: '',
    thumb: 'wxid\\FileStorage\\Image\\Thumb\\2021-10\\2379f842f9463f406e5f1baeec0d57f0_t.dat'
  },

So we can actually process the image by the URI "wxid\FileStorage\Image\2021-10\c1318b7304253ae881cfd11aa8397dff.dat".

It would be nice if xp can output the pic store URI in the msg : )

经过测试和查看源码,发现,只支持转发文本

puppet-xp.ts

  override async messageForward (
    conversationId: string,
    messageId: string,
  ): Promise<void> {
    log.verbose('PuppetXp', 'messageForward(%s, %s)',
      conversationId,
      messageId,
    )
    const curMessage = this.messageStore[messageId]
    if (curMessage?.type === PUPPET.types.Message.Text) {
      await this.messageSendText(conversationId, curMessage.text || '')
    } else {
      PUPPET.throwUnsupportedError(conversationId, messageId)
    }
  }

Error: Could not locate the bindings file.

When I try Ding-Dong Bot, Frida reports the follow error:

Error: Could not locate the bindings file. Tried:
 → D:\ding\node_modules\frida\build\frida_binding.node
 → D:\ding\node_modules\frida\build\Debug\frida_binding.node
 → D:\ding\node_modules\frida\build\Release\frida_binding.node
 → D:\ding\node_modules\frida\out\Debug\frida_binding.node
 → D:\ding\node_modules\frida\Debug\frida_binding.node
 → D:\ding\node_modules\frida\out\Release\frida_binding.node
 → D:\ding\node_modules\frida\Release\frida_binding.node
 → D:\ding\node_modules\frida\build\default\frida_binding.node
 → D:\ding\node_modules\frida\compiled\16.5.0\win32\x64\frida_binding.node
 → D:\ding\frida_binding.node
    at bindings (D:\ding\node_modules\bindings\bindings.js:126:9)
    at Object.<anonymous> (D:\ding\node_modules\frida\dist\native.js:5:19)
    at Module._compile (node:internal/modules/cjs/loader:1095:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1124:10)
    at Module.load (node:internal/modules/cjs/loader:975:32)
    at Function.Module._load (node:internal/modules/cjs/loader:816:12)
    at Module.require (node:internal/modules/cjs/loader:999:19)
    at require (node:internal/modules/cjs/helpers:93:18)
    at Object.<anonymous> (D:\ding\node_modules\frida\dist\cancellable.js:4:18)
    at Module._compile (node:internal/modules/cjs/loader:1095:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1124:10)
    at Module.load (node:internal/modules/cjs/loader:975:32)
    at Function.Module._load (node:internal/modules/cjs/loader:816:12)
    at Module.require (node:internal/modules/cjs/loader:999:19)
    at require (node:internal/modules/cjs/helpers:93:18)
    at Object.<anonymous> (D:\ding\node_modules\frida\dist\index.js:5:27)
    at Module._compile (node:internal/modules/cjs/loader:1095:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1124:10)
    at Module.load (node:internal/modules/cjs/loader:975:32)
    at Function.Module._load (node:internal/modules/cjs/loader:816:12)
    at Module.require (node:internal/modules/cjs/loader:999:19)
    at require (node:internal/modules/cjs/helpers:93:18)
    at Object.<anonymous> (D:\ding\node_modules\frida-sidecar\src\frida.ts:7:1)
    at Module._compile (node:internal/modules/cjs/loader:1095:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1124:10)
    at Module.load (node:internal/modules/cjs/loader:975:32)
    at Function.Module._load (node:internal/modules/cjs/loader:816:12)
    at Module.require (node:internal/modules/cjs/loader:999:19)
    at require (node:internal/modules/cjs/helpers:93:18)
    at Object.<anonymous> (D:\ding\node_modules\frida-sidecar\src\sidecar-body\sidecar-body.ts:15:1)
    at Module._compile (node:internal/modules/cjs/loader:1095:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1124:10)
    at Module.load (node:internal/modules/cjs/loader:975:32)
    at Function.Module._load (node:internal/modules/cjs/loader:816:12)
    at Module.require (node:internal/modules/cjs/loader:999:19)
    at require (node:internal/modules/cjs/helpers:93:18)
    at Object.<anonymous> (D:\ding\node_modules\frida-sidecar\src\sidecar-body\mod.ts:1:1)
    at Module._compile (node:internal/modules/cjs/loader:1095:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1124:10)
    at Module.load (node:internal/modules/cjs/loader:975:32)
    at Function.Module._load (node:internal/modules/cjs/loader:816:12)
    at Module.require (node:internal/modules/cjs/loader:999:19)
    at require (node:internal/modules/cjs/helpers:93:18)
    at Object.<anonymous> (D:\ding\node_modules\frida-sidecar\src\mod.ts:21:1)
    at Module._compile (node:internal/modules/cjs/loader:1095:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1124:10)
    at Module.load (node:internal/modules/cjs/loader:975:32)
    at Function.Module._load (node:internal/modules/cjs/loader:816:12)
    at Module.require (node:internal/modules/cjs/loader:999:19)
    at require (node:internal/modules/cjs/helpers:93:18)
    at Object.<anonymous> (D:\ding\node_modules\wechaty-puppet-xp\src\puppet-xp.ts:57:1)
    at Module._compile (node:internal/modules/cjs/loader:1095:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1124:10)
    at Module.load (node:internal/modules/cjs/loader:975:32)
    at Function.Module._load (node:internal/modules/cjs/loader:816:12)
    at Module.require (node:internal/modules/cjs/loader:999:19)
    at require (node:internal/modules/cjs/helpers:93:18)
    at Object.<anonymous> (D:\ding\node_modules\wechaty-puppet-xp\src\mod.ts:2:1)
    at Module._compile (node:internal/modules/cjs/loader:1095:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1124:10)
    at Module.load (node:internal/modules/cjs/loader:975:32)
    at Function.Module._load (node:internal/modules/cjs/loader:816:12)
    at Module.require (node:internal/modules/cjs/loader:999:19)
    at require (node:internal/modules/cjs/helpers:93:18)
    at Object.<anonymous> (D:\ding\ding.ts:3:1)
    at Module._compile (node:internal/modules/cjs/loader:1095:14)
    at Module.m._compile (D:\Scoop\persist\nvm\nodejs\v16.5.0\node_modules\ts-node\src\index.ts:1225:23)
    at Module._extensions..js (node:internal/modules/cjs/loader:1124:10)
    at Object.require.extensions.<computed> [as .ts] (D:\Scoop\persist\nvm\nodejs\v16.5.0\node_modules\ts-node\src\index.ts:1228:12)
    at Module.load (node:internal/modules/cjs/loader:975:32)
    at Function.Module._load (node:internal/modules/cjs/loader:816:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:79:12)
    at main (D:\Scoop\persist\nvm\nodejs\v16.5.0\node_modules\ts-node\src\bin.ts:330:12)
    at Object.<anonymous> (D:\Scoop\persist\nvm\nodejs\v16.5.0\node_modules\ts-node\src\bin.ts:477:3)
    at Module._compile (node:internal/modules/cjs/loader:1095:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1124:10)
    at Module.load (node:internal/modules/cjs/loader:975:32)
    at Function.Module._load (node:internal/modules/cjs/loader:816:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:79:12)
    at node:internal/main/run_main_module:17:47

This is my typescript code ding.ts:

import { log, Wechaty } from 'wechaty'
import { EventLogger, QRCodeTerminal, DingDong } from "wechaty-plugin-contrib"
import { PuppetXp } from "wechaty-puppet-xp"
// import { PuppetWeChat } from "wechaty-puppet-wechat"

const puppet = new PuppetXp()
// const puppet = new PuppetWeChat()
const bot = new Wechaty({
    name: 'Clock In Helper',
    puppet
})

// bind event listener
// bot.on('scan', onScan)

// use plugins
bot.use(QRCodeTerminal({ small: true }))
bot.use(EventLogger())
bot.use(DingDong())

bot.start()
    .then(() => log.info("DingDong", "Started."))
    .catch(e => log.error("DingDong", e))

The following is my environment configuration.

My node version is v16.5.0 & npm version is 7.19.1.

$ npm -v
7.19.1

$ node --version
v16.5.0

I have install the Wechat for Windows v3.3.0.115 with the default installation options, but I don't know if some additional operations are needed for Frida to hook wechat.

And my OS version is:

版本	Windows 11 专业版
版本	21H2
安装日期	‎2021/‎7/‎13
操作系统版本	22000.100
体验	Windows Feature Experience Pack 421.18901.0.3

I hope this information can locate the problem. If you need any more information, please reply to me.

Add active trigger login function

If WeChat has been logged in before, when it is launched again, the Login button will be displayed in the login window. After clicking, you can log in through the confirmation of the mobile phone, without scanning the code to log in.

We need to add the function of actively triggering login to save the steps of manual clicking.

Can't log in by scanning qr code

@binsee I have added QR code display in the latest example code,The QR code can be displayed on the console , but I still can't log in by scanning the code. The displayed QR code is invalid. Would you please check the latest code.

Originally posted by @atorber in #72 (comment)

向机器人发送 ding 没有得到 dong回复

向机器人发送 ding 没有得到 dong回复,返回如下错误

10:26:42 VERB SidecarBody [HOOK_EVENT_HANDLER]("{"args":{"0":1,"1":"tyutluyc","2":"ding","3":null,"4":"<msgsource />\n"},"method":"recvMsg"}")
recvMsg: {
  '0': 1,
  '1': 'tyutluyc',
  '2': 'ding',
  '3': null,
  '4': '<msgsource />\n'
}
recvMsg: talkerId = tyutluyc
recvMsg: text = ding
recvMsg: ding found, reply dong
10:26:42 VERB WeChatSidecar<Sidecar> sendMsg(tyutluyc, dong)
10:26:42 SILL SidecarBody [SCRIPT_MESSAGRE_HANDLER_SYMBOL]({"type":"send","payload":{"payload":{"level":"verbose","message":"sendMsg(tyutluyc, dong)","prefix":"SidecarAgent"},"type":"log"}}, null)
10:26:42 SILL SidecarBody [SCRIPT_MESSAGRE_HANDLER_SYMBOL]() MessageType.Send: {"payload":{"level":"verbose","message":"sendMsg(tyutluyc, dong)","prefix":"SidecarAgent"},"type":"log"}
10:26:42 VERB SidecarBody<SidecarAgent> sendMsg(tyutluyc, dong)
(node:6692) UnhandledPromiseRejectionWarning: TypeError: not a function
    at sendMsg (/script1.js:472)
    at <anonymous> (/script1.js:511)
    at __sidecar__sendMsg_Function_wrapper (/script1.js:628)
    at apply (native)
    at <anonymous> (frida/runtime/message-dispatcher.js:13)
    at c (frida/runtime/message-dispatcher.js:23)
(node:6692) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3)

但当接收到 图片之后,报出如下错误,是我什么地方的配置有问题吗?

直接clone下来运行的,文本信息接收和发送都没问题,但当接收到 图片之后,报出如下错误,是我什么地方的配置有问题吗?

RECV: Message#Image[🗣Contact@👥Room<Kyo工会>]
1f
TypeError: Cannot read properties of undefined (reading 'name')
at getNameExtension (D:\gitlab_new_test\wechaty-puppet-xp-demo\node_modules\wechaty-puppet-xp\dist\cjs\src\pure-functions\image-decrypt.js:83:7)
at ImageDecrypt (D:\gitlab_new_test\wechaty-puppet-xp-demo\node_modules\wechaty-puppet-xp\dist\cjs\src\pure-functions\image-decrypt.js:16:27)
at PuppetXp.messageFile (D:\gitlab_new_test\wechaty-puppet-xp-demo\node_modules\wechaty-puppet-xp\dist\cjs\src\puppet-xp.js:354:71)
at WechatifiedUserClass.toFileBox (D:\gitlab_new_test\wechaty-puppet-xp-demo\node_modules\wechaty\dist\cjs\src\user-modules\message.js:785:51)
at WechatyImpl.onMessage (D:\gitlab_new_test\wechaty-puppet-xp-demo\main.js:112:38)
Error: ImageDecrypt fail
at ImageDecrypt (D:\gitlab_new_test\wechaty-puppet-xp-demo\node_modules\wechaty-puppet-xp\dist\cjs\src\pure-functions\image-decrypt.js:28:11)
at PuppetXp.messageFile (D:\gitlab_new_test\wechaty-puppet-xp-demo\node_modules\wechaty-puppet-xp\dist\cjs\src\puppet-xp.js:354:71)
at WechatifiedUserClass.toFileBox (D:\gitlab_new_test\wechaty-puppet-xp-demo\node_modules\wechaty\dist\cjs\src\user-modules\message.js:785:51)
at WechatyImpl.onMessage (D:\gitlab_new_test\wechaty-puppet-xp-demo\main.js:112:38)
Error: no Base64 data
at new FileBox (D:\gitlab_new_test\wechaty-puppet-xp-demo\node_modules\file-box\dist\cjs\src\file-box.js:412:27)
at Function.fromBase64 (D:\gitlab_new_test\wechaty-puppet-xp-demo\node_modules\file-box\dist\cjs\src\file-box.js:153:16)
at PuppetXp.messageFile (D:\gitlab_new_test\wechaty-puppet-xp-demo\node_modules\wechaty-puppet-xp\dist\cjs\src\puppet-xp.js:363:35)
at WechatifiedUserClass.toFileBox (D:\gitlab_new_test\wechaty-puppet-xp-demo\node_modules\wechaty\dist\cjs\src\user-modules\message.js:785:51)
at WechatyImpl.onMessage (D:\gitlab_new_test\wechaty-puppet-xp-demo\main.js:112:38)

运行过程中报错,微信自动退出

19:28:54 VERB SidecarBody<SidecarAgent> sendMsg(luyuchao, JSON.stringify(contactList))
19:29:20 VERB SidecarBody [SCRIPT_DESTROYED_HANDLER_SYMBOL]()
19:29:20 VERB SidecarBody [DETACH_SYMBOL]()
(node:9308) UnhandledPromiseRejectionWarning: Error: Script is destroyed
    at onScriptDestroyed (C:\workspace\wechaty-puppet-xp\node_modules\frida\dist\script.js:118:26)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:9308) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:9308) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate
the Node.js process with a non-zero exit code.
19:29:20 SILL SidecarBody [DETACH_SYMBOL]() this.script.unload() rejection: Script is destroyed

Wechaty Puppet XP: Windows Protocol for WeChat for FREE - call for alpha testers!

Hello to developers who are using Wechaty,

We have excellent news for you: Wechaty Puppet XP that supporting Windows WeChat Hooking, is going to be ready for testing!, and Alpha Testers are welcome for everyone from the Wechaty community!

Wechaty Puppet XP NPM Version npm (tag)

Looking forward to hearing back from you, and please submit a new issue if you found any bug or have any feature requests for Wechaty. PR is also welcome with an issue submitted first.

At last, let's say thanks to @atorber and @cixingguangming55555, who are the creators & authors of the XP puppet: It will not possible without the @wechaty/puppet-xp team and it will be great teamwork!

Learn more from:

Blogs

Maintainers

Troubleshooting

1. Error: Could not locate the binding file. Tried: node_modules/frida/build/frida_binding.node

  • Easy solution: use a server outside of China to get an unblocked network connection.
  • Hard solution: download frida_binding.node from https://github.com/frida/frida/releases/ manually, then put it into node_modules/frida/build folder.

Explanation:

frida is using prebuild-install to install binary files from GitHub Release.

If your server has any trouble with visiting the Amazon S3 servers (which is all the GitHub release artifacts are hosted on), then your NPM install will fail to download the binary files (frida_binding.node in our case).

msg.mention_text() 返回值不正常

返回的是这个
<coroutine object Message.mention_text at 0x0000022D805D9540>

可以先使用如下临时方案,
1、去除 @自己的昵称 后的信息,python代码:
t=msg.text().replace('@bot(你的机器人的昵称)','')
2、去除所有@昵称 的代码 :

import re
re.sub(r'@.+?\s' , "",msg.text() )

Not able to send GIF

Hi.

I want to send a GIF by its URL, but I can only receive a static picture on the wechat client. This is my code

    const file = FileBox.fromUrl("https://cdn2.thecatapi.com/images/MTc4MTA5OA.gif")
    console.log("MIME: " + file.mimeType)
    file.toFile("./haha.gif", true)
    room.say(file)

Any ideas? Thanks a lot!

puppet npm module not supported: "wechaty-puppet-xp"

/wechaty/src/puppet-manager.ts:123:13 源码中的这段代码中的 PUPPET_DEPENDENCIES 没有 wechaty-puppet-xp 这个属相,

if (!(puppetName in PUPPET_DEPENDENCIES)) {
      throw new Error(
        [
          '',
          'puppet npm module not supported: "' + puppetName + '"',
          'learn more about supported Wechaty Puppet from our directory at',
          '<https://github.com/wechaty/wechaty-puppet/wiki/Directory>',
          '',
        ].join('\n')
      )
    }

Feature request for 'Room Join event'

trying the feature of room-join from Wechaty docs, It seems still not implemented.

 bot.on('room-join', async any => {
   console.log(`Room join`);
 });

Could we enquiry for a feature request?

Try example/ding-dong-bot.ts and get process not found error

Puppet Version: 0.3.3

Please wait... I'm trying to login in...

Bot start() fail: Error: Process not found
at Device.getProcess (E:\Projects\wechaty-puppet-xp\node_modules\frida\dist\device.js:66:19)
at Device.getPid (E:\Projects\wechaty-puppet-xp\node_modules\frida\dist\device.js:138:25)
at Device.attach (E:\Projects\wechaty-puppet-xp\node_modules\frida\dist\device.js:120:21)
at Object.attach (E:\Projects\wechaty-puppet-xp\node_modules\frida\dist\index.js:60:12)
npm ERR! code ELIFECYCLE
npm ERR! errno 4294967295
npm ERR! [email protected] start: ts-node examples/ding-dong-bot.ts
npm ERR! Exit status 4294967295
npm ERR!
npm ERR! Failed at the [email protected] start script.

When trying the ding-dong-bot, many ThpeError repeats but the program seems not be broken

set WECHATY_PUPPET=wechaty-puppet-xp
npm start

> [email protected] start
> cross-env NODE_OPTIONS="--no-warnings --loader=ts-node/esm" node examples/ding-dong-bot.ts


Puppet Version: 0.0.0

Please wait... I'm trying to login in...


Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
liuhewei1115 login
------------------------------

How to send messages to specific contacts?

I've learned the examples, but I still don't know how to find the specific contact with the name or nickname, and send the messages.

I suggest to add this code into the examples, thanks.

TypeError [ERR_INVALID_ARG_TYPE]: The "listener" argument must be of type function. Received undefined

Just followed the documentation and executed npm run start:ripe, and got these :

D:\OpenSource\puppet-xp>npm run start:ripe

> [email protected] start:ripe D:\OpenSource\puppet-xp
> cross-env WECHATY_LOG=verbose NODE_OPTIONS="--no-warnings --loader=ts-node/esm" node examples/ripe-wechaty.ts

18:05:32 INFO Config registering process.on("unhandledRejection") for development/debug
18:05:58 VERB Config constructor()
18:05:58 VERB user/mixins/poolify poolifyMixin(EventEmitter)
18:05:58 VERB user/mixins/wechatify wechatifyMixin(PoolifiedMixin)
18:05:58 VERB user/mixins/validation validationMixin(ContactMixin)
18:05:58 VERB user/mixins/poolify poolifyMixin(ContactImpl)
18:05:58 VERB user/mixins/validation validationMixin(ContactSelfMixin)
18:05:58 VERB user/mixins/wechatify wechatifyMixin(EmptyBase)
18:05:58 VERB user/mixins/validation validationMixin(FavoriteMixin)
18:05:58 VERB user/mixins/wechatify wechatifyMixin(EventEmitter)
18:05:58 VERB user/mixins/validation validationMixin(FriendshipMixin)
18:05:58 VERB user/mixins/wechatify wechatifyMixin(EmptyBase)
18:05:58 VERB user/mixins/validation validationMixin(ImageMixin)
18:05:58 VERB user/mixins/wechatify wechatifyMixin(EmptyBase)
18:05:58 VERB user/mixins/validation validationMixin(LocationMixin)
18:05:58 VERB user/mixins/wechatify wechatifyMixin(EmptyBase)
18:05:58 VERB user/mixins/validation validationMixin(UrlLinkMixin)
18:05:58 VERB user/mixins/wechatify wechatifyMixin(EmptyBase)
18:05:58 VERB user/mixins/validation validationMixin(MiniProgramMixin)
18:05:58 VERB user/mixins/wechatify wechatifyMixin(EventEmitter)
18:05:58 VERB user/mixins/validation validationMixin(MessageMixin)
18:05:58 VERB user/mixins/wechatify wechatifyMixin(EmptyBase)
18:05:58 VERB user/mixins/validation validationMixin(MomentMixin)
18:05:58 VERB user/mixins/wechatify wechatifyMixin(EmptyBase)
18:05:58 VERB user/mixins/validation validationMixin(MoneyMixin)
18:05:58 VERB user/mixins/poolify poolifyMixin(EventEmitter)
18:05:58 VERB user/mixins/wechatify wechatifyMixin(PoolifiedMixin)
18:05:58 VERB user/mixins/validation validationMixin(RoomMixin)
18:05:58 VERB user/mixins/wechatify wechatifyMixin(EmptyBase)
18:05:58 VERB user/mixins/validation validationMixin(RoomInvitationMixin)
18:05:58 VERB user/mixins/poolify poolifyMixin(EmptyBase)
18:05:58 VERB user/mixins/wechatify wechatifyMixin(PoolifiedMixin)
18:05:58 VERB user/mixins/validation validationMixin(TagMixin)
18:05:58 VERB user/mixins/wechatify wechatifyMixin(EmptyBase)
18:05:58 VERB user/mixins/validation validationMixin(DelayMixin)
18:05:59 VERB wechaty-puppet-service monkeyPatchMetadataFromHttp2Headers()
18:05:59 VERB PuppetSkelton constructor({})
18:05:59 VERB PuppetMemoryMixin constructor()
18:05:59 VERB PuppetStateMixin constructor() #1
18:05:59 VERB StateSwitch constructor(PuppetBusyIndicator, "{"log":{"enableTimestamp":true,"logLevel":4,"prefixFilter":{}}}")
18:05:59 VERB StateSwitch constructor(PuppetState, "{"log":{"enableTimestamp":true,"logLevel":4,"prefixFilter":{}}}")
18:05:59 VERB WatchdogAgent constructor(877b2afe-66ca-4c9b-beb7-578937519778)
18:05:59 VERB WatchdogAgent constructor() watchdog timeout set to 60 seconds
18:05:59 VERB PuppetCacheMixin constructor({})
18:05:59 VERB CacheAgent constructor()
18:05:59 VERB PuppetLoginMixin constructor()
18:05:59 VERB PuppetContactMixin constructor()
18:05:59 VERB PuppetRoomMemberMixin constructor()
18:05:59 VERB PuppetRoomMixin constructor()
18:05:59 VERB PuppetFriendshipMixin constructor()
18:05:59 VERB PuppetTagMixin constructor()
18:05:59 VERB PuppetRoomInvitationMixin constructor()
18:05:59 VERB PuppetMessageMixin constructor()
18:05:59 VERB PuppetMiscMixin constructor()
18:05:59 VERB Puppet constructor({})
18:05:59 VERB PuppetXp constructor({})
18:05:59 VERB WechatyBuilder constructor()
18:05:59 VERB WechatyBuilder singleton()
18:05:59 VERB WechatyBuilder newInstance()
18:05:59 VERB Wechaty constructor()
18:05:59 VERB StateSwitch constructor(Wechaty, "{"log":{"enableTimestamp":true,"logLevel":4,"prefixFilter":{}}}")
18:05:59 VERB StateSwitch constructor(WechatyReady, "{"log":{"enableTimestamp":true,"logLevel":4,"prefixFilter":{}}}")
18:05:59 VERB Wechaty on(scan, listener) registering... listenerCount: 0
18:05:59 VERB Wechaty on(login, listener) registering... listenerCount: 0
18:05:59 VERB Wechaty on(logout, listener) registering... listenerCount: 0
18:05:59 VERB Wechaty on(message, listener) registering... listenerCount: 0
18:05:59 VERB Wechaty start()
TypeError [ERR_INVALID_ARG_TYPE]: The "listener" argument must be of type function. Received undefined
    at new NodeError (internal/errors.js:322:7)
    at checkListener (events.js:135:11)
    at _addListener (events.js:433:3)
    at StateSwitch.addListener (events.js:497:10)
    at WechatyImpl.start (file:///D:/OpenSource/puppet-xp/node_modules/wechaty/src/wechaty.ts:762:20)
    at file:///D:/OpenSource/puppet-xp/examples/ripe-wechaty.ts:65:5
    at ModuleJob.run (internal/modules/esm/module_job.js:183:25)
    at async Loader.import (internal/modules/esm/loader.js:178:24)
    at async Object.loadESM (internal/process/esm_loader.js:68:5) {
  code: 'ERR_INVALID_ARG_TYPE'
}
18:05:59 VERB Wechaty init() Raven disabled (import("raven") failed)

I got the same error with npm start, did I miss something?

Start failing quickly

I followed the steps in the document, when I execute npm start, the error message is " SyntaxError: Unexpected token'.' "

sidecar.getChatroomMemberNickInfo will throw error and break the the flow

This project is so cool. 👍
BTW, I found an issue when I run the example and calling sidecar.getChatroomMemberNickInfo().
Code here: https://github.com/wechaty/wechaty-puppet-xp/blob/dfe9229b3f19914ee821b267ab04034cad642391/src/puppet-xp.ts#L176

From my test, it will throw exception if the member id can not get nickname successfully. The error like that,

Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}

As result, because this exception hasn't been catch. the follow logic cannot be ran for example register the event.

This is my fix,

let [err, memberNickName] = await this.sidecar.getChatroomMemberNickInfo(memberId, roomId).then(r => [undefined, r]).catch(e => [e])
if (err) {
    memberNickName = 'no name'
}

Thanks for your watching ;)

some err

[4] http://weixin.qq.com/x/oYldCbNPP4YzHv1t74F8
Scan QR Code above to log in:
Error: not logged in, no this.__currentUserId yet.
at PuppetXp.get currentUserId [as currentUserId] (file:///C:/luyc/wechaty-puppet-xp/node_modules/wechaty-puppet/src/mixins/login-mixin.ts:23:15)
at PuppetXp.onHookRecvMsg (file:///C:/luyc/wechaty-puppet-xp/src/puppet-xp.ts:310:11)
at WeChatSidecar. (file:///C:/luyc/wechaty-puppet-xp/src/puppet-xp.ts:70:26)
at WeChatSidecar.emit (node:events:394:28)
at WeChatSidecar.emit (node:domain:470:12)
at WeChatSidecar.[hookEventHandler] (file:///C:/luyc/wechaty-puppet-xp/node_modules/sidecar/src/sidecar-body/sidecar-body.ts:450:10)
at WeChatSidecar.[scriptMessageHandler] (file:///C:/luyc/wechaty-puppet-xp/node_modules/sidecar/src/sidecar-body/sidecar-body.ts:372:35)
at C:\luyc\wechaty-puppet-x

Error: message not found for id: ckxee0mwt000szkby9rtehins

When the robot is pulled into the group by friends, an error occurs when the group receives a message

Windows 10
Wechat 3.3.0.115
Node v16.13.1
Python 3.10.1
15:59:29 WARN Room findAll() message.ready() rejection: TypeError: iterator is not iterable
node:internal/process/promises:246
          triggerUncaughtException(err, true /* fromPromise */);
          ^

GError: message not found for id: ckxee0mwt000szkby9rtehins
    at PuppetXp.<anonymous> (file:///E:/workspace/git/wechaty/node_modules/wechaty/dist/esm/src/wechaty-mixins/puppet-mixin.js:213:43)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
Emitted 'error' event on WechatyImpl instance at:
    at WechatyImpl.emit (file:///E:/workspace/git/wechaty/node_modules/wechaty/dist/esm/src/wechaty-mixins/gerror-mixin.js:45:26)
    at PuppetXp.<anonymous> (file:///E:/workspace/git/wechaty/node_modules/wechaty/dist/esm/src/wechaty-mixins/puppet-mixin.js:229:38)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 2,
  details: 'Error: message not found for id: ckxee0mwt000szkby9rtehins\n' +
    '    at PuppetXp.<anonymous> (file:///E:/workspace/git/wechaty/node_modules/wechaty/dist/esm/src/wechaty-mixins/puppet-mixin.js:213:43)\n' +
    '    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}

Error TypeError: Cannot read property 'then' of null

使用 npm start 时出现了以下错误,但是功能却正常,我尝试换一个微信号登录,发现没有遇到这种问题

> [email protected] start:bot
> cross-env WECHATY_LOG=verbose NODE_OPTIONS="--no-warnings --loader=ts-node/esm" node examples/wechat-bot.ts

10:20:47 INFO Config registering process.on("unhandledRejection") for development/debug
10:20:47 VERB Config constructor()
10:20:47 VERB PoolifyMixin poolifyMixin(EventEmitter)
10:20:47 VERB WechatifyMixin wechatifyMixin(AbstractPoolifyMixin)
10:20:47 VERB ValidationMixin validationMixin(ContactMixin)
10:20:47 VERB ValidationMixin validationMixin(ContactImplBase)
10:20:47 VERB PoolifyMixin poolifyMixin(ContactImpl)
10:20:47 VERB ValidationMixin validationMixin(ContactSelfMixin)
10:20:47 VERB WechatifyMixin wechatifyMixin(EmptyBase)
10:20:47 VERB ValidationMixin validationMixin(FavoriteMixin)
10:20:47 VERB WechatifyMixin wechatifyMixin(EventEmitter)
10:20:47 VERB ValidationMixin validationMixin(FriendshipMixin)
10:20:47 VERB WechatifyMixin wechatifyMixin(EmptyBase)
10:20:47 VERB ValidationMixin validationMixin(ImageMixin)
10:20:47 VERB WechatifyMixin wechatifyMixin(EmptyBase)
10:20:47 VERB ValidationMixin validationMixin(LocationMixin)
10:20:54 VERB WechatifyMixin wechatifyMixin(EmptyBase)
10:20:54 VERB ValidationMixin validationMixin(UrlLinkMixin)
10:20:54 VERB WechatifyMixin wechatifyMixin(EmptyBase)
10:20:54 VERB ValidationMixin validationMixin(MiniProgramMixin)
10:20:54 VERB WechatifyMixin wechatifyMixin(EventEmitter)
10:20:54 VERB ValidationMixin validationMixin(MessageMixin)
10:20:54 VERB ValidationMixin validationMixin(MessageImplBase)
10:20:54 VERB WechatifyMixin wechatifyMixin(EmptyBase)
10:20:54 VERB ValidationMixin validationMixin(MomentMixin)
10:20:54 VERB WechatifyMixin wechatifyMixin(EmptyBase)
10:20:54 VERB ValidationMixin validationMixin(MoneyMixin)
10:20:54 VERB PoolifyMixin poolifyMixin(EventEmitter)
10:20:54 VERB WechatifyMixin wechatifyMixin(AbstractPoolifyMixin)
10:20:54 VERB ValidationMixin validationMixin(RoomMixin)
10:20:54 VERB WechatifyMixin wechatifyMixin(EmptyBase)
10:20:54 VERB ValidationMixin validationMixin(RoomInvitationMixin)
10:20:54 VERB WechatifyMixin wechatifyMixin(EmptyBase)
10:20:54 VERB PoolifyMixin poolifyMixin(AbstractWechatifyMixin)
10:20:54 VERB ValidationMixin validationMixin(TagMixin)
10:20:54 VERB WechatifyMixin wechatifyMixin(EmptyBase)
10:20:54 VERB ValidationMixin validationMixin(DelayMixin)
10:20:57 VERB WechatyGErrorMixin gErrorMixin(WechatySkeleton)
10:20:57 VERB WechatifyUserModuleMixin wechatifyUserModuleMixin(GErrorMixin)
10:20:57 VERB WechatyPluginMixin pluginMixin(WechatifyUserModuleMixin)
10:20:57 VERB WechatyPuppetMixin puppetMixin(PluginMixin)
10:20:57 VERB WechatyLoginMixin loginMixin(PuppetMixin)
10:20:57 VERB WechatyMiscMixin miscMixin(LoginMixin)
10:20:57 VERB WechatyIoMixin ioMixin(MiscMixin)
10:20:57 VERB ValidationMixin validationMixin(WechatyBase)
10:20:57 VERB ValidationMixin validationMixin(WechatyImplBase)
10:21:01 VERB wechaty-puppet-service monkeyPatchMetadataFromHttp2Headers()
10:21:05 VERB PuppetSkeleton constructor({})
10:21:05 VERB PuppetMemoryMixin constructor()
10:21:05 VERB PuppetLoginMixin constructor()
10:21:05 VERB PuppetCacheMixin constructor()
10:21:05 VERB PuppetCacheAgent constructor()
10:21:05 VERB PuppetContactMixin constructor()
10:21:05 VERB PuppetRoomMemberMixin constructor()
10:21:05 VERB PuppetRoomMixin constructor()
10:21:05 VERB PuppetFriendshipMixin constructor()
10:21:05 VERB PuppetTagMixin constructor()
10:21:05 VERB PuppetRoomInvitationMixin constructor()
10:21:05 VERB PuppetMessageMixin constructor()
10:21:05 VERB PuppetMiscMixin constructor()
10:21:05 VERB ServiceCtl<PuppetServiceMixin> constructor()
10:21:05 VERB StateSwitch constructor(PuppetServiceMixin, "{"log":{"enableTimestamp":true,"logLevel":4,"prefixFilter":{}}}")
10:21:05 VERB StateSwitch constructor(PuppetServiceMixinReset, "{"log":{"enableTimestamp":true,"logLevel":4,"prefixFilter":{}}}")
10:21:05 VERB PuppetServiceMixin constructor() #0
10:21:05 VERB PuppetWatchdogAgent constructor(050ff4bf-bde5-47ca-bfa0-6ce3f84ef969)
10:21:05 VERB PuppetWatchdogAgent constructor() timeout 60 seconds
10:21:05 VERB Puppet constructor({})
10:21:05 VERB PuppetXp constructor({})
10:21:05 VERB WechatyBuilder singleton()
10:21:05 VERB WechatyBuilder newInstance()
10:21:05 VERB WechatyIoMixin constructor()
10:21:05 VERB WechatyLoginMixin constructor()
10:21:05 VERB WechatyPuppetMixin construct()
10:21:05 VERB WechatifyUserModuleMixin constructor()
10:21:05 VERB WechatySkeleton constructor()
10:21:05 VERB StateSwitch constructor(WechatyReady, "{"log":{"enableTimestamp":true,"logLevel":4,"prefixFilter":{}}}")
10:21:05 VERB ServiceCtl<Wechaty> constructor()
10:21:05 VERB StateSwitch constructor(Wechaty, "{"log":{"enableTimestamp":true,"logLevel":4,"prefixFilter":{}}}")
10:21:05 VERB StateSwitch constructor(WechatyReset, "{"log":{"enableTimestamp":true,"logLevel":4,"prefixFilter":{}}}")
10:21:05 VERB Wechaty constructor()
10:21:05 VERB WechatySkeleton on(scan, listener) registering... listenerCount: 0
10:21:05 VERB WechatySkeleton on(login, listener) registering... listenerCount: 0
10:21:05 VERB WechatySkeleton on(logout, listener) registering... listenerCount: 0
10:21:05 VERB WechatySkeleton on(message, listener) registering... listenerCount: 0
10:21:05 VERB ServiceCtl<Wechaty> start()
10:21:05 VERB StateSwitch <Wechaty> active(pending) <- (false)
10:21:05 VERB ServiceCtl<Wechaty> start() super.start() ...
10:21:05 VERB WechatyIoMixin start()
10:21:05 VERB WechatyLoginMixin start()
10:21:05 VERB WechatyPuppetMixin start()
10:21:05 VERB WechatyPuppetMixin start() super.start() ...
10:21:05 VERB WechatyPluginMixin start()
10:21:05 VERB WechatifyUserModuleMixin start()
10:21:05 VERB WechatySkeleton start()
10:21:05 VERB WechatifyUserModuleMixin _wechatifyUserModules()
10:21:05 VERB WechatifyUserModuleMixin _wechatifyUserModules() initializing Wechaty User Module (WUM) ...
10:21:05 VERB WechatifyMixin wechatifyUserModule(ContactImpl)
10:21:05 VERB WechatifyMixin wechatifyUserModule(ContactImpl)(Wechaty#2dee9980-67e8-4860-ace1-f0324ea974c4<Puppet<PuppetXp>(NONAME)>(wechat-bot))
10:21:05 VERB WechatifyMixin wechatifyUserModule(ContactSelfImpl)
10:21:05 VERB WechatifyMixin wechatifyUserModule(ContactSelfImpl)(Wechaty#2dee9980-67e8-4860-ace1-f0324ea974c4<Puppet<PuppetXp>(NONAME)>(wechat-bot))
10:21:05 VERB WechatifyMixin wechatifyUserModule(DelayImpl)
10:21:05 VERB WechatifyMixin wechatifyUserModule(DelayImpl)(Wechaty#2dee9980-67e8-4860-ace1-f0324ea974c4<Puppet<PuppetXp>(NONAME)>(wechat-bot))
10:21:05 VERB WechatifyMixin wechatifyUserModule(FriendshipImpl)
10:21:05 VERB WechatifyMixin wechatifyUserModule(FriendshipImpl)(Wechaty#2dee9980-67e8-4860-ace1-f0324ea974c4<Puppet<PuppetXp>(NONAME)>(wechat-bot))
10:21:05 VERB WechatifyMixin wechatifyUserModule(ImageImpl)
10:21:05 VERB WechatifyMixin wechatifyUserModule(ImageImpl)(Wechaty#2dee9980-67e8-4860-ace1-f0324ea974c4<Puppet<PuppetXp>(NONAME)>(wechat-bot))
10:21:05 VERB WechatifyMixin wechatifyUserModule(LocationImpl)
10:21:05 VERB WechatifyMixin wechatifyUserModule(LocationImpl)(Wechaty#2dee9980-67e8-4860-ace1-f0324ea974c4<Puppet<PuppetXp>(NONAME)>(wechat-bot))
10:21:05 VERB WechatifyMixin wechatifyUserModule(MessageImpl)
10:21:05 VERB WechatifyMixin wechatifyUserModule(MessageImpl)(Wechaty#2dee9980-67e8-4860-ace1-f0324ea974c4<Puppet<PuppetXp>(NONAME)>(wechat-bot))
10:21:05 VERB WechatifyMixin wechatifyUserModule(MiniProgramImpl)
10:21:05 VERB WechatifyMixin wechatifyUserModule(MiniProgramImpl)(Wechaty#2dee9980-67e8-4860-ace1-f0324ea974c4<Puppet<PuppetXp>(NONAME)>(wechat-bot))
10:21:05 VERB WechatifyMixin wechatifyUserModule(RoomImpl)
10:21:05 VERB WechatifyMixin wechatifyUserModule(RoomImpl)(Wechaty#2dee9980-67e8-4860-ace1-f0324ea974c4<Puppet<PuppetXp>(NONAME)>(wechat-bot))
10:21:05 VERB WechatifyMixin wechatifyUserModule(RoomInvitationImpl)
10:21:05 VERB WechatifyMixin wechatifyUserModule(RoomInvitationImpl)(Wechaty#2dee9980-67e8-4860-ace1-f0324ea974c4<Puppet<PuppetXp>(NONAME)>(wechat-bot))
10:21:05 VERB WechatifyMixin wechatifyUserModule(TagImpl)
10:21:06 VERB WechatifyMixin wechatifyUserModule(TagImpl)(Wechaty#2dee9980-67e8-4860-ace1-f0324ea974c4<Puppet<PuppetXp>(NONAME)>(wechat-bot))
10:21:06 VERB WechatifyMixin wechatifyUserModule(UrlLinkImpl)
10:21:06 VERB WechatifyMixin wechatifyUserModule(UrlLinkImpl)(Wechaty#2dee9980-67e8-4860-ace1-f0324ea974c4<Puppet<PuppetXp>(NONAME)>(wechat-bot))
10:21:06 VERB WechatifyUserModuleMixin _wechatifyUserModules() initializing Wechaty User Module (WUM) ... done
10:21:06 VERB Wechaty init() Raven disabled (import("raven") failed)
10:21:06 VERB WechatyPluginMixin start() installing plugins(global/0, instance/0) ...
10:21:06 VERB WechatyPluginMixin start() installing plugins(global/0, instance/0) ... done
10:21:06 VERB WechatyPuppetMixin start() super.start() ... done
10:21:06 VERB WechatyPuppetMixin start() initializing puppet instance ...
10:21:06 VERB WechatyPuppetMixin __initPuppetInstance() Puppet<PuppetXp>(NONAME)
10:21:06 VERB WechatyPuppetMixin __initPuppetInstance() instanciating puppet instance ...
10:21:06 VERB PuppetManager resolve({puppet: Puppet<PuppetXp>(NONAME), puppetOptions: undefined})
10:21:06 VERB WechatyPuppetMixin __initPuppetInstance() instanciating puppet instance ... done
10:21:06 VERB WechatyPuppetMixin __initPuppetInstance() setting memory ...
10:21:06 VERB PuppetMemoryMixin setMemory(wechat-bot)
10:21:06 VERB WechatyPuppetMixin __initPuppetInstance() setting memory ... done
10:21:06 VERB WechatyPuppetMixin __initPuppetInstance() setting up events ...
10:21:06 VERB WechatyPuppetMixin __setupPuppetEvents(Puppet<PuppetXp>(wechat-bot))
10:21:06 VERB PuppetMixin __setupPuppetEvents() puppet.on(friendship) (listenerCount:0) registering...
10:21:06 VERB PuppetMixin __setupPuppetEvents() puppet.on(login) (listenerCount:0) registering...
10:21:06 VERB PuppetMixin __setupPuppetEvents() puppet.on(logout) (listenerCount:0) registering...
10:21:06 VERB PuppetMixin __setupPuppetEvents() puppet.on(message) (listenerCount:0) registering...
10:21:06 VERB PuppetMixin __setupPuppetEvents() puppet.on(room-invite) (listenerCount:0) registering...
10:21:06 VERB PuppetMixin __setupPuppetEvents() puppet.on(room-join) (listenerCount:0) registering...
10:21:06 VERB PuppetMixin __setupPuppetEvents() puppet.on(room-leave) (listenerCount:0) registering...
10:21:06 VERB PuppetMixin __setupPuppetEvents() puppet.on(room-topic) (listenerCount:0) registering...
10:21:06 VERB PuppetMixin __setupPuppetEvents() puppet.on(scan) (listenerCount:0) registering...
10:21:06 VERB PuppetMixin __setupPuppetEvents() puppet.on(dirty) (listenerCount:0) registering...
10:21:06 VERB PuppetMixin __setupPuppetEvents() puppet.on(dong) (listenerCount:0) registering...
10:21:06 VERB PuppetMixin __setupPuppetEvents() puppet.on(error) (listenerCount:0) registering...
10:21:06 VERB PuppetMixin __setupPuppetEvents() puppet.on(heartbeat) (listenerCount:0) registering...
10:21:06 VERB PuppetMixin __setupPuppetEvents() puppet.on(ready) (listenerCount:0) registering...
10:21:06 VERB PuppetMixin __setupPuppetEvents() puppet.on(reset) (listenerCount:0) registering...
10:21:06 VERB WechatyPuppetMixin __setupPuppetEvents() ... done
10:21:06 VERB WechatyPuppetMixin __initPuppetInstance() setting up events ... done
10:21:06 VERB WechatyPuppetMixin __initPuppetInstance() emitting "puppet" event ...
10:21:06 VERB WechatyPuppetMixin __initPuppetInstance() emitting "puppet" event ... done
10:21:06 VERB WechatyPuppetMixin start() initializing puppet instance ... done
10:21:06 VERB WechatyPuppetMixin start() starting puppet ...
10:21:06 VERB PuppetServiceMixin start()
10:21:06 VERB ServiceCtl<PuppetServiceMixin> start()
10:21:06 VERB StateSwitch <PuppetServiceMixin> active(pending) <- (false)
10:21:06 VERB ServiceCtl<PuppetServiceMixin> start() super.start() ...
10:21:06 VERB PuppetCacheMixin start()
10:21:06 VERB PuppetLoginMixin start()
10:21:06 VERB PuppetMemoryMixin start()
10:21:06 VERB PuppetSkeleton start()
10:21:06 VERB PuppetCacheAgent start()
10:21:06 VERB PuppetCacheAgent clear()
10:21:06 VERB PuppetCacheMixin start() "dirty" event listener added
10:21:06 VERB ServiceCtl<PuppetServiceMixin> start() super.start() ... done
10:21:06 VERB ServiceCtl<PuppetServiceMixin> start() this.onStart() ...
10:21:06 VERB PuppetXp onStart()
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
Error [TypeError]: cannot read property 'then' of null
    at <anonymous> (frida/runtime/message-dispatcher.js:14)
    at c (frida/runtime/message-dispatcher.js:23) {
  fileName: 'frida/runtime/message-dispatcher.js',
  lineNumber: 14
}
10:21:15 VERB PuppetXp login()
......

How to get the original image data file path?

puppet-xp can get the thumbnail image file path,

FileStorage\\Image\\Thumb\\2022-01\\c4856650cf8472e72cfff4e8308ee2ab_t.dat

but can not get the original image data file.

FileStorage\Image\2022-01\6b69663a6a8e17712b589f4586e55e58.dat

msg.say()返回no id报错(然而可正常发送文本消息,但不能连续发送)

目前已经确认 puppet-xp暂时不支持filebox。大概率目前只能发送纯文本信息

如果使用msg.say ()发送纯文本信息会返回no id 错误:
详细的错误信息:

10:42:02 ERR PuppetServiceImpl grpcError() messagePayload() rejection: no id
Error: no id
    at PuppetXp.messagePayload (file:///C:/Users/Zhao/wechaty-puppet-xp/node_modules/wechaty-puppet/dist/esm/src/mixins/message-mixin.js:31:23)
    at messagePayload (file:///C:/Users/Zhao/wechaty-puppet-xp/node_modules/wechaty-puppet-service/dist/esm/src/server/puppet-implementation.js:563:46)
    at Object.messagePayload (file:///C:/Users/Zhao/wechaty-puppet-xp/node_modules/wechaty-puppet-service/dist/esm/src/auth/auth-impl-token.js:26:28)
    at handleUnary (C:\Users\Zhao\wechaty-puppet-xp\node_modules\@grpc\grpc-js\build\src\server.js:664:13)
    at processTicksAndRejections (node:internal/process/task_queues:96:5

推测大概率是 puppet-xp和python-wechaty的msg.say()之间还存在什么bug,建议目前使用talker.say () 或者 room.say() 发纯文本不会报错,也可以连续发送

error TS2515: Non-abstract class 'PuppetXp' does not implement inherited abstract member 'messageLocation'

Xx:
pcWx : 3.3.0.115
node : v16.10.0
npm : 7.24.0
mac windows10虚拟机

PS C:\work\wechaty-puppet-xp> npm start

[email protected] start
cross-env NODE_OPTIONS="--no-warnings --loader=ts-node/esm" node examples/ding-dong-bot.ts

C:\work\wechaty-puppet-xp\node_modules\ts-node\src\index.ts:692
return new TSError(diagnosticText, diagnosticCodes);
^
TSError: ⨯ Unable to compile TypeScript:
src/puppet-xp.ts:67:7 - error TS2515: Non-abstract class 'PuppetXp' does not implement inherited abstract member 'messageLocation' from class 'Puppet'.

67 class PuppetXp extends Puppet {
~~~~~~~~
src/puppet-xp.ts:67:7 - error TS2515: Non-abstract class 'PuppetXp' does not implement inherited abstract member 'messageSendLocation' from class 'Puppet'.

67 class PuppetXp extends Puppet {
~~~~~~~~

at createTSError (C:\work\wechaty-puppet-xp\node_modules\ts-node\src\index.ts:692:12)
at reportTSError (C:\work\wechaty-puppet-xp\node_modules\ts-node\src\index.ts:696:19)
at getOutput (C:\work\wechaty-puppet-xp\node_modules\ts-node\src\index.ts:883:36)
at Object.compile (C:\work\wechaty-puppet-xp\node_modules\ts-node\src\index.ts:1185:30)
at C:\work\wechaty-puppet-xp\node_modules\ts-node\src\esm.ts:146:38
at Generator.next (<anonymous>)
at C:\work\wechaty-puppet-xp\node_modules\ts-node\dist\esm.js:8:71
at new Promise (<anonymous>)
at __awaiter (C:\work\wechaty-puppet-xp\node_modules\ts-node\dist\esm.js:4:12)
at transformSource (C:\work\wechaty-puppet-xp\node_modules\ts-node\dist\esm.js:88:16) {

diagnosticText: "\x1B[96msrc/puppet-xp.ts\x1B[0m:\x1B[93m67\x1B[0m:\x1B[93m7\x1B[0m - \x1B[91merror\x1B[0m\x1B[90m TS2515: \x1B[0mNon-abstract class 'PuppetXp' does not implement inherited abstract member 'messageLocation' from class 'Puppet'.\r\n" +
'\r\n' +
'\x1B[7m67\x1B[0m class PuppetXp extends Puppet {\r\n' +
'\x1B[7m \x1B[0m \x1B[91m ~~~~~~~~\x1B[0m\r\n' +
"\x1B[96msrc/puppet-xp.ts\x1B[0m:\x1B[93m67\x1B[0m:\x1B[93m7\x1B[0m - \x1B[91merror\x1B[0m\x1B[90m TS2515: \x1B[0mNon-abstract class 'PuppetXp' does not implement inherited abstract member 'messageSendLocation' from class 'Puppet'.\r\n" +
'\r\n' +
'\x1B[7m67\x1B[0m class PuppetXp extends Puppet {\r\n' +
'\x1B[7m \x1B[0m \x1B[91m ~~~~~~~~\x1B[0m\r\n',
diagnosticCodes: [ 2515, 2515 ]
}

How to create a Wechaty Token Gateway for Puppet XP

Update Jan 15, 2022

Now we have an official way to start Wechaty Token Gateway for Puppet XP:

$ npm install -g [email protected] wechaty-puppet-xp
$ wechaty gateway --puppet wechaty-puppet-xp

Related issue:

Abstract

We can create a Wechaty Token Gateway for wechaty-puppet-xp without any problem because all the Puppet in the Wechaty ecosystem will be able to support each other without any problem.

All Wechaty Puppet Providers can be converted to a Wechaty Puppet Service by using our Wechaty Token Gateway, which means the wechaty-puppet-xp can be converted as well.

The Problem

The only problem for using wechaty-puppet-xp with the token gateway is that currently in our docs, the token gateway is started by a docker command, but the wechaty-puppet-xp can not run inside a Linux docker.

The Solution

The solution would be to use Wechaty under your Windows system and start the token gateway manually, which you can learn how to do this from the Wechaty Dockerfile and this line from entrypoint.sh and this line from package.json:

TL;DR: start Wechaty Token Gateway manually with Windows:

npm install -g wechaty
wechaty-io-client

Don't forget to set all environment variables correctly, according to DIY Wechaty Puppet Service

Related issues

readme有个单词拼错了

wechaty-puppet-xp is a local puppet for 👉Wecaty:

If you are a user of Windows,You can use this puppet to implement your chatbot.
It's a completely free service and doesn't need token.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.