adb is an essential tool for penetration testing Android apps. We will use this utility in multiple scenarios during our journey through this book. This tool comes preinstalled with the Android SDK and it is located in the "platform-tools" directory of the Android SDK. We added its path to the environment variables during the SDK installation process. Let us see some of the applications of this utility.
Checking for connected devices
We can use adb to list the devices that are connected to the workstation using the following command:
As we can see in the preceding screenshot, there is an emulator running on the laptop.