标签:http ar os sp bs ad amp ef as
@echo off
adb remount
adb shell rm -r /data/local/tcpdump
adb push tcpdump /data/local/tcpdump
adb shell chmod 6755 /data/local/tcpdump
adb shell rm -r /sdcard/capture.pcap
echo "抓包结束后可以按ctrl+c"
adb shell /data/local/tcpdump -i any -p -s 0 -w /sdcard/capture.pcap &
pause
@echo off
del %~dp0rezults\capture.pcap
adb remount
adb pull /sdcard/capture.pcap %~dp0rezults
标签:http ar os sp bs ad amp ef as
原文地址:http://my.oschina.net/hebeijpp/blog/340260