TCPDump on rooted android devices -


i tcpdump on rooted android devices.

i create ".pcap" file later analysis capture upload / download packets. there library this? how should begin ?

first should tcpdump.dat file , push phone following steps.

adb root

adb remount

adb push local_path_to_tcpdumpt.dat /system/xbin/

adb shell chmod 777 system/xbin/tcpdump

run below command @ adb prompt start capturing log

adb shell tcpdump -i -s 0 -w /sdcard/capture.pcap

after capturing tcp logs. pull pcap file

adb pull /sdcard/capture.pcap capture.pcap


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -