Dynamic library injection tool for macOS using Return-Oriented Programming (ROP) techniques.
sudo ./opainject <pid> /path/to/dylib
Injects a dynamic library into a running process by process ID.
Note: Target executable architecture must match dylib architecture.
Complete documentation, build instructions, and technical details available in the GitHub repository.
macOS port by: @nkhmelni
Based on: opainject by Lars Fröder (opa334)
Task port acquisition technique: Jonathan Levin’s PST2: Doing It Again
Copyright (c) 2022 Lars Fröder · Copyright (c) 2025 Nikita Hmelnitkii