Android Hacking Fundamentals -Part-2
After learning the APK file structure and the application components. We should learn about the primary basic utility command-line tool ADB. In the android application testing, we use adb tool in the information gathering phase and in the exploitation phase to interact with the android device via USB debugging. So we should have learn some basic commands of adb to learn android penetration testing.
What is ADB?
ADB is know as android debug bridge and it is a command-line tool. Which is used to interact with android device via USB debugging.
How to install this tool?
On Windows
Download the ADB Platform Tools for Windows using the below link
https://dl.google.com/android/repository/platform-tools_r30.0.5-windows.zipExtract the zip file and place the files in familiar place
then open a terminal from where those extracted files are be present and run the adb device after connect the mobile device to PC.
OR
You can simply install by using chocolatey
Watch the below video how to install the chocolatey on window
https://www.youtube.com/watch?v=-5WLKu_J_AEThen install adb via chocochoco install adb
On Linux
sudo apt-get install android-tools-adb
Let’s brief about the commands
- adb devices → This results list of connected devices