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

Add option for attach by PID #114

Open
FrancYescO opened this issue Mar 4, 2024 · 0 comments
Open

Add option for attach by PID #114

FrancYescO opened this issue Mar 4, 2024 · 0 comments

Comments

@FrancYescO
Copy link

IDK Exactly why but attaching to an app is failing with

[x_x] Unable to find process with name MyApp. You need run app first.!!

just as fast fix, i've edited the all .attach method in hook.py file with hardcoded PID got via frida-ps -U and is working so seems, having an option to attach by PID (or get the PID via frida-ps -U as fallback?) can be useful

PS. also frida-trace -U -f net.myapp will crash with

Failed to attach: process with pid 7781 either refused to load frida-agent, or terminated during injection

so it's a more general frida issue

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

1 participant