Home

Awesome

Welcome To MachInjectSample

This project has been merged into the mach_inject repo.

MachInjectSample demonstrate the use of mach inject with the new SMJobBless API. By creating a privileged helper tool with the SMJobBless API, we can avoid asking an admin password each time we need to inject code into a process.

Description of contents

Before testing, you need to code-sign the app, injector and installer with the same certificate.

For more info about the SMJobBless API, see here. For more info on mach_inject, see here.