Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Tenfay committed Jun 2, 2024
1 parent 9ea051e commit fe81b96
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 31 deletions.
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,8 @@ xcuserdata/
*.xccheckout
*.xcscmblueprint

## MacOS
.DS_Store
*/.DS_Store
*/*/.DS_Store


## Obj-C/Swift specific
*.hmap
Expand Down
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
MIT License

Created by dyf on 2017/4/16. ( https://github.com/dgynfi/WeChat_tweak )
Copyright © 2017 dyf. All rights reserved.
Created by Tenfay on 2017/4/16.
Copyright © 2017 Tenfay. All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
12 changes: 6 additions & 6 deletions README-dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
Terminal 一般 Mac 电脑自带,打开 Terminal 执行后续操作。

<div align=left>
&emsp; <img src="https://github.com/chenxing640/WeChat_tweak/raw/master/images/terminal.png" width="20%" />
&emsp; <img src="https://github.com/itenfay/WeChat_tweak/raw/master/images/terminal.png" width="20%" />
</div>


Expand Down Expand Up @@ -101,7 +101,7 @@ tweak 定义是:对复杂的系统—通常是电子设备—进行微调或
如下图所示:

<div align=left>
&emsp; <img src="https://github.com/chenxing640/WeChat_tweak/raw/master/images/nic_create_tweak.png" width="60%" />
&emsp; <img src="https://github.com/itenfay/WeChat_tweak/raw/master/images/nic_create_tweak.png" width="60%" />
</div>

完成后会看到四个文件( make 后将生成 .theos 、obj 文件夹):**Makefile,&nbsp; wcodtplugin.plist,&nbsp; control,&nbsp; Tweak.xm**
Expand Down Expand Up @@ -142,7 +142,7 @@ after-install::
该文件中的 Bundles : 指定 bundle 为 tweak 的作用对象,也可添加多个 bundle ,指定多个为 tweak 作用对象。

<div align=left>
&emsp; <img src="https://github.com/chenxing640/WeChat_tweak/raw/master/images/tweak_plist.png" width="60%" />
&emsp; <img src="https://github.com/itenfay/WeChat_tweak/raw/master/images/tweak_plist.png" width="60%" />
</div>

- control
Expand Down Expand Up @@ -464,7 +464,7 @@ otool -l Payload/WeChat.app/WeChat | grep -B 2 crypt
cd ~/Desktop/
# 克隆 (Clone Repository)
git clone https://github.com/chenxing640/WeChat_tweak.git
git clone https://github.com/itenfay/WeChat_tweak.git
```

### 编译 tweak 项目
Expand All @@ -476,7 +476,7 @@ make
```

<div align=left>
&emsp; <img src="https://github.com/chenxing640/WeChat_tweak/raw/master/images/tweak_make.png" width="60%" />
&emsp; <img src="https://github.com/itenfay/WeChat_tweak/raw/master/images/tweak_make.png" width="60%" />
</div>

编译时出现的问题或错误,请查看上述 **Tweak** 小节中 **编译** 提及的 [问题描述和解决方法](#问题描述和解决方法)
Expand Down Expand Up @@ -509,7 +509,7 @@ cp WeChat_tweak/Dynamic\ library/dylib/libsubstrate.dylib ~/Desktop/
右键 wapleodtcorexpc.dylib ,选择显示简介,在名称与扩展名处将 wapleodtcorexpc.dylib 修改成 wapleodtcorexpc ,回车并移除。

<div align=left>
&emsp; <img src="https://github.com/chenxing640/WeChat_tweak/raw/master/images/rm_ext.png" width="60%" />
&emsp; <img src="https://github.com/itenfay/WeChat_tweak/raw/master/images/rm_ext.png" width="60%" />
</div>

同理,右键 libsubstrate.dylib ,选择显示简介,在名称与扩展名处将 libsubstrate.dylib 修改成 waplesubstrate ,回车并移除。
Expand Down
40 changes: 20 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ vi. 屏蔽消息和群消息,防止撤回消息
## QQ群 (ID:614799921)

<div align=left>
&emsp; <img src="https://github.com/chenxing640/WeChat_tweak/raw/master/images/g614799921.jpg" width="30%" />
&emsp; <img src="https://github.com/itenfay/WeChat_tweak/raw/master/images/g614799921.jpg" width="30%" />
</div>


Expand All @@ -44,34 +44,34 @@ vi. 屏蔽消息和群消息,防止撤回消息
- 插件设置

<div align=left>
&emsp; <img src="https://github.com/chenxing640/WeChat_tweak/raw/master/images/wcplugin_settings.png" width="30%" />&nbsp;
<img src="https://github.com/chenxing640/WeChat_tweak/raw/master/images/wcplugin_xwtx1.png" width="30%" />&nbsp;
<img src="https://github.com/chenxing640/WeChat_tweak/raw/master/images/wcplugin_xwtx2.png" width="30%" />
&emsp; <img src="https://github.com/itenfay/WeChat_tweak/raw/master/images/wcplugin_settings.png" width="30%" />&nbsp;
<img src="https://github.com/itenfay/WeChat_tweak/raw/master/images/wcplugin_xwtx1.png" width="30%" />&nbsp;
<img src="https://github.com/itenfay/WeChat_tweak/raw/master/images/wcplugin_xwtx2.png" width="30%" />
</div>

- 自动抢红包

<div align=left>
&emsp; <img src="https://github.com/chenxing640/WeChat_tweak/raw/master/images/wcplugin_redenv.gif" width="30%" />
&emsp; <img src="https://github.com/itenfay/WeChat_tweak/raw/master/images/wcplugin_redenv.gif" width="30%" />
</div>

- 屏蔽消息

<div align=left>
&emsp; <img src="https://github.com/chenxing640/WeChat_tweak/raw/master/images/wcplugin_pbqxx.png" width="30%" />&nbsp;
<img src="https://github.com/chenxing640/WeChat_tweak/raw/master/images/wcplugin_pbxx.png" width="30%" />
&emsp; <img src="https://github.com/itenfay/WeChat_tweak/raw/master/images/wcplugin_pbqxx.png" width="30%" />&nbsp;
<img src="https://github.com/itenfay/WeChat_tweak/raw/master/images/wcplugin_pbxx.png" width="30%" />
</div>

- 伪定位

<div align=left>
&emsp; <img src="https://github.com/chenxing640/WeChat_tweak/raw/master/images/fake_location.png" width="30%" />
&emsp; <img src="https://github.com/itenfay/WeChat_tweak/raw/master/images/fake_location.png" width="30%" />
</div>

- 防止撤回消息

<div align=left>
&emsp; <img src="https://github.com/chenxing640/WeChat_tweak/raw/master/images/prevent_msg_revoc.png" width="30%" />
&emsp; <img src="https://github.com/itenfay/WeChat_tweak/raw/master/images/prevent_msg_revoc.png" width="30%" />
</div>


Expand All @@ -91,44 +91,44 @@ vi. 屏蔽消息和群消息,防止撤回消息
- [010Editor 最新版 8.0.1 逆向分析](https://www.52pojie.cn/forum.php?mod=viewthread&tid=684119&page=)
- MachOView - 用于对 mach-o 文件分析的工具。
- DYFCodesign - 用于对 iOS app 进行脚本重签名。
- [ios-app-signer](https://github.com/chenxing640/OpenSource#MacOS) - 打包 ipa 与重签名图形化工具。
- [ios-app-signer](https://github.com/itenfay/OpenSource#MacOS) - 打包 ipa 与重签名图形化工具。
- iOSOpenDev - Xcode 增强工具,通过它生成用于注入的 dylib 库。建议用 theos 编译 tweak 项目生成注入的 dylib 库。
- [Resources](Resources) - AppIcon 目录 (带抢红包的Icon) 和 Audios 目录 (音频文件)。。
- [WeChatPluginDev](WeChatPluginDev/wapleodtcorexpc) - 微信插件 tweak 源码开发。


## 开发

喜欢开发学习的同学请移步[Here](https://github.com/chenxing640/WeChat_tweak/blob/master/README-dev.md)
喜欢开发学习的同学请移步[Here](https://github.com/itenfay/WeChat_tweak/blob/master/README-dev.md)


## 解压 ipa

解压 ipa ==> [Here](https://github.com/chenxing640/WeChat_tweak/blob/master/README-dev.md#解压-ipa)
解压 ipa ==> [Here](https://github.com/itenfay/WeChat_tweak/blob/master/README-dev.md#解压-ipa)


## 修改 app 配置

- 进入 WeChat 目录

<div align=left>
&emsp; <img src="https://github.com/chenxing640/WeChat_tweak/raw/master/images/show_wechatapp_dir.png" width="60%" />
&emsp; <img src="https://github.com/itenfay/WeChat_tweak/raw/master/images/show_wechatapp_dir.png" width="60%" />
</div>

> 注:右键 WeChat.app ,选择显示包内容,进入 WeChat 目录。
- 找出 Info.plist 文件

<div align=left>
&emsp; <img src="https://github.com/chenxing640/WeChat_tweak/raw/master/images/found_Info.plist.png" width="60%" />
&emsp; <img src="https://github.com/itenfay/WeChat_tweak/raw/master/images/found_Info.plist.png" width="60%" />
</div>

双击,默认 Xcode 打开,修改 Info.plist 中的 Bundle display name 和 Bundle identifier,将 WeChatBundleVersion 的 Value 修改成 Bundle version 的 Value,将 URL types -> URL identifier 修改成新的 Bundle identifier,删除 build_time, by, path, rev, tag, uuid, ver 等 Key。

- 删除 PlugIns 和 Watch 目录中的文件

<div align=left>
&emsp; <img src="https://github.com/chenxing640/WeChat_tweak/raw/master/images/del_files.png" width="60%" />
&emsp; <img src="https://github.com/itenfay/WeChat_tweak/raw/master/images/del_files.png" width="60%" />
</div>

- 删除 _CFBundleDisplayName
Expand Down Expand Up @@ -161,7 +161,7 @@ vi. 屏蔽消息和群消息,防止撤回消息
打开钥匙串访问

<div align=left>
&emsp; <img src="https://github.com/chenxing640/WeChat_tweak/raw/master/images/keychain_access.png" width="20%" />
&emsp; <img src="https://github.com/itenfay/WeChat_tweak/raw/master/images/keychain_access.png" width="20%" />
</div>

点击登录 -> 我的证书,找出要签名的证书,右击显示简介,找到常用名称,然后拷贝后面的字符串。
Expand Down Expand Up @@ -257,7 +257,7 @@ zip -r WeChat_705_New.ipa Payload/

2. Github下载:

[https://github.com/chenxing640/WeChat_tweak/tree/master/Hook-Tools/](https://github.com/chenxing640/WeChat_tweak/tree/master/Hook-Tools/)
[https://github.com/itenfay/WeChat_tweak/tree/master/Hook-Tools/](https://github.com/itenfay/WeChat_tweak/tree/master/Hook-Tools/)

将下载的 **PackageApplication** 执行以下命令,并设置可执行权限:

Expand Down Expand Up @@ -292,9 +292,9 @@ xcrun -sdk iphoneos PackageApplication -v Payload/WeChat.app -o ~/Desktop/WeChat
如果觉得这个插件对你有帮助 (帮你抢到了比之前更多的红包,帮你发在国外高大尚的朋友圈,帮你屏蔽了厌烦并叨扰的人和群,帮你不再错过任何消息,...) ,那么不妨请我喝杯**咖啡☕**

<div align=left>
&emsp; <img src="https://github.com/chenxing640/WeChat_tweak/raw/master/images/wechat_paymentcode.jpg" width="25%" />&nbsp;&nbsp;
<img src="https://github.com/chenxing640/WeChat_tweak/raw/master/images/wechat_apprcode.jpg" width="35%" />&nbsp;&nbsp;
<img src="https://github.com/chenxing640/WeChat_tweak/raw/master/images/alipay_paymentcode.jpg" width="25%" />
&emsp; <img src="https://github.com/itenfay/WeChat_tweak/raw/master/images/wechat_paymentcode.jpg" width="25%" />&nbsp;&nbsp;
<img src="https://github.com/itenfay/WeChat_tweak/raw/master/images/wechat_apprcode.jpg" width="35%" />&nbsp;&nbsp;
<img src="https://github.com/itenfay/WeChat_tweak/raw/master/images/alipay_paymentcode.jpg" width="25%" />
</div>


Expand Down

0 comments on commit fe81b96

Please sign in to comment.