I successfully installed aircrack-ng using macports (i know it worked because when i enter aircrack-ng in terminal it shows the version and options) on my macbook pro. However when I use the airmon-ng command i get "command not found."
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
As far as I know, you can't use airmon-ng
on MacOs, they're for Linux only.
The best way I can suggest for you is using sudo airport -s
to determine which SSID and its channel you want to attack, after that, sudo airport en0 sniff x
to capture packages of all SSIDs which located at channel x, en0 or en1 is the wifi setting of your mac, you can go to "About this mac -> System Report -> Network ->
Wifi -> BSD Device name" to check out.
For example you want to capture packages from all SSIDs or from your determined SSID which have channel 6 sudo airport en0 sniff 6
.
Here's guide for attacking WPA/WPA2 wifi for terminal MacOS:
https://www.youtube.com/watch?v=G6MXOzGIJZ4
Hope that can help.