This is a script that inititaites a virtual port for your iOS device and starts Wireshark. This script is written for MACOS
Prerequisites:
- Have wireshark installed on your MAC
- Have your iOS device connected
To have this command executable from terminal, you have to create a command in your bin folder. This is done as follows:
- Download
ws
script - Navigate to script from terminal
- Make it executable
chmod +x ws
- Copy it to your bin directory
cp ws /usr/local/bin/
Now you can run the command from anywhere in terminal by typing ws