Useful shortcuts for vi editor

Saturday 2 April 2016

How to capture packages with adb shell?

e.g. 
CMD> adb shell 
# tcpdump -vv -i any -s 0 -w /data/01.pcap
(-v; verbose, -i; interface, -s 0;capture all bytes of data within the packet)

to take the pcap file from the phone;
CMD> adb pull /data/01.pcap