Get UDID
system_profiler SPUSBDataType
Serial Number: XXXXXXXXXXXXXXXXXXXXXXXXXX
List
rvictl -l
Start
rvictl -s XXXXXXXXXXXXXXXXXXXXXXXXXX
Stop
rvictl -x XXXXXXXXXXXXXXXXXXXXXXXXXX
ifconfig -l
lo0 gif0 stf0 en0 en1 fw0 en3 p2p0 bridge0 rvi0
if you don't have the interface rvi0
ifconfig rvi0
Run tcpdump
tcpdump -i rvi0 -n -t -q -A tcp
tcpdump -i rvi0 -n -t -l -s 1024 -q -A 'tcp port 80' > tcpdump
Just for GoogleAnalytics-iOS-SDK 2.x
// realtime tracking
[GAI sharedInstance].dispatchInterval = 0;
// print debug messages
[GAI sharedInstance].debug = YES;
// disable https
[GAI sharedInstance].defaultTracker.useHttps = NO;
[tcpdump]
[remote packet capture]
沒有留言:
張貼留言