Code Monkey home page Code Monkey logo

wechat-bot's Issues

random crash

 js端发送测试消息 用Math.random()生成了一个随机数如0.5529866760375488会引起崩溃

微信发送消息失败

在微信运行期间,收到了好友申请,手动点了同意好友申请。
然后这个好友发消息来,接收是没有问题的。
get_personal_detail,获取好友个人信息的时候,返回的数据是成功没问题的。
但是在给他发送消息的时候,会发送失败,"status":"FAIL","content":"send text msg:wxid ,its not on your friend list!"。
获取微信通讯录好友wxid和名字,返回的清单里没有这个好友。
请确认是否是bug,谢谢。

(我就是我)微信群友提的建议

有些结果会出现空的情况,比如获取某个群的昵称列表,正常是返回一个名为member的List,但是如果有的群已经空了(特殊情况),这时候返回的结果里连member这一项都没了,我觉得是不是返回个空的List好一点?这样可以保证返回的数据结构式一致的

发送群@消息失败

请求的消息体是:{"id": "XXX", "wxid": "XXXX", "content": "XXXXX", "roomid": "XXXXX@chatroom", "type": 555},但是实际发送给的是个人而不是在群里@相应的人,不知道是不是BUG?

获取某个群的昵称列表时微信主程序崩溃

此Bug可稳定重现,疑似空指针导致内存访问错误

(21d4.22a0): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
eax=00000000 ebx=15a5f924 ecx=00000000 edx=00000000 esi=0a559de0 edi=00000002
eip=1474f602 esp=15a5f000 ebp=15a5f848 iopl=0 nv up ei pl zr na pe nc
cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010246
*** WARNING: Unable to verify checksum for F:\Programs2018\WeChat\wechat-bot-master\server\version2.8.0.121-2.5.3.58.dll
*** ERROR: Module load completed but symbols could not be loaded for F:\Programs2018\WeChat\wechat-bot-master\server\version2.8.0.121-2.5.3.58.dll
version2_8_0_121_2_5_3_58+0x2f602:
1474f602 668b01 mov ax,word ptr [ecx] ds:002b:00000000=????
0:048> kvn

ChildEBP RetAddr Args to Child

WARNING: Stack unwind information not available. Following frames may be wrong.
00 15a5f848 1474e2b4 0a55b800 5376b423 12a4f2a8 version2_8_0_121_2_5_3_58+0x2f602
01 15a5f970 14733155 15a5fa34 5376b7df 15a5fb50 version2_8_0_121_2_5_3_58+0x2e2b4
02 15a5fa8c 14733f4e 5376b79f 14733eb0 12a4f2a8 version2_8_0_121_2_5_3_58+0x13155
03 15a5facc 1474b20d 12a4f2a8 00000071 15a5fb50 version2_8_0_121_2_5_3_58+0x13f4e
04 15a5faf8 1474b670 00000003 12a4f2a8 15a5fba8 version2_8_0_121_2_5_3_58+0x2b20d
05 15a5fb68 1474b917 1474b8e0 12a4f2a8 00000100 version2_8_0_121_2_5_3_58+0x2b670
06 15a5fb84 147421be 12a4f2a8 00000003 15a5fba8 version2_8_0_121_2_5_3_58+0x2b917
07 15a5fbb4 14742078 000005b4 00000001 12a4f2a8 version2_8_0_121_2_5_3_58+0x221be
08 15a5fbf0 147441cc 00000000 00000000 00000000 version2_8_0_121_2_5_3_58+0x22078
09 15a5ff4c 147342f6 05c162e8 000000c8 5376b2db version2_8_0_121_2_5_3_58+0x241cc
0a 15a5ff88 7dd7344d 00000000 15a5ffd4 7dea9802 version2_8_0_121_2_5_3_58+0x142f6
0b 15a5ff94 7dea9802 00000000 681c1d39 00000000 kernel32!BaseThreadInitThunk+0xe (FPO: [Non-Fpo])
0c 15a5ffd4 7dea97d5 14734210 00000000 00000000 ntdll!__RtlUserThreadStart+0x70 (FPO: [Non-Fpo])
0d 15a5ffec 00000000 14734210 00000000 00000000 ntdll!_RtlUserThreadStart+0x1b (FPO: [Non-Fpo])

Memory leak

generated the memory leak when read string from memory directly,the function is read_str()

群聊记录中wxid和sender填反的问题

{'content': '那你最后要给答案的', 'id': '5555', 'sender': 'ya_zhou_521', 'srvid': 1, 'time': '2020-05-06 12:10:48', 'typ
e': 1, 'wxid': '6622887723@chatroom'}
[2020-05-06 12:10:48] 6622887723@chatroom 在群聊 [xxxx] 里说 : "那你最后要给答案的"
{'content': '放出来不被人骂死', 'id': '5555', 'sender': 'ya_zhou_521', 'srvid': 1, 'time': '2020-05-06 12:11:09', 'type'
: 1, 'wxid': '6622887723@chatroom'}
[2020-05-06 12:11:09] 6622887723@chatroom 在群聊 [xxxx] 里说 : "放出来不被人骂死"
{'content': '啥玩意儿', 'id': '5555', 'sender': '6622887723@chatroom', 'srvid': 1, 'time': '2020-05-06 12:11:52', 'type'
: 1, 'wxid': 'myself'}
[2020-05-06 12:11:52] 对你说 : "啥玩意儿"

{'content': 'ctf比赛', 'id': '5555', 'sender': 'ya_zhou_521', 'srvid': 1, 'time': '2020-05-06 12:12:04', 'type': 1, 'wxi
d': '6622887723@chatroom'}
[2020-05-06 12:12:04] 6622887723@chatroom 在群聊 [xxxx] 里说 : "ctf比赛"

这是群聊中的一段聊天记录,其中“啥玩意儿”是我自己说的,感觉返回的数据里sender和wxid写反了,wxid应该是表示哪个会话,所以这里应该是群聊id,而sender是发言人,应该是我自己,也就是myself。所以这俩应该是反掉了

Hello ,发送微信失败!

我装了固定版本的微信,注入成功 链接websocket可以收到心跳消息,但是发送消息失败。
我起初怀疑是我的java 写的有问题,我用了好多测试网站都是没有成功发送微信消息。

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.