How to set locale variables automatically

On macOS of course, because in Ubuntu and other distro you probably already have. So… open terminal and create a new file:

sudo nano ~/.profile

Then paste this two line and save:

export LC_ALL=en_US.UTF-8  
export LANG=en_US.UTF-8

You need to have the mark on “Set locale environment variables on startup” like in the screenshot.

How to sniff iPhone web traffic with Wireshark

Open Xcode and click on top Devices like in the image below:

Devices from Xcode

Copy the identifier (in the black row):

Identifier iPhone from Xcode

Now open the terminal and paste:

rvictl -s idcopyed

If it show:

Starting device identifiercopiato [SUCCEEDED] with interface rvi0

Open Wireshark and start sniffing from rvi0. Voilà!