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

[feature request] pause for N duration and resume automatically #1070

Open
rithvikvibhu opened this issue Oct 15, 2024 · 0 comments
Open

[feature request] pause for N duration and resume automatically #1070

rithvikvibhu opened this issue Oct 15, 2024 · 0 comments

Comments

@rithvikvibhu
Copy link

The current behaviour from what I understand is to pause loading indefinitely if on_load is wait (default), or to continue without pausing if it is resume: https://frida.re/docs/gadget/#listen

It would be nice to have another option that pauses for a defined duration and resume if no there's no connection.

This would allow starting apps with frida gadget for regular usage when the phone isn't connected.

Relevant code seems to be around here:

wait_for_resume_needed = true;
var listen_interaction = config.interaction as ListenInteraction;
if (listen_interaction != null && listen_interaction.on_load == ListenInteraction.LoadBehavior.RESUME) {
wait_for_resume_needed = false;
}
if (!wait_for_resume_needed)
resume ();

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

No branches or pull requests

2 participants
@rithvikvibhu and others