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."
airmon-ng not working in terminal (command not found) [closed]
Asked Answered
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
.
Hope that can help.
Even if one is doing it running VM with Debain? –
Stopgap
I recommend NO, because VM does not see the built in wifi card of your laptop as a wifi adapter, but will see it as an ethernet adapter. You still stay connected to internet but package injection and monitor mode is for wifi card only. –
Raymer
© 2022 - 2024 — McMap. All rights reserved.
airmon-ng
isn't on the macOS version — only on the linux version (I just downloaded and compiled the from source and it's only reference shows up inlinux.c
. aircrack-ng.org/doku.php?id=install_aircrack – Ron