-
-
未解决 [求助]求助 利用objection绕过单向认证报错
-
发表于: 2023-6-14 17:00 5529
-
命令:objection -g com.test explore -s "android sslpinning disable"
具体报错:
Using USB device Pixel 3 XL
Agent injected and responds ok!
Running a startup command... android sslpinning disable
(agent) Registering job 901009. Type: android-sslpinning-disable
Traceback (most recent call last):
File "d:\python3.6\lib\runpy.py", line 193, in _run_module_as_main
(session detach message) process-terminated
"main", mod_spec)
File "d:\python3.6\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "D:\python3.6\Scripts\objection.exe__main.py", line 7, in <module>
File "d:\python3.6\lib\site-packages\click\core.py", line 1137, in call
return self.main(args, *kwargs)
File "d:\python3.6\lib\site-packages\click\core.py", line 1062, in main
rv = self.invoke(ctx)
File "d:\python3.6\lib\site-packages\click\core.py", line 1668, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "d:\python3.6\lib\site-packages\click\core.py", line 1404, in invoke
return ctx.invoke(self.callback, ctx.params)
File "d:\python3.6\lib\site-packages\click\core.py", line 763, in invoke
return callback(args, kwargs)
File "d:\python3.6\lib\site-packages\objection\console\cli.py", line 156, in explore
device_info = get_device_info()
File "d:\python3.6\lib\site-packages\objection\commands\device.py", line 41, in get_device_info
package_info = api.env_android()
File "d:\python3.6\lib\site-packages\frida\core.py", line 404, in method
return script._rpc_request('call', js_name, args, kwargs)
File "d:\python3.6\lib\site-packages\frida\core.py", line 26, in wrapper
return f(args, **kwargs)
File "d:\python3.6\lib\site-packages\frida\core.py", line 336, in _rpc_request
raise result[2]
frida.InvalidOperationError: script is destroyed
Asking jobs to stop...
Unloading objection agent...
Unable to run cleanups: script is destroyed
百度后,
如果报错:frida.InvalidOperationError: script is destroyed,则需要先退出app,再手动打开app等初始化完成,再次执行dump脚本,这样frida attach之后就不会出现这个问题。
但是后台一运行frida,app就无法初始化
求问各位大佬这个报错应该如何解决???
[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课