Page 1 of 1

DYLD_INSERT_LIBRARIES not working on iOS 10.1.1?

PostPosted: Tue Dec 20, 2016 4:55 pm
by c69c73
I am running as root on iOS 10.1.1 using the exploit from Ian Beer. I am trying to inject my dylib into other apps using DYLD_INSERT_LIBRARIES.
The targeted app is launched but my dylib seems not to be executed. I don't see any sandbox logs in the Console. I don't see any logs from my dylib neither.
I tried on various simple apps with no success.

I am injecting using such command:
cp -rf myLib.dylib /private/var/containers/Bundle/Application/12345678-1234-1234-1234-123456789ABC/Target.app/myLib.dylib
cd /private/var/containers/Bundle/Application/12345678-1234-1234-1234-123456789ABC/Target.app/
DYLD_INSERT_LIBRARIES=myLib.dylib /private/var/containers/Bundle/Application/12345678-1234-1234-1234-123456789ABC/Target.app/Target &

Any idea?