Created
August 10, 2017 07:10
-
-
Save cuiwm/c3499483927f11dc89a8c3fdc42c7c27 to your computer and use it in GitHub Desktop.
capture net packet on real iphone
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [ $2 == "start" ] | |
then | |
rvictl -s $1 | |
open /Applications/Wireshark.app | |
elif [ $2 == "stop" ] | |
then | |
rvictl -x $1 | |
else | |
echo "$0 [iOSDeviceIdentifier] [start|stop]" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment