You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The --uid flag introduced by #526 does not work. Maybe providing a process ID (--pid) flag could be an alternative?
Expected behavior
Attach to the application running under the UID indicated by the --uid flag.
Evidence / Logs / Screenshots
Running a command like: objection --uid 12 --name com.some.package start errors out with a stacktrace like the below. It appears that attach() doesn't actually support a UID parameter.
File "/home/me/objection/utils/agent.py", line 250, in attach
self.session = self.device.attach(self.pid, uid=self.config.uid)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/me/venv/lib/python3.11/site-packages/frida/core.py", line 86, in wrapper
return f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
TypeError: Device.attach() got an unexpected keyword argument 'uid'
Environment (please complete the following information):
Thanks, I do not currently have an environment where I can test this, but do you mind checking if frida/frida#1353 (comment) works within your environment in order to narrow down where the issue might be.
Describe the bug
The
--uid
flag introduced by #526 does not work. Maybe providing a process ID (--pid) flag could be an alternative?Expected behavior
Attach to the application running under the UID indicated by the
--uid
flag.Evidence / Logs / Screenshots
Running a command like:
objection --uid 12 --name com.some.package start
errors out with a stacktrace like the below. It appears thatattach()
doesn't actually support a UID parameter.Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: