Skip to content

NKR00711/InjectHub

Repository files navigation

Preview

InjectHub

English

GitHub Stars GitHub Forks Contributors
Contact on Telegram Join on Telegram Channel Join Telegram Group

Introduction

InjectHub is a powerful macOS utility designed to inject dynamic libraries (.dylib) into apps or binaries with ease. It provides a clean, native UI built using Swift and SwiftUI, offering tools for developers, researchers, and enthusiasts who need flexible and safe binary injection workflows.


🎯 Features

  • 💉 One-Click dylib Injection
    Select a .dylib and a target app/binary — InjectHub handles the rest.

  • 🧠 Auto Target Detection
    Automatically locates executable files inside .app bundles for injection.

  • 🗃 Saved Apps Panel
    Save your injected apps with metadata like Bundle ID, paths, and dylib info. Easily reload configurations with one click.

  • 📋 Live Console Logs
    See real-time feedback of every operation with options to copy or clear logs.

  • 🧪 Advanced Settings

    • Strip Code Signature
    • Skip Backup
    • Dummy Sign
    • Auto Dequarantine
  • 📦 Backup & Restore
    InjectHub creates backups before modifying targets. Restore anytime with a single click.

  • 🔄 Update System
    Built-in update checker with support for direct .app updates hosted online (e.g. GitHub).


🛠 Requirements

  • macOS 14.0+
  • Inserted dylibs must be compatible with the target architecture

📦 Installation

🔹 Option 1: Using .dmg Installer (Recommended Method)

  1. Download the latest .dmg from the Releases page.
  2. Open the .dmg — a window will appear.
  3. Double-click install.sh inside the DMG to Install.

🔹 Option 2: Using .zip Package (Minimal Download)

  1. Download the .zip file from the Releases page.

  2. Unzip it — you'll get InjectHub.app.

  3. Move InjectHub.app to /Applications.

  4. If macOS shows a security warning on first launch, run this command in Terminal to bypass Gatekeeper & sign the app:

    xattr -cr /Applications/InjectHub.app
    codesign -f -s - --deep /Applications/InjectHub.app

✅ Notes

  • xattr -cr removes the "quarantine" flag that macOS adds when downloading unsigned apps.
  • codesign -f -s - applies an ad-hoc signature so macOS accepts the app for local use.
  • You only need to do this once per download.

📋 Quick Usage

  1. Open the InjectHub application.
  2. Select App/File to Inject.
  3. Select Dylib File.
  4. Click on Inject.
  5. Done ✅.

🖼 Screenshots

Launch App Selected

🙏 Acknowledgements

Thanks to the following amazing projects that made InjectHub possible:

  • insert_dylib — A utility to inject a dylib into a Mach-O binary.
  • marlkiller — Useful macOS reverse engineering tools and inspiration.
  • InjectX — an application injection tool designed for macOS.

About

A MacOS GUI program that injects dylib into apps & binaries

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •