-
Notifications
You must be signed in to change notification settings - Fork 855
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
[bug] Failed to connect to networked devices #674
Comments
jammy@WW-G18RJR3:~$ objection --debug -N --gadget xyz.abc -h 192.168.10.119 -p 1337 explore Please see another of my error when I am trying to connect via network |
try this: on device: root# /usr/sbin/frida-server -l 0.0.0.0 forwarding ssh connect to mobile: objection -N --gadget xxxxx explore |
I have already run the following code backend:
root# /usr/sbin/frida-server -l 0.0.0.0:1337
objection -N --gadget xxxxx -h 192.168.10.119 -p 1337 explore
Using networked device @
192.168.10.119:1337
Using networked device @
192.168.10.119:1337
Traceback (most recent call last):
File "/home/alvoo/.local/bin/objection", line 8, in
sys.exit(cli())
^^^^^
File "/home/alvoo/.local/lib/python3.11/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/alvoo/.local/lib/python3.11/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/home/alvoo/.local/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/alvoo/.local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/alvoo/.local/lib/python3.11/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/alvoo/.local/lib/python3.11/site-packages/objection/console/cli.py", line 114, in explore
agent.inject()
File "/home/alvoo/.local/lib/python3.11/site-packages/objection/utils/agent.py", line 202, in inject
session = self.get_session()
^^^^^^^^^^^^^^^^^^
File "/home/alvoo/.local/lib/python3.11/site-packages/objection/utils/agent.py", line 152, in get_session
self.session = self.device.attach(state_connection.gadget_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/alvoo/.local/lib/python3.11/site-packages/frida/core.py", line 86, in wrapper
return f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "/home/alvoo/.local/lib/python3.11/site-packages/frida/core.py", line 1010, in attach
return Session(self._impl.attach(self._pid_of(target), **kwargs)) # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
frida.TransportError: timeout was reached
The text was updated successfully, but these errors were encountered: