its-a-feature / SwiftInMemoryLoading

Swift implementation of in-memory Mach-O loading on macOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SwiftInMemoryLoading

Swift implementation of in-memory Mach-O execution. Works on Big Sur and Monterey. It should be noted that this is not truly file-less on macOS Monterey (see blogpost).

  • ./SwiftInMemoryLoading /full/path/to/binary arg1 arg2 arg3

Blogpost

Example Usage

Example

Credit

About

Swift implementation of in-memory Mach-O loading on macOS


Languages

Language:C 48.3%Language:Swift 37.4%Language:Objective-C 14.4%