启动objection时候报错,有没知道咋处理
frida hook正常的,手机启动也是没问题,报了这个错还是能正常使用objcetion hook,之前没出现这个,也不知道啥时候有的
Microsoft Windows [版本 10.0.19044.1706]
(c) Microsoft Corporation。保留所有权利。
C:\Users\Administrator>objection
Exception in thread Thread-1:
Traceback (most recent call last):
File "c:\program files\python\lib\threading.py", line 932, in _bootstrap_inner
self.run()
File "c:\program files\python\lib\threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "c:\program files\python\lib\site-packages\objection\utils\update_checker.py", line 83, in check_version
if not (cached_version_data()['last_check'] > datetime.now() - timedelta(hours=23)):
File "c:\program files\python\lib\site-packages\objection\utils\update_checker.py", line 34, in cached_version_data
data = json.load(f)
File "c:\program files\python\lib\json\__init__.py", line 293, in load
return loads(fp.read(),
File "c:\program files\python\lib\json\__init__.py", line 357, in loads
return _default_decoder.decode(s)
File "c:\program files\python\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "c:\program files\python\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Usage: objection [OPTIONS] COMMAND [ARGS]...
_ _ _ _
___| |_|_|___ ___| |_|_|___ ___
| . | . | | -_| _| _| | . | |
|___|___| |___|___|_| |_|___|_|_|
|___|(object)inject(ion)
Runtime Mobile Exploration
by: @leonjza from @sensepost
By default, communications will happen over USB, unless the --network option
is provided.
Options:
-N, --network Connect using a network connection instead of USB.
-h, --host TEXT [default: 127.0.0.1]
-p, --port INTEGER [default: 27042]
-ah, --api-host TEXT [default: 127.0.0.1]
-ap, --api-port INTEGER [default: 8888]
-g, --gadget TEXT Name of the Frida Gadget/Process to connect to.
[default: Gadget]
-S, --serial TEXT A device serial to connect to.
-d, --debug Enable debug mode with verbose output. (Includes
agent source map in stack traces)
--help Show this message and exit.
Commands:
api Start the objection API server in headless mode.
device-type Get information about an attached device.
explore Start the objection exploration REPL.
patchapk Patch an APK with the frida-gadget.so.
patchipa Patch an IPA with the FridaGadget dylib.
run Run a single objection command.
signapk Zipalign and sign an APK with the objection key.
version Prints the current version and exists.