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.
Traceback (most recent call last):
File "/root/Mobile-Security-Framework-MobSF/venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 47, in inner
response = get_response(request)
File "/root/Mobile-Security-Framework-MobSF/venv/lib/python3.7/site-packages/django/core/handlers/base.py", line 165, in _get_response
callback, callback_args, callback_kwargs = self.resolve_request(request)
File "/root/Mobile-Security-Framework-MobSF/venv/lib/python3.7/site-packages/django/core/handlers/base.py", line 288, in resolve_request
resolver_match = resolver.resolve(request.path_info)
File "/root/Mobile-Security-Framework-MobSF/venv/lib/python3.7/site-packages/django/urls/resolvers.py", line 545, in resolve
for pattern in self.url_patterns:
File "/root/Mobile-Security-Framework-MobSF/venv/lib/python3.7/site-packages/django/utils/functional.py", line 48, in get
res = instance.dict[self.name] = self.func(instance)
File "/root/Mobile-Security-Framework-MobSF/venv/lib/python3.7/site-packages/django/urls/resolvers.py", line 589, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "/root/Mobile-Security-Framework-MobSF/venv/lib/python3.7/site-packages/django/utils/functional.py", line 48, in get
res = instance.dict[self.name] = self.func(instance)
File "/root/Mobile-Security-Framework-MobSF/venv/lib/python3.7/site-packages/django/urls/resolvers.py", line 582, in urlconf_module
return import_module(self.urlconf_name)
File "/usr/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
ENVIRONMENT
Django Version: 3.1.2 Python Version: 3.7.5 Installed Applications: ('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'StaticAnalyzer', 'DynamicAnalyzer', 'MobSF', 'MalwareAnalyzer') Installed Middleware: ('MobSF.views.api.rest_api_middleware.RestApiAuthMiddleware',)
EXPLANATION OF THE ISSUE
Hello,
I've installed this amazing tool and I'm testing it with different apps, it works really nice but sometimes the application crashes with the error:
OSError at / [Errno 5] Input/output error
Thus I have to kill the gunicorn process and restart the application.
Can you please help to resolve the issue?
Thank you very much in advance
LOG FILE
Exception Type: | OSError Exception Value: | [Errno 5] Input/output error Exception Location: | /root/Mobile-Security-Framework-MobSF/venv/lib/python3.7/site-packages/colorama/ansitowin32.py, line 196, in write_plain_text Python Executable: | /root/Mobile-Security-Framework-MobSF/venv/bin/python3 Python Path: | ['/root/Mobile-Security-Framework-MobSF', '/root/Mobile-Security-Framework-MobSF/venv/bin', '/usr/lib/python37.zip', '/usr/lib/python3.7', '/usr/lib/python3.7/lib-dynload', '/root/Mobile-Security-Framework-MobSF/venv/lib/python3.7/site-packages']
Traceback (most recent call last): File "/root/Mobile-Security-Framework-MobSF/venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 47, in inner response = get_response(request) File "/root/Mobile-Security-Framework-MobSF/venv/lib/python3.7/site-packages/django/core/handlers/base.py", line 165, in _get_response callback, callback_args, callback_kwargs = self.resolve_request(request) File "/root/Mobile-Security-Framework-MobSF/venv/lib/python3.7/site-packages/django/core/handlers/base.py", line 288, in resolve_request resolver_match = resolver.resolve(request.path_info) File "/root/Mobile-Security-Framework-MobSF/venv/lib/python3.7/site-packages/django/urls/resolvers.py", line 545, in resolve for pattern in self.url_patterns: File "/root/Mobile-Security-Framework-MobSF/venv/lib/python3.7/site-packages/django/utils/functional.py", line 48, in get res = instance.dict[self.name] = self.func(instance) File "/root/Mobile-Security-Framework-MobSF/venv/lib/python3.7/site-packages/django/urls/resolvers.py", line 589, in url_patterns patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) File "/root/Mobile-Security-Framework-MobSF/venv/lib/python3.7/site-packages/django/utils/functional.py", line 48, in get res = instance.dict[self.name] = self.func(instance) File "/root/Mobile-Security-Framework-MobSF/venv/lib/python3.7/site-packages/django/urls/resolvers.py", line 582, in urlconf_module return import_module(self.urlconf_name) File "/usr/lib/python3.7/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1006, in _gcd_import