All Projects → chengciming → Wechatpc

chengciming / Wechatpc

Licence: other
PC微信hook源码,PC微信注入,逆向编程,可以制作微信机器人玩玩,仅供学习,请不要用于商业、违法途径,本人不对此源码造成的违法负责!

Projects that are alternatives of or similar to Wechatpc

Wechat tweak
♨️ iOS版功能最全的微信插件,支持最新版微信,具备自动抢红包,屏蔽消息和群消息,过滤特定的群聊,防止撤回消息,伪定位 (朋友圈和附近的人),修改微信运动步数和实时取景做聊天页的背景等功能。
Stars: ✭ 265 (+72.08%)
Mutual labels:  hook, wechat
Virtuallocation
利用Hook技术对APP进行虚拟定位,可修改微信、QQ、以及一些打卡APP等软件,随意切换手机所处位置!
Stars: ✭ 666 (+332.47%)
Mutual labels:  hook, wechat
Wechat Pc Hook Ws
微信PcHooker websocket api
Stars: ✭ 74 (-51.95%)
Mutual labels:  hook, wechat
Electronic Qq
[FREEZED]the electionic-QQ based on smart-qq & electronic-wechat written in Nodejs
Stars: ✭ 144 (-6.49%)
Mutual labels:  wechat
Imageviewer
A simple and customizable Android full-screen image viewer 一个简单且可自定义的Android全屏图像浏览器
Stars: ✭ 1,889 (+1126.62%)
Mutual labels:  wechat
Magento Chatbot
Magento Chatbot Integration with Telegram, Messenger, Whatsapp, WeChat, Skype and wit.ai.
Stars: ✭ 149 (-3.25%)
Mutual labels:  wechat
Reshade
A generic post-processing injector for games and video software.
Stars: ✭ 2,285 (+1383.77%)
Mutual labels:  hook
Wechat Django
WeChat-Django旨在为接入微信公众平台的django开发者提供便捷的微信功能封装及最基本的后台管理支持
Stars: ✭ 143 (-7.14%)
Mutual labels:  wechat
Hardcoder
Hardcoder is a solution which allows Android APP and Android System to communicate with each other directly, solving the problem that Android APP could only use system standard API rather than the hardware resource of system.
Stars: ✭ 1,930 (+1153.25%)
Mutual labels:  wechat
Wechat autojump game
用Golang实现微信跳一跳游戏自动玩
Stars: ✭ 148 (-3.9%)
Mutual labels:  wechat
Yii2 Wx
这可能是yii2中最好用的微信SDK🔥🔥🔥
Stars: ✭ 148 (-3.9%)
Mutual labels:  wechat
Mpeditor
微信markdown编辑器
Stars: ✭ 146 (-5.19%)
Mutual labels:  wechat
Pyhooked
Pure Python hotkey hook, with thanks to pyHook and pyhk
Stars: ✭ 150 (-2.6%)
Mutual labels:  hook
Wechatbotengine
基于微信网页版 HTTP 协议的机器人引擎(含一些机器人)。WeChat bot engine based on WeChat HTTP protocol of WeChat Web Edition, several bots included.
Stars: ✭ 145 (-5.84%)
Mutual labels:  wechat
Logrus Logstash Hook
ℹ️ Logstash hook for logrus
Stars: ✭ 150 (-2.6%)
Mutual labels:  hook
Miniprogram Foodmap
微信小程序 · 美食地图模板
Stars: ✭ 143 (-7.14%)
Mutual labels:  wechat
Gopay
golang语言实现的支付模块,支持支付宝app,支付宝网页版,微信app,微信公众号支付
Stars: ✭ 151 (-1.95%)
Mutual labels:  wechat
React Universal Hooks
🎉 React Universal Hooks : just use****** everywhere (Functional or Class Component). Support React DevTools!
Stars: ✭ 148 (-3.9%)
Mutual labels:  hook
Wechat Playground
🐳 WeChat Playground - 开源微信调试工具
Stars: ✭ 147 (-4.55%)
Mutual labels:  wechat
Wechat Api
🗯 wechat-api by java7.
Stars: ✭ 1,813 (+1077.27%)
Mutual labels:  wechat

PC端微信Hook源码

PC微信hook源码,仅供学习,请不要用于商业、违法途径,本人不对此源码造成的违法负责!

说明

请看完下面每一步说明与操作,可以进群咨询。

技术学习与交流群

  1. QQ群:147694968
  2. 说明:此群仅限学习和交流,无其他用处

目录说明

  1. WechatSetup:微信安装包,也可到官网下载对应版本安装包。
  2. WechatRobot:Hook端主程序源码目录,C++程序,编译后放到Bin目录下运行。
  3. WechatDll:注入库源码,C++程序,编译后放到Bin目录下运行。
  4. ServerPhp:服务端源码,PHP程序,wokerman框架v3.5,相关框架资料可以从官网查看。
  5. Web:web端源码,HTML5程序。
  6. Bin:Hook端和注入库编译后的存放与运行目录。
  7. PhpBin:PHP Windows运行环境,如果不会PHP安装的可以直接使用这个。

程序说明

  1. Hook原理:exe注入DLL到微信进程,实现对微信的消息拦截、方法调用。
  2. 程序语言:exe和DLL库是C++编写,服务端是PHP的workman框架编写,web端是HTML5编写。
  3. 限制:此程序仅限PC端微信2.8.0.121版本,需要其他版本则需要更新Hook偏移量。
  4. 升级:微信2.8.0.121升级到其他版本,可以借助《微信基址-2.8.0.121.txt》里面的特征码进行OD捕获偏移量。
  5. 实现的功能:点击这里查看

程序语言版本

  1. C++是基于VS2017开发,SDK版本:10.0.17763.0,工具集:v141,MFC:标准Window库
  2. PHP限制版本看workman官方v3.5版本限制,建议PHP7以上

环境

  1. 客户端:windows
  2. 服务端:windows or linux --> for PHP
  3. 通讯机制:WebSocket
  4. 通讯流程:WechatDll(注入到微信) <--> [WS] <--> WechatRobot(操作界面) <--> [WS] <--> ServerPhp(服务端) <--> [WS] <--> Web(HTML操作界面)

配置

服务端配置(ServerPhp)

  1. 配置文件:wechatPc/ServerPhp/Config/Config.php
  2. debug项为调试开关,开启将打印消息到屏幕
  3. listen项为Hook端通讯监听地址和端口,Hook端即为WechatRobot
  4. web_listen项为web端通讯监听端口
  5. worker项则为workman框架的配置,可以看官网解说

Hook端配置(WechatRobot --> Bin)

  1. 配置文件:wechatPc/Bin/Debug/Config.txt
  2. app_id、app_key为认证授权使用,未认证的不可通讯
  3. wesocket_server_address和wesocket_server_port为服务端通讯的IP和端口,对应服务端配置listen项,服务端即ServerPhp

web端配置(Web)

  1. 配置文件:
  2. 文件最后面找到:ws = new WebSocket("ws://127.0.0.1:5678");
  3. 将127.0.0.1:5678改为服务端IP和端口,对应服务端配置web_listen项,服务端即ServerPhp

启动

服务端启动

E:\git\wechatPc>
E:\git\wechatPc>cd ./ServerPhp
E:\git\ServerPhp>composer install  // 此操作是安装workman包(安装一次即可),不会安装composer的同学到群里下载vendor目录放进去
E:\git\ServerPhp>E:\git\wechatPc\PhpBin\php index.php start
----------------------- WORKERMAN -----------------------------
Workerman version:3.5.31          PHP version:7.2.25
------------------------ WORKERS -------------------------------
worker               listen                              processes status
Server:Wechat        websocket://0.0.0.0:8686            4         [ok]
[PID:1640 | 2020-09-06 08:53:28.985] Worker Started.
[PID:1640 | 2020-09-06 08:53:29.432] Transit Web Connect: ConnectId=1
[PID:1640 | 2020-09-06 08:53:31.056] Transit Wechat Connect: ConnectId=2

web端启动

1. 直接浏览器打开访问index.html
2. 打开后点击左下角图标,弹窗里面点击“新开一个”,exe将自动启动微信并且注入

Hook端启动

1. 环境:window环境下
2. 操作:点击运行wechatPc/Bin/Debug/WechatRobot.exe文件

使用说明

  1. exe和dll的操作界面是开发调试使用,非开发情况下不要操作。
  2. 使用web端操作,包括启动微信。

大佬,打个赏吧

微信打赏二维码 支付宝打赏二维码

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].