Andriod先root工具
使用adb shell push tcpdump /data/local/.spa
使用adb shell push nc /data/local/.get
PC端安装wiresharkio
把nmap中的ncat.exe拷贝到wireshark目录map
Andriod执行db
PC端执行wireshark
网络:
adb forward tcp:8899 tcp:8899
ncat.exe 127.0.0.1 8899 | wireshark -k -S -i -
文件:
adb pull /sdcard/capture.pcap c:/
使用wireshark打开capture.pcap