DYLD_INSERT_LIBRARIES not working on iOS 10.1.1?

Questions and Answers about all things *OS (macOS, iOS, tvOS, watchOS)

DYLD_INSERT_LIBRARIES not working on iOS 10.1.1?

Postby c69c73 » Tue Dec 20, 2016 4:55 pm

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?
Posts: 9
Joined: Sat Dec 17, 2016 9:49 am

Return to Questions and Answers

Who is online

Users browsing this forum: No registered users and 3 guests