## WeChat-tweak
iOS版功能最全的微信插件,支持最新版微信,具备自动抢红包,屏蔽消息和群消息,过滤特定的群聊,防止撤回消息,伪定位 (朋友圈和附近的人),修改微信运动步数和实时取景做聊天页的背景等功能。
[![License MIT](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](LICENSE)
## 插件特点
i. 原生体验
插件 UI 完美嵌入微信设置中,开启各功能后,所有执行的任务都会静默进行,不干扰微信的正常使用。
ii. 自由设置延迟抢红包时间
有效防止抢红包速度太快而被拉黑或踢出群聊。
iii. 设置防止同时抢多个红包
最大程度避免被系统检测出使用插件,红包抢得更安心。
iv. 设置过滤特定的群聊
防止落入家人好友群、点餐群或者公司群抢红包的尴尬境地。
v. 伪定位
自由修改手机定位,偶尔出个国,发个朋友圈,装个逼。
vi. 屏蔽消息和群消息,防止撤回消息
屏蔽讨厌的人和群的消息,让他们不再打扰你,需要时可关闭,重新接收他们的消息,防止撤回消息,让你不再错过任何信息。
## QQ群 (ID:614799921)
<div align=left>
  <img src="https://github.com/dgynfi/WeChat_tweak/raw/master/images/g614799921.jpg" width="30%" />
</div>
## Preview
- 插件设置
<div align=left>
  <img src="https://github.com/dgynfi/WeChat_tweak/raw/master/images/wcplugin_settings.png" width="30%" />
<img src="https://github.com/dgynfi/WeChat_tweak/raw/master/images/wcplugin_xwtx1.png" width="30%" />
<img src="https://github.com/dgynfi/WeChat_tweak/raw/master/images/wcplugin_xwtx2.png" width="30%" />
</div>
- 自动抢红包
<div align=left>
  <img src="https://github.com/dgynfi/WeChat_tweak/raw/master/images/wcplugin_redenv.gif" width="30%" />
</div>
- 屏蔽消息
<div align=left>
  <img src="https://github.com/dgynfi/WeChat_tweak/raw/master/images/wcplugin_pbqxx.png" width="30%" />
<img src="https://github.com/dgynfi/WeChat_tweak/raw/master/images/wcplugin_pbxx.png" width="30%" />
</div>
- 伪定位
<div align=left>
  <img src="https://github.com/dgynfi/WeChat_tweak/raw/master/images/fake_location.png" width="30%" />
</div>
- 防止撤回消息
<div align=left>
  <img src="https://github.com/dgynfi/WeChat_tweak/raw/master/images/prevent_msg_revoc.png" width="30%" />
</div>
## 基本原理
在 app 启动时,通过 dyld (the dynamic link editor) 加载我们注入的动态库,从而进行 hook ,而之所以能够执行注入的动态库,是因为使用了 mobilesubstrate 库,这个库能在程序运行的时候动态加载注入的动态库,而非越狱手机里面是没有的,所以我们需要直接将这个库打包进 ipa 中,使用它的 API 实现注入。mobilesubstrate 库在我的 [GitHub](Dynamic%20library/dylib ) 中有提供,即是 libsubstrate.dylib 。
## 打开终端
Terminal 一般 Mac 电脑自带,打开 Terminal 执行后续操作。
<div align=left>
  <img src="https://github.com/dgynfi/WeChat_tweak/raw/master/images/terminal.png" width="20%" />
</div>
## 安装 theos
theos 是一个越狱开发工具包,它可以生成 iOS app 以及 tweak 等程序的框架,并提供 makefile 来编译、打包和安装。
- 从 Github 下载 theos ,进行如下操作:
```
export THEOS=/opt/theos
rm -rf $THEOS # 如果之前已经安装过 theos,请先删除,然后下载最新版
sudo git clone --recursive https://github.com/theos/theos.git $THEOS
```
执行命令后,显示如下:
```
Cloning into '/opt/theos'...
remote: Enumerating objects: 18, done.
remote: Counting objects: 100% (18/18), done.
remote: Compressing objects: 100% (14/14), done.
remote: Total 8802 (delta 4), reused 9 (delta 4), pack-reused 8784
Receiving objects: 100% (8802/8802), 2.20 MiB | 9.00 KiB/s, done.
Resolving deltas: 100% (5467/5467), done.
Submodule 'vendor/dm.pl' (https://github.com/theos/dm.pl.git) registered for path 'vendor/dm.pl'
Submodule 'vendor/include' (https://github.com/theos/headers.git) registered for path 'vendor/include'
Submodule 'vendor/lib' (https://github.com/theos/lib.git) registered for path 'vendor/lib'
Submodule 'vendor/logos' (https://github.com/theos/logos.git) registered for path 'vendor/logos'
Submodule 'vendor/nic' (https://github.com/theos/nic.git) registered for path 'vendor/nic'
Cloning into '/opt/theos/vendor/dm.pl'...
remote: Enumerating objects: 142, done.
remote: Total 142 (delta 0), reused 0 (delta 0), pack-reused 142
Receiving objects: 100% (142/142), 54.20 KiB | 9.00 KiB/s, done.
Resolving deltas: 100% (72/72), done.
...
...
...
Submodule path 'vendor/include/rocketbootstrap/LightMessaging': checked out '496257b11c3e906333797639355db9a43015eb50'
Submodule path 'vendor/lib': checked out 'b1d502cc632ec349f8e2b3df9d7630bad64fd25e'
Submodule path 'vendor/logos': checked out 'a54760ea60acf45fa48267b9fb344c0317d9351c'
Submodule path 'vendor/nic': checked out '794d210f81198c6aef4f0ab8d04bd74ffe149f51'
```
- 配置 ldid
ldid 是用于对 iOS 可执行文件进行签名的工具,可以在越狱 iOS 中替换 Xcode 自带的签名工具。
从 [http://joedj.net/ldid](http://joedj.net/ldid) 下载,将其移动到 /opt/theos/bin 目录下,然后设置可执行权限。
```
# cd <下载ldid的目录>
cd ~/Downloads/
sudo mv ldid /opt/theos/bin
sudo chmod 777 /opt/theos/bin/ldid
```
- 配置环境变量
使用命令 `vi ~/.bash_profile` 或者 `open -e ~/.bash_profile` ,在 .bash_profile 文件的最后加入 (否则每次重启 Terminal 都要重新 export)
```
export PATH=/opt/theos/bin:$PATH
export THEOS=/opt/theos
```
保存并退出,使用命令 `source ~/.bash_profile` ,立即生效。
*PS: 也可以使用 [iOSOpenDev](http://iosopendev.com)*
iOSOpenDev 集成在 Xcode 中,提供了一些模板,可直接使用 Xcode 进行开发。只是这个工具停止更新,对高版本的 Xcode 不能很好地支持。本人安装遇到了许多问题,通过查阅许多的资料,最后在 Xcode 中显示了该工具。若安装失败,则参考 [iOSOpenDev Wiki](https://github.com/kokoabim/iOSOpenDev/wiki) 或者其它资料。
## tweak
### 何谓 tweak ?
tweak 定义是:对复杂的系统—通常是电子设备—进行微调或修改来增强其功能。而在 iOS 当中,tweak 是指那些能够增强其它进程功能的 dylib 。可以将 tweak 理解为一个外挂,只不过这个外挂是以动态链接库的方式注入到目标应用当中。我们已经很了解外挂其实就是用来做一些原本的应用无法做到的事情。
### 创建 tweak
使用 nic.pl 创建 tweak ,若提示无此命令,请根据上述步骤配置环境变量,或者不嫌麻烦使用 /opt/theos/bin/nic.pl ,根据提示选择 iphone/tweak ,接着分别输入:
- 项目名
- 该 deb 包的名字(类似 bundle identifier,此 bundle identifier 与要 hook 的 app 的 bundle identifier 不是同一个)
- 作者/维护者
- tweak 作用对象的 bundle identifier(比如微信为com.tencent.xin)
- tweak 安装完成后需要重启的应用名(比如微信为WeChat)
如下图所示:
<div align=left>
  <img src="https://github.com/dgynfi/WeChat_tweak/raw/master/images/nic_create_tweak.png" width="60%" />
</div>
完成后会看到四个文件( make 后将生成 .theos 、obj 文件夹):**Makefile, wcodtplugin.plist, control, Tweak.xm**。
- Makefile
工程用到的文件、框架、库等信息。该文件过于简单,还需要添加一些信息,如:<br />
指定处理器架构 `ARCHS = armv7 arm64` <br />
指定 SDK 版本 `TARGET = iphone:latest:8.0` <br />
导入所需的 framework 等。<br />
修改后的 Makefile 文件如下所示:
```
ARCHS = armv7 arm64
TARGET = iphone:latest:8.0
THEOS_MAKE_PATH = /opt/theos/makefiles
include $(THEOS_MAK
没有合适的资源?快使用搜索试试~ 我知道了~
WeChat_tweak::hot_springs:iOS版功能最全的微信插件,支持最新版微信,可以自动抢红包,屏蔽消息和群消息...
共87个文件
png:28个
h:12个
m:10个
4星 · 超过85%的资源 需积分: 45 14 下载量 53 浏览量
2021-02-04
09:56:46
上传
评论 4
收藏 34.28MB ZIP 举报
温馨提示
WeChat_tweak::hot_springs:iOS版功能最全的微信插件,支持最新版微信,可以自动抢红包,屏蔽消息和群消息,过滤特定的群聊,防止撤回消息,伪定位(朋友圈和附近的人),修改微信运动步数和实时取景做聊天页的背景等功能
资源推荐
资源详情
资源评论
收起资源包目录
WeChat_tweak-master.zip (87个子文件)
WeChat_tweak-master
Hook-Tools
yololib 46KB
DYFCodesign 2KB
MachOView.app
Contents
Resources
stop.png 1KB
greenApple.icns 329KB
redApple.icns 366KB
English.lproj
Preferences.nib 4KB
Credits.rtf 523B
MainMenu.nib 25KB
Layout.nib 19KB
InfoPlist.strings 92B
MacOS
MachOView 2.75MB
PkgInfo 8B
Info.plist 2KB
optool 151KB
class-dump 428KB
010Editor701.dmg 29.78MB
iOSOpenDev-1.6-2.pkg 20KB
PackageApplication 10KB
010EditorCode.txt 583B
dumpdecrypted.dylib 193KB
ldid 241KB
images
prevent_msg_revoc.png 43KB
found_Info.plist.png 72KB
nic_create_tweak.png 56KB
wcplugin_pbxx.png 37KB
prevent_msg_revoc_org.png 372KB
wcplugin_redenv.gif 1.64MB
fake_location.png 64KB
wcplugin_xwtx1_org.png 361KB
del_files.png 18KB
wcplugin_xwtx2_org.png 356KB
show_wechatapp_dir.png 44KB
wcplugin_pbqxx.png 44KB
wcplugin_settings.png 15KB
alipay_paymentcode.jpg 168KB
wcplugin_xwtx1.png 38KB
wechat_apprcode.jpg 113KB
g614799921.jpg 84KB
terminal.png 5KB
rm_ext.png 29KB
keychain_access.png 13KB
optool_install.png 11KB
wcplugin_xwtx2.png 39KB
tweak_make.png 82KB
tweak_plist.png 14KB
wcplugin_settings_org.png 251KB
LICENSE 1KB
Resources
Audios
waple_redenvelop_coming.wav 178KB
AppIcon
AppIcon60x60@2x.png 13KB
Icon@2x.png 12KB
AppIcon60x60@3x.png 23KB
AppIcon76x76~ipad.png 7KB
AppIcon76x76@2x~ipad.png 18KB
AppIcon83.5x83.5@2x~ipad.png 21KB
WeChatPluginDev
wapleodtcorexpc
control 196B
theos 10B
wapleodtcorexpc.plist 51B
src
WCPLSettingViewController.h 221B
WCPLRedEnvelopTaskManager.h 432B
WCPLFuncService.h 2KB
WCPLRedEnvelopParamQueue.m 1KB
WCPLBaseViewController.h 424B
WCPLMultiSelectGroupsViewController.h 528B
WCPLReceiveRedEnvelopOperation.m 2KB
WCPLSettingViewController.m 14KB
WeChatRedEnvelopParam.m 607B
WCPLRedEnvelopConfig.h 1KB
WeChatRedEnvelopParam.h 738B
WCPLRedEnvelopTaskManager.m 1KB
WCPLMultiSelectGroupsViewController.m 4KB
WCPLBaseViewController.m 2KB
WCPLAVManager.m 4KB
WCPLAVManager.h 340B
WCPLFuncService.m 1KB
Tweak.xm 18KB
WCPLReceiveRedEnvelopOperation.h 346B
WeChatRedEnvelop.h 13KB
WCPLRedEnvelopParamQueue.h 400B
WCPLRedEnvelopConfig.m 6KB
WCPLNewFuncAddition.h 2KB
Makefile 911B
Dynamic library
modify
wapleodtcorexpc 216KB
waplesubstrate 266KB
dylib
libsubstrate.dylib 266KB
wapleodtcorexpc.dylib 408KB
.gitignore 1KB
README.md 35KB
共 87 条
- 1
资源评论
- 2301_801959972024-03-02使用说明呢,怎么安装
- dlj92252021-08-04用户下载后在一定时间内未进行评价,系统默认好评。
HMI前线
- 粉丝: 22
- 资源: 4590
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功