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

In the tasks list json the status field has different formats #2464

Closed
dri-mobisec opened this issue Nov 25, 2024 · 2 comments
Closed

In the tasks list json the status field has different formats #2464

dri-mobisec opened this issue Nov 25, 2024 · 2 comments

Comments

@dri-mobisec
Copy link

dri-mobisec commented Nov 25, 2024

ENVIRONMENT

MobSF Version: 4.2.4

EXPLANATION OF THE ISSUE

when calling the api/v1/tasks endpoint, in the tasks lists the "status" field is either a string or an object depending on the status itself.
This is a problem because the json format is coherent and it makes impossible to create a proper mapper for the object;

Copy link

👋 @dri-mobisec
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.

ajinabraham added a commit that referenced this issue Nov 29, 2024
…es (#2470)

* Dockerfile QA
* Add sdk-build-tools to Docker image
* Replace biplist with plistlib std lib
* Fixed a bug in iOS pbxproj parsing
* Added support for APK parsing with aapt2/aapt
* Use aapt/aapt2 as a fallback for APK parsing, files listing and string extraction
* Added "started at" to Scan task queue model #2463
* Tasks List API to return string status #2464
* Replaced all minidom calls with defusedxml.minidom
* Code QA on android manifest data extraction and parsing
* Improved android file analysis
* Improved android manifest data extraction
* Improved android icon file extraction
* Improved android app name extraction
* Improved android appstore package details extraction
* Android string extraction to fallback on aapt2 strings
* APK analysis arguments refactor
* Handle packed APKs, refactor unzip to handle malformed APK files
* Handle reserved filename conflict during ZIP extraction
* Explicit Zipslip handling during ZIP extraction
* Graceful files extraction on unzip failure
* Removed bail out and continue analysis
* Moved androguard parsing to the start of static analysis
* AndroidManifest.xml fallback from apktool to androguard during extraction and parsing
* Updated Tasks UI to show started at
@ajinabraham
Copy link
Member

This is addressed in 4.2.8

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