Implement Wireshark mobile phone to grab bags on macOS.
1. Required hardware:
Macbook
Edimax EW-7822UAC wireless network card (if you buy another type of network card, check the official website of the network card to confirm that there is a macOS driver)
Required software:
Wireshark for macOS
two。 Install the network card driver, after reboot, set the external wireless network card EW-7822UAC to connect to the wifi network.
3. Set up a shared network. Note that EW-7822UAC must be set to "share connections from the following sources", and the built-in Nic is used to "share to computers using the following ports", as shown in the following figure
Click the "Wi-Fi options" button in the image above to set the password for the shared network, as shown below:
4. Connect the phone to the network shared by macbook
5. By grabbing the packet of the built-in network card with Wireshark, you can catch the communication of the device connected to the shared network.