{"id":14989987,"url":"https://github.com/greatfar/wechathelper","last_synced_at":"2025-04-12T02:03:32.947Z","repository":{"id":41503454,"uuid":"500735439","full_name":"Greatfar/WeChatHelper","owner":"Greatfar","description":"wechat hook, wechat helper, wechat tools, dll injection, PC微信HOOK, 微信加粉计数器","archived":false,"fork":false,"pushed_at":"2022-12-07T12:29:49.000Z","size":877,"stargazers_count":37,"open_issues_count":1,"forks_count":14,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T02:03:13.630Z","etag":null,"topics":["dll-injection","libcurl","mfc","wechat-hook"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Greatfar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-06-07T07:30:37.000Z","updated_at":"2025-03-05T02:35:39.000Z","dependencies_parsed_at":"2023-01-24T17:15:24.969Z","dependency_job_id":null,"html_url":"https://github.com/Greatfar/WeChatHelper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Greatfar%2FWeChatHelper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Greatfar%2FWeChatHelper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Greatfar%2FWeChatHelper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Greatfar%2FWeChatHelper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Greatfar","download_url":"https://codeload.github.com/Greatfar/WeChatHelper/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248505863,"owners_count":21115354,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dll-injection","libcurl","mfc","wechat-hook"],"created_at":"2024-09-24T14:19:16.868Z","updated_at":"2025-04-12T02:03:32.919Z","avatar_url":"https://github.com/Greatfar.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 前言\n\n* 微信助手（微信加粉计数器），把客服加好友信息传到服务器，用于统计加粉数量，对客服微信进行监管（防止客服跳单）\n\n* 当前适配 [微信 for windows 3.6.0.18](https://pc.weixin.qq.com/)\n\n## 项目简介\n\n* 编译环境为 [Visual Studio 2022](https://visualstudio.microsoft.com/zh-hans/) ， Visual Studio 2017 以上也可以（根据VS打开时的提示切换SDK依赖，或安装对应的 [Windows SDK 10.0.19041.0](https://developer.microsoft.com/zh-cn/windows/downloads/sdk-archive/) )\n\n* WeChatHelper.exe 为 [MFC 桌面应用程序](https://docs.microsoft.com/zh-cn/cpp/mfc/mfc-desktop-applications?view=msvc-170) , 需要在安装 `visual studio` 时，勾选MFC（可选安装项），或者在安装VS后，使用 `Visual Studio Installer` 安装 `适用于 v143 生成工具的 c++ 14.30 (17.0) MFC`\n\n* 网络请求基于 [libcurl 7.83.1](https://curl.se/)\n\n* JSON解析基于 [Tencent/rapidjson](https://github.com/Tencent/rapidjson/)\n\n* 本解决方案，包含2个project（WeChatHelper 和 WeChatTools）\n\u003e WeChatHelper 为MFC窗口程序，负责提供用户操作界面。\n WeChatTools 为 Win32 DLL 工程，最终编译成 WeChatTools.dll ，由 WeChatHelper.exe 把它注入到微信进程， 对 微信 for windows 进行 HOOK 操作。\n\n* WeChatHelper.exe 和 WeChatTools.dll 之间采用 [WM_COPYDATA](https://docs.microsoft.com/zh-cn/cpp/mfc/reference/cwnd-class?view=msvc-170#oncopydata) 的方式（windows message 消息机制）进行进程间通讯。\n\n* 由于使用了内联汇编，`debug` 和 `release` 都需要使用 `x86` 模式进行编译，不要使用 `x64`，否则会报错 `使用了非标准扩展不支持在此结构上使用_asm关键字`\n\n![_asm](assets/asm.png)\n\n* 运行环境，Visual C++ 桌面开发\n\n![_asm](assets/dev.png)\n\n## 效果演示\n\n将 WeChatHelper.exe 、 WeChatTools.dll 、libcurl.dll 、config.ini 放在同一个目录下，打开 WeChatHelper.exe 会自动唤起微信，登录微信即可\n\n![1563680573456](assets/main.png)\n\n## 声明\n\n**本项目仅供技术研究，请勿用于非法用途，如有任何人利用此项目做非法事情，均与作者无关，特此声明**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreatfar%2Fwechathelper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgreatfar%2Fwechathelper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreatfar%2Fwechathelper/lists"}