[why?]
objection offer the networked connection mode, when I try, always failed.
objection -N -h 192.168.0.107 -p 27043 -g org.xxx explore -q
Something wrong about that:
Using networked device @`192.168.0.107:27043`
[debug] Attempting to attach to process: `org.binguo.PCBrowser12`
Traceback (most recent call last):
File "/usr/local/bin/objection", line 8, in <module>
sys.exit(cli())
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/objection/console/cli.py", line 114, in explore
agent.inject()
File "/usr/local/lib/python3.8/site-packages/objection/utils/agent.py", line 202, in inject
session = self.get_session()
File "/usr/local/lib/python3.8/site-packages/objection/utils/agent.py", line 152, in get_session
self.session = self.device.attach(state_connection.gadget_name)
File "/usr/local/lib/python3.8/site-packages/frida/core.py", line 86, in wrapper
return f(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/frida/core.py", line 994, in attach
return Session(self._impl.attach(self._pid_of(target), **kwargs)) # type: ignore
File "/usr/local/lib/python3.8/site-packages/frida/core.py", line 1108, in _pid_of
return self.get_process(target).pid
File "/usr/local/lib/python3.8/site-packages/frida/core.py", line 86, in wrapper
return f(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/frida/core.py", line 883, in get_process
for process in self._impl.enumerate_processes()
frida.TransportError: connection closed
[ENV]
frida: 16.2.2
frida-tools: 13.7.1
objection: 1.11.0
FridaGadget: 14.2.18
❗️must noticed that: I set custom fridagadget.config according to official tutorial, content is like this⬇️
{
"interaction": {
"type": "listen",
"address": "0.0.0.0",
"port": 27043,
"on_port_conflict": "fail",
"on_load": "resume"
},
"code_signing":"required"
}
[issue]
Similar issues
#674
Expected behavior
If that mode is really available in some jailed device, not jailbroken, I would expected that works normally as USB mode.
But if it is just applied to jailbroken device, please confirm that and tell me.
Additional context
Thx.
[why?]
objection offer the networked connection mode, when I try, always failed.
Something wrong about that:
[ENV]
frida: 16.2.2
frida-tools: 13.7.1
objection: 1.11.0
FridaGadget: 14.2.18
❗️must noticed that: I set custom fridagadget.config according to official tutorial, content is like this⬇️
[issue]
Similar issues
#674
Expected behavior
If that mode is really available in some jailed device, not jailbroken, I would expected that works normally as USB mode.
But if it is just applied to jailbroken device, please confirm that and tell me.
Additional context
Thx.