airmon-ng not working in terminal (command not found)

淺唱寂寞╮ 提交于 2020-06-10 13:18:21

问题


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.



来源:https://stackoverflow.com/questions/45314589/airmon-ng-not-working-in-terminal-command-not-found

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!