Last active
April 6, 2022 19:17
-
-
Save evancummings/9490189 to your computer and use it in GitHub Desktop.
Watch network traffic from Android App
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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