首页
社区
课程
招聘
[未解决,已结帖] [求助]使用objection hook ssl提示这个是咋回事呢 50.00雪花
发表于: 2022-10-29 14:52 6665

[未解决,已结帖] [求助]使用objection hook ssl提示这个是咋回事呢 50.00雪花

2022-10-29 14:52
6665

在模拟器上可以正常工作,换到真机就不行了,完整代码如下
插入代码:\Users\zh134>objection -g tv.danmaku.bili explore -s "android sslpinning disable"
Using USB device M2012K11C
Agent injected and responds ok!
Running a startup command... android sslpinning disable
(agent) Registering job 886621. Type: android-sslpinning-disable
Traceback (most recent call last):
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Scripts\objection-script.py", line 33, in <module>
sys.exit(load_entry_point('objection==1.11.0', 'console_scripts', 'objection')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1130, in call
return self.main(args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1055, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1404, in invoke
return ctx.invoke(self.callback,
ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 760, in invoke
return __callback(
args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Lib\site-packages\objection\console\cli.py", line 156, in explore
device_info = get_device_info()
^^^^^^^^^^^^^^^^^
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Lib\site-packages\objection\commands\device.py", line 41, in get_device_info
package_info = api.env_android()
^^^^^^^^^^^^^^^^^
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Lib\site-packages\frida\core.py", line 169, in method
return script._rpc_request("call", js_name, args,
kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Lib\site-packages\frida\core.py", line 76, in wrapper
return f(args, *kwargs)
^^^^^^^^^^^^^^^^^^
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Lib\site-packages\frida\core.py", line 368, in _rpc_request
raise result.error
frida.InvalidOperationError: script has been destroyed
Asking jobs to stop...
Unloading objection agent...
Unable to run cleanups: script is destroyed

 

C:\Users\zh134>objection -g tv.danmaku.bili explore -s "android sslpinning disable"
Using USB device M2012K11C
Agent injected and responds ok!
Running a startup command... android sslpinning disable
(agent) Registering job 773616. Type: android-sslpinning-disable
Traceback (most recent call last):
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Scripts\objection-script.py", line 33, in <module>
sys.exit(load_entry_point('objection==1.11.0', 'console_scripts', 'objection')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1130, in call
return self.main(args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1055, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1404, in invoke
return ctx.invoke(self.callback,
ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 760, in invoke
return __callback(
args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Lib\site-packages\objection\console\cli.py", line 156, in explore
device_info = get_device_info()
^^^^^^^^^^^^^^^^^
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Lib\site-packages\objection\commands\device.py", line 41, in get_device_info
package_info = api.env_android()
^^^^^^^^^^^^^^^^^
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Lib\site-packages\frida\core.py", line 169, in method
return script._rpc_request("call", js_name, args,
kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Lib\site-packages\frida\core.py", line 76, in wrapper
return f(args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Lib\site-packages\frida\core.py", line 368, in _rpc_request
raise result.error
frida.InvalidOperationError: script has been destroyed
Asking jobs to stop...
Unloading objection agent...
Unable to run cleanups: script is destroyed:\Users\zh134>objection -g tv.danmaku.bili explore -s "android sslpinning disable"
Using USB device M2012K11C
Agent injected and responds ok!
Running a startup command... android sslpinning disable
(agent) Registering job 886621. Type: android-sslpinning-disable
Traceback (most recent call last):
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Scripts\objection-script.py", line 33, in <module>
sys.exit(load_entry_point('objection==1.11.0', 'console_scripts', 'objection')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1130, in call
return self.main(
args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1055, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1404, in invoke
return ctx.invoke(self.callback,
ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 760, in invoke
return __callback(args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Lib\site-packages\objection\console\cli.py", line 156, in explore
device_info = get_device_info()
^^^^^^^^^^^^^^^^^
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Lib\site-packages\objection\commands\device.py", line 41, in get_device_info
package_info = api.env_android()
^^^^^^^^^^^^^^^^^
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Lib\site-packages\frida\core.py", line 169, in method
return script._rpc_request("call", js_name, args,
kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Lib\site-packages\frida\core.py", line 76, in wrapper
return f(
args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Lib\site-packages\frida\core.py", line 368, in _rpc_request
raise result.error
frida.InvalidOperationError: script has been destroyed
Asking jobs to stop...
Unloading objection agent...
Unable to run cleanups: script is destroyed

 

C:\Users\zh134>objection -g tv.danmaku.bili explore -s "android sslpinning disable"
Using USB device M2012K11C
Agent injected and responds ok!
Running a startup command... android sslpinning disable
(agent) Registering job 773616. Type: android-sslpinning-disable
Traceback (most recent call last):
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Scripts\objection-script.py", line 33, in <module>
sys.exit(load_entry_point('objection==1.11.0', 'console_scripts', 'objection')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1130, in call
return self.main(args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1055, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1404, in invoke
return ctx.invoke(self.callback,
ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 760, in invoke
return __callback(
args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Lib\site-packages\objection\console\cli.py", line 156, in explore
device_info = get_device_info()
^^^^^^^^^^^^^^^^^
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Lib\site-packages\objection\commands\device.py", line 41, in get_device_info
package_info = api.env_android()
^^^^^^^^^^^^^^^^^
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Lib\site-packages\frida\core.py", line 169, in method
return script._rpc_request("call", js_name, args,
kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Lib\site-packages\frida\core.py", line 76, in wrapper
return f(args, *kwargs)
^^^^^^^^^^^^^^^^^^
File "C:\Users\zh134\AppData\Local\Programs\Python\Python311\Lib\site-packages\frida\core.py", line 368, in _rpc_request
raise result.error
frida.InvalidOperationError: script has been destroyed
Asking jobs to stop...
Unloading objection agent...
Unable to run cleanups: script is destroyed

 


[招生]科锐逆向工程师培训(2024年11月15日实地,远程教学同时开班, 第51期)

收藏
免费 0
支持
分享
最新回复 (0)
游客
登录 | 注册 方可回帖
返回
//