All Projects → wzqcongcong → Macsubstrate

wzqcongcong / Macsubstrate

Licence: mit
Substrate for macOS

Projects that are alternatives of or similar to Macsubstrate

Highlightjs Line Numbers.js
Line numbering plugin for Highlight.js
Stars: ✭ 323 (-15.22%)
Mutual labels:  plugin
Chrome Vs Code
A web browser integrated in VS Code editor tabs. ☢️ experimental ☢️
Stars: ✭ 351 (-7.87%)
Mutual labels:  plugin
Hyper Statusline
Status Line Plugin for Hyper
Stars: ✭ 366 (-3.94%)
Mutual labels:  plugin
Klakspout
Spout plugin for Unity
Stars: ✭ 332 (-12.86%)
Mutual labels:  plugin
Findcrypt Ghidra
IDA Pro's FindCrypt ported to Ghidra, with an updated and customizable signature database
Stars: ✭ 340 (-10.76%)
Mutual labels:  plugin
Keepass Yet Another Favicon Downloader
Yet Another Favicon Downloader for KeePass 2.x
Stars: ✭ 354 (-7.09%)
Mutual labels:  plugin
Vim Flog
A lightweight and powerful git branch viewer for vim.
Stars: ✭ 314 (-17.59%)
Mutual labels:  plugin
Vue Acl
Access Control List plugin for VueJS 2.0
Stars: ✭ 376 (-1.31%)
Mutual labels:  plugin
Luffy
Android字节码插件,编译期间动态修改代码,改造添加全埋点日志采集功能模块,对常见控件进行监听处理
Stars: ✭ 347 (-8.92%)
Mutual labels:  plugin
Vue Wechat Title
为Vuejs设计的动态设置微信网页中标题的指令
Stars: ✭ 367 (-3.67%)
Mutual labels:  plugin
Huebee
🐝 1-click color picker
Stars: ✭ 332 (-12.86%)
Mutual labels:  plugin
Zoomove
🔍 🎆 Enlarges the image with the mouse hover and move
Stars: ✭ 339 (-11.02%)
Mutual labels:  plugin
Androidlocalizeplugin
🌏 Android localization plugin. support multiple languages, no need to apply for key.
Stars: ✭ 352 (-7.61%)
Mutual labels:  plugin
Xd To Flutter
Xd to Flutter
Stars: ✭ 326 (-14.44%)
Mutual labels:  plugin
Slimefun4
Slimefun 4 - A unique Spigot/Paper plugin that looks and feels like a modpack. We've been giving you backpacks, jetpacks, reactors and much more since 2013.
Stars: ✭ 369 (-3.15%)
Mutual labels:  plugin
Hexo Generator Search
A plugin to generate search data for Hexo.
Stars: ✭ 318 (-16.54%)
Mutual labels:  plugin
Apkmultichannelplugin
[Deprecated] 🚀 Android 多渠道打包的 Android Studio / IDEA 插件
Stars: ✭ 352 (-7.61%)
Mutual labels:  plugin
Macos headers
📚 A consistently maintained dump of most macOS Headers
Stars: ✭ 374 (-1.84%)
Mutual labels:  plugin
Miox
Modern infrastructure of complex SPA
Stars: ✭ 374 (-1.84%)
Mutual labels:  plugin
Kak Lsp
Kakoune Language Server Protocol Client
Stars: ✭ 363 (-4.72%)
Mutual labels:  plugin

 macSubstrate - Substrate for macOS

macSubstrate

macSubstrate is a platform tool for interprocess code injection on macOS, with the similar function to Cydia Substrate on iOS. Using macSubstrate, you can inject your plugins (.bundle or .framework) into a mac app (including sandboxed apps) to tweak it in the runtime.

  • All you need is to get or create plugins for your target app.

  • No trouble with modification and codesign for the original target app.

  • No more work after the target app is updated.

  • Super easy to install or uninstall a plugin.

  • Loading plugins automatically whenever the target app is relaunched.

  • Providing a GUI app to make injection much easier.


Prepare

  • Disable SIP

  • Why should disable SIP

    System Integrity Protection is a new security policy that applies to every running process, including privileged code and code that runs out of the sandbox. The policy extends additional protections to components on disk and at run-time, only allowing system binaries to be modified by the system installer and software updates. Code injection and runtime attachments to system binaries are no longer permitted.


Usage

  1. download macSubstrate.app, put into /Applications and launch it.

    StatusBar

  2. grant authorization if needed.

  3. install a plugin by importing or dragging into macSubstrate.

    ToInstall

  4. launch the target app.

    step 3 and step 4 can be switched

    Once a plugin is installed by macSubstrate, it will take effect immediately. But if you want it to work whenever the target app is relaunched or macOS is restarted, you need to keep macSubstrate running and allow it to automatically launch at login.

  5. uninstall a plugin when you do not need it anymore.

    Installed


Plugin

macSubstrate supports plugins of .bundle or .framework, so you just need to create a valid .bundle or .framework file. The most important thing is to add a key macSubstratePlugin into the info.plist, with the dictionary value:

Key Value
TargetAppBundleID the target app's CFBundleIdentifier, this tells macSubstrate which app to inject.
Description brief description of the plugin
AuthorName author name of the plugin
AuthorEmail author email of the plugin

Please check the demo plugins demo.bundle and demo.framework for details.

Xcode Templates

macSubstrate also provides Xcode Templates to help you create plugins conveniently:

  1. ln -fhs ./macSubstratePluginTemplate ~/Library/Developer/Xcode/Templates/macSubstrate\ Plugin

  2. Launch Xcode, and there will be 2 new plugin templates for you.

My Plugins

I also make a plugin for WeChat:

  • Send you a notification when you receive a HongBao message.

  • Send you a notification when you receive a message containing customized keywords.

  • Anti-recall message and send you a notification.

Welcome pull requests of your own plugins to Plugins :)


Security

  1. SIP is a new security policy on macOS, which will help to keep you away from potential security risk. Disable it means you will lose the protection from SIP.
  2. If you install a plugin from a developer, you should be responsible for the security of the plugin. If you do not trust it, please do not install it. macSubstrate will help to verify the code signature of a plugin, and I suggest you to scan it using VirusTotal. Anyway, macSubstrate is just a tool, and it is your choice to decide what plugin to install.

License

macSubstrate is released under the MIT license. See LICENSE for details.


Thanks

macSubstrate is inspired and created with the help of following projects:

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].