rentzsch / mach_star

code injection and function overriding for Mac OS X
254 stars 46 forks source link

mach_inject on Sandbox Applications #3

Closed alexzielenski closed 13 years ago

alexzielenski commented 13 years ago

Hello, whenever I attempt a mach_inject_bundle on a sandboxed application console outputs, "deny file-read-data path/to/bundle'

Ideas?

albertz commented 13 years ago

That is because the sandbox denies the file read to the bundle. You cannot really work around the sandbox.

However, in most cases, the sandbox is setup in a way that it still can read from /System. So try to copy and load your bundle from there.

alexzielenski commented 13 years ago

Can anyone confirm this? I tried and it didn't work. Perhaps I am doing it incorrectly...

alexzielenski commented 13 years ago

Got it to work, nevermind. Thanks albertz