MobSF and Genymotion Device Image

April 23, 2024

In this tutorial, it is assumed that you are familiar with MobSF and you are using it from a physical local machine. For detailed information about MobSF, please refer to MobSF documentation.

Prerequisite

Setup your Genymotion instance

1. Quickstart

2. Network

3. Security / Firewall

4. Enable ADB

Setup MobSF

From your local machine, ensure that you can connect to your Genymotion instance via adb:

adb connect <public_ip>:5555
adb devices

For example:

$ adb connect 54.78.205.214:5555
connected to 54.78.205.214:5555
$ adb devices
List of devices attached
54.78.205.214:5555 device

You can now perform MobSF Dynamic Analysis with your Genymotion instance.

If Dynamic Analyzer doesn’t detect the instance, you need to manually configure ANALYZER_IDENTIFIER in <user_home_dir>/.MobSF/config.py, or via environment variable ANALYZER_IDENTIFIER, with the instance public IP.

For example:

ANALYZER_IDENTIFIER = '54.78.205.214:5555'

If MobSF cannot detect adb, you need to configure ADB_BINARY in <user_home_dir>/.MobSF/config.py.

For example:

ADB_BINARY = '/Applications/Genymotion.app/Contents/MacOS/tools/adb'

Next Instrumented Tests with Genymotion SaaS and gmsaas

Setup MobSF

From your local machine, ensure that you can connect to your Genymotion instance via adb:

(Notes: Additional content and images appear in the original page beyond this point.)