Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AXML uint8 array 第一个为 0 导致解析失败 #66

Closed
KEXUJIAN opened this issue Jul 12, 2021 · 1 comment
Closed

AXML uint8 array 第一个为 0 导致解析失败 #66

KEXUJIAN opened this issue Jul 12, 2021 · 1 comment
Assignees

Comments

@KEXUJIAN
Copy link

KEXUJIAN commented Jul 12, 2021

描述 bug
解析某些 apk 时发生错误,"Error: Parse AndroidManifest.xml error"

复现
工作原因无法提供 apk

预期表现
解析成功,拿到包名和应用名

请填写您的Node或浏览器版本:

  • [chrome 91.0.4472.114]

原因:
出错的包的 AXML 读取的 buffer 中的 chunkType 是 0,导致 chunkType 的校验未通过。
但是使用后端的反编译工具可以解析(用的应该就是 apktool)

@KEXUJIAN
Copy link
Author

此 APK 被加固过

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants