1. Required Hardware:
Macbook
Edimax Ew-7822uac Wireless network card (if you buy other models of network cards, check the official website of the network card, confirm that there is MacOS driver)
Required Software:
Wireshark for MacOS
2. Install the network card driver, after restarting, set up the external wireless network card Ew-7822uac connected to the WiFi network.
3. Set up a shared network. Note that it is important to set the EW-7822UAC to "share connections from the following sources" and use the built-in network card for "sharing with the computer at the following ports", as
650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M00/8A/8F/wKioL1g0H9Gw9riyAAT1Z-Op1fI519.png-wh_500x0-wm_3 -wmp_4-s_2169306958.png "title=" screenshot 2016-11-22 pm 5.06.32.png "style=" Float:none; "alt=" Wkiol1g0h9gw9riyaat1z-op1fi519.png-wh_50 "/>
Click on the "Wi-Fi Options" button to set the password for the shared network, such as:
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M02/8A/92/wKiom1g0H9LRoROeAAOgDqDtz5s083.png-wh_500x0-wm_3 -wmp_4-s_371465849.png "title=" screenshot 2016-11-22 pm 5.05.56.png "style=" Float:none; "alt=" Wkiom1g0h9lroroeaaogdqdtz5s083.png-wh_50 "/>
4. Connect your phone to a MacBook-shared network
650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M00/8A/8F/wKioL1g0IRKj9ilkAAHPW_7wR2s046.png-wh_500x0-wm_3 -wmp_4-s_2752738780.png "title=" Wechatimg1.png "alt=" Wkiol1g0irkj9ilkaahpw_7wr2s046.png-wh_50 "/>
5. Use Wireshark to catch the packet with the internal network card, you can catch the communication of the device connected to the shared network.
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M00/8A/8F/wKioL1g0IE7yO2J6AAtRqQ-zC04873.png-wh_500x0-wm_3 -wmp_4-s_2464121310.png "title=" screen snapshot 2016-11-22 pm 6.35.34.png "alt=" Wkiol1g0ie7yo2j6aatrqq-zc04873.png-wh_50 "/>
This article is from the "GONE with the Wind" blog, please be sure to keep this source http://h2appy.blog.51cto.com/609721/1875543
MacOS, realize Wireshark mobile grab bag