frida / frida

Clone this repo to build Frida
https://frida.re
Other
15.7k stars 1.63k forks source link

Failed to spawn on iOS 16.4.1 #2507

Open icew4y opened 1 year ago

icew4y commented 1 year ago

iPhone 8 Plus iOS 16.4.1 Jailbreak: palera1n rootful Frida: 16.0.19

$ frida -U -f com.zimride.instant


/ | Frida 16.0.19 - A world-class dynamic instrumentation toolkit | (| | | Commands: // |_| help -> Displays the help system . . . . object? -> Display information about 'object' . . . . exit/quit -> Exit . . . . . . . . More info at https://frida.re/docs/home/ . . . . . . . . Connected to iOS Device (id=8de0c692b39b527232f01fd7ac25ce566e935259) Failed to spawn: failed to get the task for process 2368

redgoalsuk commented 1 year ago

same issue here

iOS 16.4.1, palera1n Frida 16.0.19, have tried versions going back to 15.2.0 and same issue:

____
/ _  |   Frida 16.0.19 - A world-class dynamic instrumentation toolkit

| (_| |

| Commands: // |_| help -> Displays the help system . . . . object? -> Display information about 'object' . . . . exit/quit -> Exit . . . . . . . . More info at https://frida.re/docs/home/ . . . . . . . . Connected to iPhone (id=0669722c61b5e614be5c403ed6eb52ea878e1e66) Failed to spawn: failed to get the task for process 466

any help on this?

brian-leidos commented 1 year ago

If you are looking to do this in a scriptable / automated way, a workaround:

  1. use ssh to run uiopen https://127.0.0.1 (this launches Safari)
  2. frida -F -U -q -l myscipt.js --eternalize attaches to frontmost app (Safari) and runs myscript.js myscript.js does this: LSApplicationWorkspace.defaultWorkspace().openApplicationWithBundleID_(the.app.you.wanted.to.spawn)
  3. Now your app is spawned and you can run frida against the frontmost app: frida -F -U or you can just attach to it by name: frida -U -n TheApp
Raj789-sec commented 8 months ago

any fix? i am getting the same error. IOS 16.4.7 rootfull pailrain