免费的企微框架

支持文本消息,图片消息,视频消息,文件消息。

其他可自行下载测试。

有兴趣可以进群交流。720192224。群内不定期开源气味hook源码

BOOL WxWorkSendData(string data)
{
WX_GETOBJDATA obj = { 0 };

//参数结构体获取call
DWORD callAdd1 = WxWorkWinBaseAddress + 0x3EFCA26;
//通用发送call,用来执行所有接口功能操作
DWORD callAdd2 = WxWorkWinBaseAddress + 0x34C560C; //声明一块内存

DWORD pushData = { 0 };

__asm {
push 0x68
call callAdd1
mov pushData, eax
add esp, 0x4;

lea eax, obj
push eax
call callAdd2
add esp, 0x4
}

DWORD dwData = getVariableAdd((DWORD)&data);
PWX_STRING pwStr = (PWX_STRING)dwData;
memset((void*)pushData, 0, 0x60);
PWX_LABELDATA wl = (PWX_LABELDATA)pushData;
wl->labelData = *pwStr;
wl->index1 = 3;
wl->index2 = 1;
wl->beginAdd = WxWorkWinBaseAddress + 0x4A3B53C;
wl->type1 = 1;
wl->type2 = 2;
wl->labelId = 14073751173597622;

WX_GETOBJDATA wg = { 0 };
wg.beginObj = (DWORD) & (wl->beginAdd);
wg.endObj = (DWORD) & (wl->data2);

PWX_LABEL pl = (PWX_LABEL)obj.beginObj;
pl->wg = wg;
pl->type = 1;

InviteUtileTwo((DWORD)&obj);

}