Usage Guide
Usage Guide
1. Setting up Genymotion
Now, we need to install some additional tools to make sure you can connect
to the emulator from your laptop. Steps are different for Mac/Windows/Linux
Users.
Before proceeding to install the InsecureBankv2 application on the newly created AVD,
ensure that the back-end server is running properly. The back-end for the
InsecureBankv2 application is a simple python server running simple Flask and CherryPy
web frameworks.
Step 1: Download the latest version of InsecureBankv2 from GitHub using the below
mentioned command on the terminal.
Step 2: The server component can be found in the AndroLabServer folder in the
InsecureBankv2 project source folder.
python app.py
The below mentioned command can be used to view the available arguments for the
AndroLab server component.
Step 5: Now, we need to setup our configuration to make sure that InsecureBankv2 can
talk to this server. To do this open VirtualBox and right click the created AVD > Settings >
Network. For Adapter 1 set up “Bridged Adapter”. For Adapter 2 setup “NAT”.
Installing and running the InsecureBankv2 application – via APK file
Once the AVD is set up and running in Genymotion, we can proceed to install
InsecureBankv2 on it. Genymotion helps emulate and test the behavior and working
of the application in a virtualized environment without the need of buying expensive
Android devices.
Step 1: Download the latest version of InsecureBankv2 from GitHub using the below
mentioned command on the terminal.
git clone https://github.com/dineshshetty/Android-InsecureBankv2.git
Step 2: Using the adb utility in the Android SDK platform-tools folder, the
InsecureBankv2.apk file from the downloaded project can be installed on to the
emulator.
adb install InsecureBankv2.apk
Step 3: You can now launch the InsecureBankv2 application from the Android app-
menu.
Step 4: In the Android emulator, click the menu button and select the Preferences menu.
Step 5: Configure the Android emulator to point to the IP address and port number of
the machine on which the AndroLab server is running. Click Submit to continue.
Note: In the case of Android emulator, 10.0.2.2 points to the base machine on which the
emulator is running. Alternatively use `ifconfig vboxnet0` to get the IP address.
Step 6: Log in to the application using either of the below mentioned credentials:
• dinesh/Dinesh@123$
• jack/Jack@123$
Step 7: When correct set of credentials is entered, the click of the Login button redirects
the user to the next screen.