Skip to content

Instantly share code, notes, and snippets.

@evancummings
Last active April 6, 2022 19:17
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save evancummings/9490189 to your computer and use it in GitHub Desktop.
Save evancummings/9490189 to your computer and use it in GitHub Desktop.
Watch network traffic from Android App
# Use ADB to find and pull an Android package from device
adb shell pm list packages
adb shell pm path com.package
adb pull /data/app/com.package.app.apk
# With APK local, can now adb push to device and run it
# Use tcpdump to log traffic to mon.txt
sudo tcpdump -A dst port 80 > mon.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment