objection patchapk在Unpacking位置报错怎么解决?
注入命令:objection patchapk -a arm64-v8a -s .\abc.apk
回显详情如下:
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.github.com:443
DEBUG:urllib3.connectionpool:https://api.github.com:443 "GET /repos/frida/frida/releases/latest HTTP/1.1" 200 None
INFO:root:Using latest Github gadget version: 16.5.1
Using latest Github gadget version: 16.5.1
INFO:root:Patcher will be using Gadget version: 16.5.1
Patcher will be using Gadget version: 16.5.1
INFO:root:Detected apktool version as: 2.9.3
Detected apktool version as: 2.9.3
INFO:root:Running apktool empty-framework-dir...
Running apktool empty-framework-dir...
INFO:root:I: Removing 1.apk framework file...
Press any key to continue . . .
I: Removing 1.apk framework file...
Press any key to continue . . .
INFO:root:Unpacking .\abc.apk
Unpacking .\abc.apk
Exception in thread Thread-8:
Traceback (most recent call last):
File "c:\users\wb222489\.pyenv\pyenv-win\versions\3.8.2\lib\threading.py", line 932, in _bootstrap_inner
self.run()
File "c:\users\wb222489\.pyenv\pyenv-win\versions\3.8.2\lib\threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "c:\users\wb222489\.pyenv\pyenv-win\versions\3.8.2\lib\subprocess.py", line 1366, in _readerthread
buffer.append(fh.read())
UnicodeDecodeError: 'gbk' codec can't decode byte 0x9d in position 694: illegal multibyte sequence
Traceback (most recent call last):
File "c:\users\wb222489\.pyenv\pyenv-win\versions\3.8.2\lib\runpy.py", line 193, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\users\wb222489\.pyenv\pyenv-win\versions\3.8.2\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\Users\wb222489\.pyenv\pyenv-win\versions\3.8.2\Scripts\objection.exe\__main__.py", line 7, in <module>
File "c:\users\wb222489\.pyenv\pyenv-win\versions\3.8.2\lib\site-packages\click\core.py", line 1157, in __call__
return self.main(*args, **kwargs)
File "c:\users\wb222489\.pyenv\pyenv-win\versions\3.8.2\lib\site-packages\click\core.py", line 1078, in main
rv = self.invoke(ctx)
File "c:\users\wb222489\.pyenv\pyenv-win\versions\3.8.2\lib\site-packages\click\core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "c:\users\wb222489\.pyenv\pyenv-win\versions\3.8.2\lib\site-packages\click\core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "c:\users\wb222489\.pyenv\pyenv-win\versions\3.8.2\lib\site-packages\click\core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "c:\users\wb222489\.pyenv\pyenv-win\versions\3.8.2\lib\site-packages\objection\console\cli.py", line 373, in patchapk
patch_android_apk(**locals())
File "c:\users\wb222489\.pyenv\pyenv-win\versions\3.8.2\lib\site-packages\objection\commands\mobile_packages.py", line 192, in patch_android_apk
patcher.inject_internet_permission()
File "c:\users\wb222489\.pyenv\pyenv-win\versions\3.8.2\lib\site-packages\objection\utils\patchers\android.py", line 428, in inject_internet_permission
if internet_permission in self._get_appt_output():
File "c:\users\wb222489\.pyenv\pyenv-win\versions\3.8.2\lib\site-packages\objection\utils\patchers\android.py", line 306, in _get_appt_output
o = delegator.run(self.list2cmdline([
File "c:\users\wb222489\.pyenv\pyenv-win\versions\3.8.2\lib\site-packages\delegator.py", line 320, in run
c.block()
File "c:\users\wb222489\.pyenv\pyenv-win\versions\3.8.2\lib\site-packages\delegator.py", line 238, in block
stdout, stderr = self.subprocess.communicate()
File "c:\users\wb222489\.pyenv\pyenv-win\versions\3.8.2\lib\subprocess.py", line 1024, in communicate
stdout, stderr = self._communicate(input, endtime, timeout)
File "c:\users\wb222489\.pyenv\pyenv-win\versions\3.8.2\lib\subprocess.py", line 1416, in _communicate
stdout = stdout
IndexError: list index out of range
INFO:root:Cleaning up temp files...
Cleaning up temp files...
页:
[1]