MobSF / Mobile-Security-Framework-MobSF

Mobile Security Framework (MobSF) is an automated, all-in-one mobile application (Android/iOS/Windows) pen-testing, malware analysis and security assessment framework capable of performing static and dynamic analysis.
https://opensecurity.in
GNU General Public License v3.0
16.68k stars 3.16k forks source link

Fetching data from DB stucks in an infinite loop after a successful scan #2334

Closed EvilWatermelon closed 4 months ago

EvilWatermelon commented 5 months ago

When an analysis is done and the scan is stored to the DB then it's not possible to load the UI correctly because the query seems to stuck in an infinite loop.

[...]
[INFO] 06/Feb/2024 12:37:34 - Saving to Database
[INFO] 06/Feb/2024 12:37:40 - Scan Hash: Some Hash
[INFO] 06/Feb/2024 12:37:40 - Starting Analysis on: Some APK
[INFO] 06/Feb/2024 12:37:40 - Analysis is already Done. Fetching data from the DB...

I have to restart the Docker container every time while this happens in order to see the scan results in a fully loaded UI.

MobSF Version: 3.9 OS Environment: Linux (ubuntu 22.04 Jammy Jellyfish) Linux-6.1.0-17-amd64-x86_64-with-glibc2.35

github-actions[bot] commented 5 months ago

👋 @EvilWatermelon 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 commented 4 months ago

Please use slack for debugging this.