吾爱破解 - 52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 409|回复: 0
上一主题 下一主题
收起左侧

[Android 求助] objection patchapk在Unpacking位置报错怎么解决?

[复制链接]
跳转到指定楼层
楼主
HustleNbustle 发表于 2024-9-18 10:46 回帖奖励
注入命令:
objection patchapk -a arm64-v8a -s .\abc.apk

回显详情如下:
[PowerShell] 纯文本查看 复制代码
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[0]
IndexError: list index out of range
INFO:root:Cleaning up temp files...
Cleaning up temp files...

发帖前要善用论坛搜索功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。

您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则

返回列表

RSS订阅|小黑屋|处罚记录|联系我们|吾爱破解 - LCG - LSG ( 京ICP备16042023号 | 京公网安备 11010502030087号 )

GMT+8, 2024-12-13 23:55

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表