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

Run MobSF with Physical Android Device #2276

Closed
syntaCorp opened this issue Oct 9, 2023 · 2 comments
Closed

Run MobSF with Physical Android Device #2276

syntaCorp opened this issue Oct 9, 2023 · 2 comments

Comments

@syntaCorp
Copy link

I am running MobSF and I intend to use a physical android device. It appears that my configuration does not work well. I need help on setting up my physical android device to work with MobSF.
USB debugging mode is enabled on the device.
ADB is installed as well.

adb: unable to connect for root: device 'b9e652c' not found
[ERROR] 09/Oct/2023 15:46:52 - MobSFying Android instance failed
Traceback (most recent call last):
File "/home/mobsf/Mobile-Security-Framework-MobSF/mobsf/DynamicAnalyzer/views/android/operations.py", line 98, in mobsfy
if not create_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', 'b9e652c', 'root']' returned non-zero exit status 1.

@github-actions
Copy link

github-actions bot commented Oct 9, 2023

👋 @syntaCorp
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.

@syntaCorp syntaCorp reopened this Oct 9, 2023
@ajinabraham
Copy link
Member

This is not officially supported. See official documentation for what's supported.

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