I am working on creating a Swift app for macOS Sierra. I would like to include an installation of Metasploit framework with my app. Installing this to macOS puts files in a few directories like /opt/.
How can I install bundle Metasploit with my app in such a way that it functions like a normal installation on macOS? I thought I could use App Sandbox to mimic /opt/ or other locations for my app. Is something like that possible? I also mentioned this issue here: Portable Metasploit Installation Thanks in advance.