Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resume execution of swapned applications #8

Merged
merged 1 commit into from
Dec 31, 2021
Merged

Conversation

tux-mind
Copy link
Contributor

When the target isn't running yet, frida will spawn it in a suspended state.
When using the frida command, the --no-pause option will resume the application after loading the agent script.
To resemble the same semantic I added a call to ConsoleApplication#_resume() after the agent has notified the successful loading.
This shall not affect other scenarios as resuming an already running target shall do nothing, but I haven't tried that yet.

How to reproduce:

ssh -q root@iPhone killall Calculator
time xpcspy -U -f com.apple.calculator # this will terminate after 20 seconds, as the watchdog is killing apps that stay idle for that long unless are being debugged

Thank you very much for this great tool! Is of great inspiration and very useful for playing around with iOS :)
I hope this helps!

When the target isn't running yet, frida will spawn it in a suspended state.
When using the `frida` command, the `--no-pause` option will resume the application after loading the agent script.
To resemble the same semantic I added a call to `ConsoleApplication#_resume()` after the agent has notified the successful loading.
This shall not affect other scenarios as resuming an already running target shall do nothing, but I haven't tried that yet.

How to reproduce:
```
ssh -q root@iPhone killall Calculator
time xpcspy -U -f com.apple.calculator # this will terminate after 20 seconds, as the watchdog is killing apps that stay idle for that long unless are being debugged
```

Thank you very much for this great tool! Is of great inspiration and very useful for playing around with iOS :)
I hope this helps!
@hot3eed
Copy link
Owner

hot3eed commented Dec 31, 2021

Sweet, thank you! Sorry for taking so long, didn't have access to my machine for the last week. Merging this and cutting a new release.

@hot3eed hot3eed merged commit 8284e2d into hot3eed:main Dec 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants