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

Decompilation failed, please submit error information at #38

Open
qySec opened this issue Aug 29, 2023 · 1 comment
Open

Decompilation failed, please submit error information at #38

qySec opened this issue Aug 29, 2023 · 1 comment

Comments

@qySec
Copy link

qySec commented Aug 29, 2023

反编译失败:
Exception in thread "main" java.lang.NullPointerException
at java.util.regex.Matcher.getTextLength(Unknown Source)
at java.util.regex.Matcher.reset(Unknown Source)
at java.util.regex.Matcher.(Unknown Source)
at java.util.regex.Pattern.matcher(Unknown Source)
at brut.androlib.res.decoder.AndroidManifestResourceParser.isNumericStringMetadataAttributeValue(AndroidManifestResourceParser.java:56)
at brut.androlib.res.decoder.AndroidManifestResourceParser.getAttributeValue(AndroidManifestResourceParser.java:41)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValue(XmlPullParserDelegate.java:69)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartTag(StaticXmlSerializerWrapper.java:267)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(StaticXmlSerializerWrapper.java:211)
at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamDecoder.java:80)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:139)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decodeManifest(XmlPullStreamDecoder.java:151)
at brut.androlib.res.decoder.ResFileDecoder.decodeManifest(ResFileDecoder.java:159)
at brut.androlib.res.AndrolibResources.decodeManifestWithResources(AndrolibResources.java:193)
at brut.androlib.Androlib.decodeManifestWithResources(Androlib.java:141)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:109)
at brut.apktool.Main.cmdDecode(Main.java:175)
at brut.apktool.Main.main(Main.java:79)
[-] Decompilation failed, please submit error information at https://github.com/kelvinBen/AppInfoScanner/issues
Traceback (most recent call last):
File "D:\sectools\01漏洞分析\AppInfoScanner-master\app.py", line 100, in
main()
File "D:\sectools\01漏洞分析\AppInfoScanner-master\app.py", line 96, in main
cli()
File "C:\Users\bqc\AppData\Roaming\Python\Python311\site-packages\click\core.py", line 829, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\bqc\AppData\Roaming\Python\Python311\site-packages\click\core.py", line 782, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "C:\Users\bqc\AppData\Roaming\Python\Python311\site-packages\click\core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\bqc\AppData\Roaming\Python\Python311\site-packages\click\core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\bqc\AppData\Roaming\Python\Python311\site-packages\click\core.py", line 610, in invoke
return callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\sectools\01漏洞分析\AppInfoScanner-master\app.py", line 44, in android
raise e
File "D:\sectools\01漏洞分析\AppInfoScanner-master\app.py", line 42, in android
BaseTask("Android", inputs, rules, sniffer, threads, package).start()
File "D:\sectools\01漏洞分析\AppInfoScanner-master\libs\task\base_task.py", line 47, in start
task_info = self.tast_control()
^^^^^^^^^^^^^^^^^^^^^^^
File "D:\sectools\01漏洞分析\AppInfoScanner-master\libs\task\base_task.py", line 89, in tast_control
task_info = AndroidTask(cacar_path, self.package).start()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\sectools\01漏洞分析\AppInfoScanner-master\libs\task\android_task.py", line 306, in start
if self.decode_file(input_file_path) == "error":
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\sectools\01漏洞分析\AppInfoScanner-master\libs\task\android_task.py", line 386, in decode_file
self.decode_apk(file_path, apktool_path, output_path)
File "D:\sectools\01漏洞分析\AppInfoScanner-master\libs\task\android_task.py", line 424, in decode_apk
raise Exception(file_path + ", Decompilation failed.")
07b67979ae9d6873e0bdb34335e31f6

@evaderPluto
Copy link

我遇上和你一样的问题,请问怎么解决呢?

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