From the course: Ethical Hacking: Mobile Devices and Platforms

Unlock the full course today

Join today to access over 24,400 courses taught by industry experts.

Getting command-line access with ADB

Getting command-line access with ADB - iOS Tutorial

From the course: Ethical Hacking: Mobile Devices and Platforms

Getting command-line access with ADB

- [Instructor] When preparing the environment for testing, we loaded the Android SDK. One of the important testing tools that we loaded with that is called ADB: the Android Debug Bridge. This enables us to get command line access to any Android device. To use ADB, I need to put the device into developer mode and I can do this by selecting the phone's settings, scroll down and select About, and then tap on the entry Build Number seven times. The phone will display a message to say it's in developer mode and add a new entry to the Settings menu called Developer Options. The easiest way to run ADB is over USB. So I can go into Developer Options and select USB Debugging. When I connect it to the computer subsequently, it will then ask whether I want to activate Debugging mode. I've got my Android phone connected to the computer using a USB cable. Let's look at the commands we can use with ADB. In the Basic options, we can see…

Contents