November 2017
Intermediate to advanced
226 pages
5h 59m
English
Follow the steps to enable Monitor Mode in a macOS environment:
sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/local/bin/airport
Now we can select the channel to sniff with airport :
airport en0 channel 7
Then we can start sniffing with the following command:
sudo airport en0 sniff
This will sniff the interface en0 and save to a pcap file inside a tmp/ folder such as this: /tmp/airportSniffXXXXXX.pcap. We can analyze this file with Scapy.
Read now
Unlock full access