Coder Social home page Coder Social logo

Comments (4)

ajinabraham avatar ajinabraham commented on June 12, 2024 3

This is fixed in latest master branch, but not available in the docker image yet. The docker builds are failing due to pyQT dependency issue for ARM arch. You could build an image locally or use the code from latest master to fix this.

from mobile-security-framework-mobsf.

github-actions avatar github-actions commented on June 12, 2024

👋 @RubenPauwelsUniWeb
Issues is only for reporting a bug/feature request. For limited support, questions, and discussions, please join MobSF Slack channel
Please include all the requested and relevant information when opening a bug report. Improper reports will be closed without any response.

from mobile-security-framework-mobsf.

ajinabraham avatar ajinabraham commented on June 12, 2024

This looks like an issue in a third party, androguard. You might want to report it upstream.

from mobile-security-framework-mobsf.

BrotherOfJhonny avatar BrotherOfJhonny commented on June 12, 2024

Test carried out on 03/18/2024
Version: v3.9.5 Beta

Error persists, follow log.

[ERROR] 18/Mar/2024 12:20:48 - res1 must be zero!
[ERROR] 18/Mar/2024 12:20:48 - Internal Server Error: /static_analyzer/9181a2f943285c469eb07916da7f962d/
[INFO] 18/Mar/2024 12:20:48 - Scan Hash: 9181a2f943285c469eb07916da7f962d
[INFO] 18/Mar/2024 12:20:48 - Starting Analysis on: Aplicativo.apk
[INFO] 18/Mar/2024 12:20:48 - Generating Hashes
[INFO] 18/Mar/2024 12:20:48 - Unzipping
[INFO] 18/Mar/2024 12:20:49 - APK Extracted
[INFO] 18/Mar/2024 12:20:49 - Getting Hardcoded Certificates/Keystores
[INFO] 18/Mar/2024 12:20:49 - Getting AndroidManifest.xml from APK
[INFO] 18/Mar/2024 12:20:49 - Parsing AndroidManifest.xml
[INFO] 18/Mar/2024 12:20:49 - Parsing APK with androguard
[ERROR] 18/Mar/2024 12:20:49 - Error Performing Static Analysis
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/androguard/core/bytecodes/apk.py", line 1556, in get_android_resources
return self.arsc["resources.arsc"]
KeyError: 'resources.arsc'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/mobsf/Mobile-Security-Framework-MobSF/mobsf/StaticAnalyzer/views/android/static_analyzer.py", line 199, in static_analyzer
app_dic['real_name'] = get_app_name(
File "/home/mobsf/Mobile-Security-Framework-MobSF/mobsf/StaticAnalyzer/views/android/app.py", line 28, in get_app_name
return a.get_app_name()
File "/usr/local/lib/python3.10/dist-packages/androguard/core/bytecodes/apk.py", line 476, in get_app_name
res_parser = self.get_android_resources()
File "/usr/local/lib/python3.10/dist-packages/androguard/core/bytecodes/apk.py", line 1562, in get_android_resources
self.arsc["resources.arsc"] = ARSCParser(self.zip.read("resources.arsc"))
File "/usr/local/lib/python3.10/dist-packages/androguard/core/bytecodes/axml/init.py", line 1321, in init
self.packages[package_name].append(ARSCResTypeSpec(self.buff, pc))
File "/usr/local/lib/python3.10/dist-packages/androguard/core/bytecodes/axml/init.py", line 2181, in init
raise ResParserError("res1 must be zero!")
androguard.core.bytecodes.axml.ResParserError: res1 must be zero!
[ERROR] 18/Mar/2024 12:20:49 - res1 must be zero!

from mobile-security-framework-mobsf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.