(venv3) geekgu:hack james$ objection -d -N -h 192.168.31.249 -p 9999 -g 'com.miui.voiceassist' explore
[debug] Agent path is: /Users/james/project/hack/venv3/lib/python3.7/site-packages/objection/agent.js
[debug] Injecting agent...
Using networked device @192.168.31.249:9999
[debug] Attempting to attach to process: com.miui.voiceassist
[debug] Process attached!
Traceback (most recent call last):
File "/Users/james/project/hack/venv3/bin/objection", line 10, in
sys.exit(cli())
File "/Users/james/project/hack/venv3/lib/python3.7/site-packages/click/core.py", line 764, in call
[incoming message] ------------------
"connection-terminated"
return self.main(*args, **kwargs)
File "/Users/james/project/hack/venv3/lib/python3.7/site-packages/click/core.py", line 717, in main
[./incoming message] ----------------
(session detach message) connection-terminated
rv = self.invoke(ctx)
File "/Users/james/project/hack/venv3/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/james/project/hack/venv3/lib/python3.7/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, ctx.params)
File "/Users/james/project/hack/venv3/lib/python3.7/site-packages/click/core.py", line 555, in invoke
return callback(*args, *kwargs)
File "/Users/james/project/hack/venv3/lib/python3.7/site-packages/objection/console/cli.py", line 114, in explore
agent.inject()
File "/Users/james/project/hack/venv3/lib/python3.7/site-packages/objection/utils/agent.py", line 203, in inject
self.script = session.create_script(source=self._get_agent_source())
File "/Users/james/project/hack/venv3/lib/python3.7/site-packages/frida/core.py", line 26, in wrapper
return f(args, kwargs)
File "/Users/james/project/hack/venv3/lib/python3.7/site-packages/frida/core.py", line 262, in create_script
return Script(self._impl.create_script(*args, **kwargs))
frida.TransportError: the connection is closed
(venv3) geekgu:hack james$ objection -d -g 'com.miui.voiceassist' explore
[debug] Agent path is: /Users/james/project/hack/venv3/lib/python3.7/site-packages/objection/agent.js
[debug] Injecting agent...
Using USB device MI 8
[debug] Attempting to attach to process: com.miui.voiceassist
[debug] Process attached!
Agent injected and responds ok!
geekgu:Downloads james$ adb shell dipper:/ $ su - root dipper:/ # cd /data/local/tmp/
dipper:/data/local/tmp # ./fs1500arm64 -l 0.0.0.0:9999 & dipper:/data/local/tmp # ps -ef | grep fs1500arm64
root 11442 11336 6 21:49:43 pts/3 00:00:00 fs1500arm64 -l 0.0.0.0:9999 root 11462 11336 2 21:49:48 pts/3 00:00:00 grep fs1500arm64
(venv3) geekgu:hack james$ frida-ps -ai -H 192.168.31.249:9999 PID Name Identifier
6413 Maaagisk ypklw.shcwc
5809 个性主题 com.android.thememanager
6063 全球上网 com.miui.virtualsim
2620 天气 com.miui.weather2
3106 小爱同学 com.miui.voiceassist
3215 手机管家 com.miui.securitycenter
7762 相机 com.android.camera
5522 设置 com.android.settings
6685 豌豆荚 com.wandoujia.phoenix2
(venv3) geekgu:hack james$ objection -d -N -h 192.168.31.249 -p 9999 -g 'com.miui.voiceassist' explore [debug] Agent path is: /Users/james/project/hack/venv3/lib/python3.7/site-packages/objection/agent.js [debug] Injecting agent... Using networked device @
sys.exit(cli())
File "/Users/james/project/hack/venv3/lib/python3.7/site-packages/click/core.py", line 764, in call
192.168.31.249:9999
[debug] Attempting to attach to process:com.miui.voiceassist
[debug] Process attached! Traceback (most recent call last): File "/Users/james/project/hack/venv3/bin/objection", line 10, indipper:/data/local/tmp # kill -9 11442 dipper:/data/local/tmp # ./fs1500arm64 &
[2] 12010 [1] - Killed ./fs1500arm64 -l 0.0.0.0:9999 dipper:/data/local/tmp # ps -ef | grep fs1500arm64
root 12010 11336 4 21:54:53 pts/3 00:00:00 fs1500arm64 root 12049 11336 3 21:55:03 pts/3 00:00:00 grep fs1500arm64
(venv3) geekgu:hack james$ objection -d -g 'com.miui.voiceassist' explore [debug] Agent path is: /Users/james/project/hack/venv3/lib/python3.7/site-packages/objection/agent.js [debug] Injecting agent... Using USB device
MI 8
[debug] Attempting to attach to process:com.miui.voiceassist
[debug] Process attached! Agent injected and responds ok!| ||| | ||| | . | . | | -| | | | . | | |__|| |||| ||||| ||(object)inject(ion) v1.11.0
[tab] for command suggestions com.miui.voiceassist on (Xiaomi: 9) [usb] #