(en0 is my interface name, which could be retrieved via `ifconfig` command 6 is the CHANNEL of the targeted WEP wifi)Īfter collecting data packets for some time, invoke the following command in order to perform the cracking process. Then sniff this wifi via the following command, whose result will be saved to /tmp/*.cap. After which, we could execute ` aircrack-ng` to double-check whether it is successfully installed or not.įirstly, use `airport` to catch BSSID and CHANNEL of the targeted WEP wifi. Only one thing should be mentioned, that we need to execute ` sudo port -v selfupdate` after installing MacPorts so as to update the source index.Įventually, install aircrack-ng via a simple one-line command. There're piles of solutions on how to install all the above tools from Google.
Sudo ln -s /System/Library/PrivateFrameworks/amework/Versions/Current/Resources/airport /usr/sbin/airportīefore installing aircrack-ng, which is our essential tool to crack WEP wifi password, we have to install MacPorts (a package management tool in Mac OSX), Xcode and XCode command line tools at first. Symbolic-link airport, the underlying implementation of the wireless-connection-related module, to /usr/sbin directory in Mac OSX.