Practical CEH Notes & Tools
HomeGitHubPortfolioTwitter/XMediumCont@ct
  • ๐Ÿ““Practical Ethical Hacker Notes
    • ๐Ÿ“šMain Contents
      • 2 - Footprinting & Recon
      • 3 - Scanning Networks
      • 4 - Enumeration
      • 5 - Vulnerability Analysis
      • 6 - System Hacking
      • 7 - Malware
      • 8 - Sniffing
      • 10 - DoS
      • 11 - Session Hijacking
      • 13 - Hacking Web Servers
      • 14 - Hacking Web Apps
      • 15 - SQL Injection
      • 16 - Hacking Wireless
      • 17 - Hacking Mobile
      • 18 - IoT and OT Hacking
      • 19 - Cloud Computing
      • 20 - Cryptography
    • ๐Ÿ‘จโ€๐ŸŽ“Study Walkthrough
      • ๐ŸงชLabs and Training
    • Tools ๐Ÿ› ๏ธ
      • ๐Ÿค–Adb tool
      • ๐Ÿ”BCTextEncoder
      • ๐ŸŸงBurp Suite
      • ๐Ÿ‘จโ€๐Ÿ’ปCewl
      • ๐Ÿ“Crunch
      • ๐Ÿ—ƒ๏ธDirb
      • ๐ŸงEnum4linux
      • ๐Ÿ”—Gobuster
      • ๐Ÿ”“Hashcalc
      • ๐Ÿ˜บHashcat
      • ๐Ÿ‘‰Hping3
      • ๐Ÿ‰Hydra
      • ๐ŸฅทJohn the Ripper
      • โ“‚๏ธMetasploit
      • 5๏ธโƒฃMd5 Calculator
      • ๐Ÿ‘ฝNikto
      • ๐Ÿ‘๏ธNmap
      • ๐Ÿ–ผ๏ธOpenstego
      • ๐ŸŽจQuickStego
      • ๐ŸŒˆRainbowCrack
      • โ†—๏ธResponder LLMNR
      • ๐Ÿ•ท๏ธSearchsploit
      • โ›„Snow
      • ๐ŸŒ€Stego
      • ๐Ÿ’‰SQLMap
      • โš™๏ธSteghide
      • โš—๏ธStegimage
      • ๐Ÿ”‘Veracrypt
      • ๐ŸฆˆWireshark or Tcpdump
      • ๐Ÿ”WPScan
      • โšกZap
Powered by GitBook
On this page
  • Basic command
  • For finding perticular file
  • For pulling file from server to local computer
  • Connect to Android through ADB and access files via shell
  1. Practical Ethical Hacker Notes
  2. Tools ๐Ÿ› ๏ธ

Adb tool

PreviousTools ๐Ÿ› ๏ธNextBCTextEncoder

Last updated 1 year ago

apt-get update
sudo apt-get install adb -y
adb devices -l

# Connection Establish Steps
adb connect 192.168.0.4:5555
adb devices -l
adb shell  

# Download a File from Android using ADB tool
adb pull /sdcard/log.txt C:\Users\admin\Desktop\log.txt 
adb pull sdcard/log.txt /home/mmurphy/Desktop
  • via USB

  • ./adb tcpip 5555

  • ./adb connect 192.168.43.117:5555

  • ./adb devices

  • ./adb -d shell (Direct an adb command to the only attached USB device)

  • cd sdcard

  • cd dcim

  • cd camera

  • ./adb push C:\platform-tools\

  • /sdcard/Download -> from pc to android)

  • pc location -> <android location>

  • ./adb

  • pull /sdcard/Download/magisk_patched.img

  • C:\platform-tools -> from android to pc

  • android location -> <pc location>

Basic command

adb tcpip 5555

adb connect <ip-address>:5555

adb shell

For finding perticular file

adb shell ls -R | grep filename

For pulling file from server to local computer

adb pull /sdcard/log.txt %USERPROFILE%\Desktop\

for disconnecting device:

adb disconnect

Connect to Android through ADB and access files via shell

๐Ÿ““
๐Ÿค–
ota.zip
https://www.youtube.com/watch?v=Hvreb4hjsig