iOS-messaging-tools icon indicating copy to clipboard operation
iOS-messaging-tools copied to clipboard

Got error while attach to USB

Open masbog opened this issue 6 years ago • 3 comments

Hi,

i try to attach on my iOS device (iOS 12.0), i change the frida session on python script like:

session = frida.get_usb_device().attach("imagent") #session = frida.attach("imagent")

Hooking -[MessageServiceSession handler:incomingMessage:...] @ 0x211ef60f9 {'type': 'error', 'description': 'Error: unable to intercept function at 0x211ef60f9; please file a bug', 'stack': 'Error: unable to intercept function at 0x211ef60f9; please file a bug\n at frida/runtime/core.js:387\n at /script1.js:70', 'fileName': 'frida/runtime/core.js', 'lineNumber': 387, 'columnNumber': 1} Press Ctrl-C to quit

masbog avatar Aug 08 '19 20:08 masbog

https://github.com/googleprojectzero/iOS-messaging-tools/pull/1/commits/710173bbf07e25bfdcbf58fa0e0bd00d66d2f570

ChiChou avatar Aug 09 '19 04:08 ChiChou

The offset is macOS dependent and not in any relation to your iOS version. what macOS are you running @masbog? This error usually means that the provided function offset was not found and therefore cannot be hooked.

0xfffffff0075e2040 avatar Jan 01 '20 18:01 0xfffffff0075e2040