WeChatFerry/spy/spy_types.h

94 lines
2.1 KiB
C
Raw Normal View History

2022-08-07 23:32:25 +08:00
#pragma once
2021-02-12 23:21:57 +08:00
#include "framework.h"
typedef struct UserInfoCall {
DWORD wxid;
DWORD nickName;
DWORD mobile;
2023-04-10 23:39:57 +08:00
DWORD home;
2021-02-12 23:21:57 +08:00
} UserInfoCall_t;
typedef struct RecvMsg {
DWORD hook; // Hook地址
DWORD call; // Call地址
DWORD type; // 消息类型地址
DWORD isSelf; // 是否自己发送标志地址
DWORD msgId; // 消息ID地址
DWORD msgXml; // 消息xml内容地址
DWORD roomId; // 群聊时为群ID私聊时为微信ID
2022-08-07 15:03:17 +08:00
DWORD wxId; // 私聊时为空群聊时为发送者微信ID
2021-02-12 23:21:57 +08:00
DWORD content; // 消息内容地址
2023-04-11 16:12:02 +08:00
DWORD thumb; // 缩略图
2023-04-10 23:11:54 +08:00
DWORD extra; // 附加数据
2021-02-12 23:21:57 +08:00
} RecvMsg_t;
2023-02-23 07:42:58 +08:00
typedef struct Sendfile {
2021-02-12 23:21:57 +08:00
DWORD call1;
DWORD call2;
DWORD call3;
2023-02-23 07:42:58 +08:00
} Sendfile_t;
2021-02-12 23:21:57 +08:00
2022-08-07 21:08:27 +08:00
typedef struct Contact {
DWORD base;
DWORD head;
DWORD wxId;
DWORD wxCode;
DWORD wxName;
DWORD wxGender;
DWORD wxCountry;
DWORD wxProvince;
DWORD wxCity;
} Contact_t;
2022-08-07 23:32:25 +08:00
typedef struct Sql {
DWORD exec;
DWORD base;
DWORD start;
DWORD end;
DWORD slot;
DWORD name;
} Sql_t;
2022-08-21 08:45:16 +08:00
typedef struct NewFriend {
DWORD call1;
DWORD call2;
DWORD handle;
} NewFriend_t;
2023-02-28 20:14:22 +08:00
typedef struct RoomMember {
DWORD call1;
DWORD call2;
DWORD call3;
} RoomMember_t;
2023-03-01 04:03:53 +08:00
typedef struct Xml {
DWORD call1;
DWORD call2;
DWORD call3;
DWORD call4;
DWORD param;
} Xml_t;
2021-02-12 23:21:57 +08:00
typedef struct WxCalls {
2023-02-23 07:42:58 +08:00
DWORD login; // 登录状态
UserInfoCall_t ui; // 用户信息
DWORD sendTextMsg; // 发送消息
RecvMsg_t recvMsg; // 接收消息
Sendfile_t sendImg; // 发送图片
Sendfile_t sendFile; // 发送文件
2023-03-01 04:03:53 +08:00
Xml_t sendXml; // 发送XML
2023-03-13 00:09:32 +08:00
Sendfile_t sendEmo; // 发送表情
2023-02-23 07:42:58 +08:00
Contact_t contact; // 获取联系人
Sql_t sql; // 执行 SQL
NewFriend_t anf; // 通过好友申请
2023-02-28 20:14:22 +08:00
RoomMember_t arm; // 添加群成员
2022-08-07 23:32:25 +08:00
} WxCalls_t;
2021-02-12 23:21:57 +08:00
2023-02-28 20:53:27 +08:00
typedef struct WxString {
2021-02-12 23:21:57 +08:00
wchar_t *text;
DWORD size;
DWORD capacity;
char fill[8];
2023-02-28 20:53:27 +08:00
} WxString_t;