Closed oguzhanozgur closed 1 month ago
👋 @oguzhanozgur 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.
When I want to do dynamic analysis, I'm getting error. This is the page screenshot:![image](https://github.com/user-attachments/assets/e7c149b4-b5d8-4791-a139-7b9e4bda59be)
And the logs;
[INFO] 26/Jul/2024 11:16:50 - Connecting to Android host.docker.internal:6562 [INFO] 26/Jul/2024 11:16:50 - Waiting for 2 seconds... [INFO] 26/Jul/2024 11:16:52 - Restarting ADB Daemon as root adb: unable to connect for root: device 'host.docker.internal:6562' not found [ERROR] 26/Jul/2024 11:16:52 - Dynamic Analyzer Traceback (most recent call last): File "/home/mobsf/Mobile-Security-Framework-MobSF/mobsf/DynamicAnalyzer/views/android/dynamic_analyzer.py", line 166, in dynamic_analyzer if not env.connect_n_mount(): File "/home/mobsf/Mobile-Security-Framework-MobSF/mobsf/DynamicAnalyzer/views/android/environment.py", line 95, in connect_n_mount if not self.run_subprocess_verify_output([get_adb(), File "/home/mobsf/Mobile-Security-Framework-MobSF/mobsf/DynamicAnalyzer/views/android/environment.py", line 68, in run_subprocess_verify_output out = subprocess.check_output(cmd) # lgtm [py/command-line-injection] File "/usr/lib/python3.10/subprocess.py", line 421, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/usr/lib/python3.10/subprocess.py", line 526, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['/usr/bin/adb', '-s', 'host.docker.internal:6562', 'root']' returned non-zero exit status 1. [ERROR] 26/Jul/2024 11:16:52 - Dynamic Analysis Failed. [ERROR] 26/Jul/2024 11:16:52 - Internal Server Error: /android_dynamic/3d134c6bc2ae94a75996e606d66495ff
I'm pretty sure I'm connected with the adb.![image](https://github.com/user-attachments/assets/ff823b50-0c80-4892-8280-750e6ff31dfb)
What is the problem? And what can I do? Thanks.