The highest form of ignorance is when you reject something you don't know anything about.

Wayne Dyer (b 1940)

How to Install Aircrack on Mac


 How to Install Aircrack on Mac  in 3 Easy Steps

Installing Aircrack-ng can be a little confusing if you don't understand the lingo. 
Let me guide you trough those steps and you'll have Aircrack running natively in no time and almost no effort. 




Why Use Aircrack? 
Aircrack-ng is about up to 5 to 10 times faster than KisMAC when it comes to cracking WPA or WEP password.
KisMAC has an old Aircrack Engine and, honestly, it needs an update...

 


Aircrack-ng 1.1 churns about 1500 "WPA" keys per Second, or about 360 Passphrase/second  when KisMAC is left behind at 160/Sec on a dual core.
Aircrack-ng was tested on a MacPro at 1,800 passphrases/sec or 6,100 keys/ sec

Aircrack-ng can recover keys for WEP and WPA.  If you are interested in WPA only and want to use the NTWHM (Nukular Turbo Warp Hyperdrive Mode)  We would then suggest you to check this post and this post.  As a repeat, it's WPA only, but the speed is nothing short of phenomenal:




Yes, it's 1,576,213 PMK/S. 
It means 1082.5 times faster than Aircrack.

Back to Aircrack:
On WEP, the difference is extremely noticeable, especially on low IV's captures. Aircrack-ng can work as low as ~23,000 IV's on a 64 bit WEP, and this in matter of seconds. KisMAC will churn for 10 min before giving you the "unable to find the key"
(Update: Success @ 20,566 IV's ;- )
Example here: 3 seconds with 22,566 IV's. Only 753 used. 



 









For Airport users, once decrypted, you have to enter the key without semicolons and space.
Example:    70:61:62:6C:6F  will be entered as 7061626C6F or 7061626c6f
If the key was entered as ASCII, Aircrack will also give you the ASCII value





If you are not familiar with the lingo, or wonder what does what, I would suggest reading the FAQ first.

There is multiple ways to install Aircrack-ng, this is one is the most straightforward way (that I am aware of.  Suggestions are welcomed in the comment section)

Installing Aircrack-ng on OS X

Gather what you need:  The Mise En Place 
You'll need:
  • The DVD or CD install that came with your Mac
  • A Copy of Aircrack-ng 1.1 (just download, Do NOT unzip)
  • A Copy of Macports, (OPTIONAL for Install #2)  you can download either directly from the website or choose between the following two:
  • MacPorts for OS X 10.6 (Snow Leopard)
  • MacPorts for OS X 10.5 (Leopard)
  • The Admin rights on your Mac, or at least the Admin Password. 
  • In Most Cases you will a Network Adapter to either Re-Inject packets, Flood or Dehauthenticate. You can do without, but you'll need a lot of patience.  I only recommend one specific one. If you already have one, well..too bad. if you are going to buy one, you better use the one recommended: Better Value and beat the shit out of the competition
The Installation 



Put the Snow Leopard DVD in, and select Optional Installs
Select "Install Xcode " and continue. 
When Xcode is fully installed, Remove the DVD and continue with MacPorts






  

Click on the previously downloaded MacPorts dmg file and let it mount








Select "Standard Install" if asked, and click to continue. 
It may take more than 5 minutes to install, don't panic! 
While waiting, read the FAQ! 
when done, go to the next step



Open Terminal 
Go to the folder where Aircrack-ng was downloaded, i.e "Downloads"
Note: Avoid the use of folder names with spaces or you'll make it difficult with Terminal 
cd Downloads
sudo port install aircrack-ng  
Enter your password as requested, then hit Enter, and let it run.... 

Voila! 

FAQ & RFAQ

Why use Aircrack and not KisMAC alone?
Aircrack-ng can churn 10 x faster than KisMAC alone for Key Recovery.

Can I dump KisMAC now? 
No! Aircrack alone can not re-inject or Monitor Wifi. "Mind you, airodump-ng and aireplay-ng are linux only and will not work under OSX native, so for reinjecting and sniffing you will have to use other means."   And that's from Aircrack-ng itself.  Hence, I'll advise to keep KisMAC.   Other tools are provided with the Aircrack-ng suite, but not the ones needed to re-inject. See list at the end.

I cannot find a .cap file 

.cap .pcap or dumplog are the same thing. KisMAC exports the file without an extension and Aircrack does not care. KisMAC let you choose the name of the file under  Preferences >> Drivers
The format by default is  ~/Dumplog year month day hours minutes
Select your options based on your preferences or make your own.






Can I merge Dumplogs / PCAP  / CAP  files?
Yes, You may use Wireshark ➟ File Merge

Can I convert Dumplogs / PCAP / CAP files?
 Yes, You may use ivstools, provided with Aircrack.
 ivstools --convert

Can I Merge IVS files?
 Yes, use --merge with ivstools:    ivstools --merge

Can I Open Multiple  Dumplogs / PCAP / CAP files? 
Yes, just use an asterisk (star) (*) with Aircrack
Example:  Aircrack-ng Dump*


I can't has a krack! I can has a pazwort?
The subject was previously discussed, here again:  sudo make user -now RTFM&STFW.   Or box the Mac and ship to me: I'll deal with it.

Aircrack-ng options
Just type Aircrack-ng or Aircrack-ng --help  You'll have the whole list  

How do I start? 
Just start by a simple:  aircrack-ng dumplog (dumplog being the name of the capture file, with path if necessary)
Or, if you have opted for very long dumplogs names, with spaces, just drag the file into the Terminal window, and add "Aircrack-ng" before the path.  please don't type the quotes....
You'll see a list of APs, enter the network number, ... after that it's pretty straightforward.... 

Aircrack-ng Command Lines

usage: aircrack-ng [options] <.cap / .ivs file(s)>

Assuming that: 
dumplog  being the name of your dump file
dicfile.txt being the name of your dictionary files or wordlists , with path if necessary

WEP
aircrack-ng dumplog 
Select the number of the AP, then press Enter 

WPA 
aircrack-ng dumplog -w dicfile.txt
Select the number of the AP, then press Enter 

Aircrack-ng Opening Multiple DumpLogs, PCAP, CAP files,  on a single network, with automatic key recovery

Aircrack-ng -e   dump*


Please note that "dumplog" & "Dumplog" are different. -for aircrack-.   

It's easier to "regroup" your files in one directory than typing path long as your arm. 
Also, don't hesitate to rename the dumplogs / cap files: "dumplog" is easier to type than "DumpLog-11-02-17-17/40.pcap"
 aircrack-ng ~/Desktop/dumplog -w ~/Desktop/Dicfile.txt



If you have located your dumplog in a far far away folder, or have used spaces in your folder name, read again the previous paragraph.
If you decide against that advice, you'll need to include quotes in the file name, or use a backslash BEFORE the space.
Example with the folder Air Crack, the command line would be the following:
~/Desktop/Air\ Crack/Dicfile.txt


Examples:
Aircrack-ng Opening Multiple DumpLogs, PCAP, CAP files,  on a single network, with automatic key recovery

Aircrack-ng -e   dump*




To Pause Aircrack-ng
Hold your horses! There is no real pause when running a Wordlist on Aircrack-ng
One solution is to stop Aircrack, note carefully the name of the last key checked, and edit your Wordlist few keys before, save under a temp name and restart when ready. 
To Stop, just do a CTRL-Z. 

To Quit Aircrack-ng  CTRL-C 

I have multiple Macs, can I speed up the key recovery? 
yes,  copy the Dumplog and the Dictionary(ies) and use as many as you want. It's called a distributed attack.  I would split the Dic in two and reverse one (start from bottom up) or use multiple dictionaries. - Your call.

What about Precomputed Tables?

Yes but no,
The precomputed PMK (Pairwise Master Key) has pros and cons.
The SSID is used as "salt" in the hash, hence you'll have to precompute a different one for each SSID. If you spend your days assessing networks, that, maybe, could be useful with SSIDs such as "Linksys"  etc ...   but you'll spend a lot of time computing. It is only worth it if you know that you are going to reuse the precomputed table over and over again.
The most used SSIDs are the following.
After many years, Dlink has started assigning different SSIDs to their router (Dlink.1234)
Nevertheless, they are still using very short default password. Thank you D-Link.  
no ssid21107606.571%
linksys20653566.429%
NETGEAR6789432.113%
default5950901.852%
Belkin54g2766670.861%
hpsetup2325180.723%
Wireless2258380.703%
no_ssid2113600.658%
DLINK1996680.621%
WLAN1201170.373%
home1071100.333%
Source: WiGLE

Aircrack-ng / KisMAC Speed Test
Test files of 100,000 lines were used:
One with 8 numerical digit, from 00000000 to 99999999
One with complex passphrase of 50 printable characters:  !@#$%....ABC....99999
One with 50,000 less than 8 ch and 50,000 more than 8 ch long 

Tests were done on a Intel Dual Core 2.5GHz, 4GB RAM



 



Aircrack Speed: 
100,000 Passphrases in 04' 42", or 354.61 Pswd/sec
~1450 K/s

Is Aircrack-ng slowed down by complex passphrase?
100,000 Passphrases in 04' 43", or 353.3 Pswd/sec
Result: difference is negligible:  1 sec overall

Is Aircrack-ng testing less than 8ch passwords?
No, the file containing 50% less than 8ch long passwords was done in 2'12

KisMAC Speed:
100,000 Passphrases in 10' 18", or 161.8  Pswd/sec
2.2 times slower

Is KisMAC testing less than 8ch passwords?
No, the file containing 50% less than 8ch long passwords was done in 4' 27"

Is KisMAC slowed down by complex passphrase?
No, here again, results are almost the same. 



Common Aircrack-ng options:

      -a : force attack mode (1/WEP, 2/WPA-PSK)
      -e : target selection: network identifier
      -b : target selection: access point's MAC
      -p : # of CPU to use  (default: all CPUs)
      -q         : enable quiet mode (no status output)
      -C   : merge the given APs to a virtual one
      -l   : write key to file

  Static WEP cracking options:

      -c         : search alpha-numeric characters only
      -t         : search binary coded decimal chr only
      -h         : search the numeric key for Fritz!BOX
      -d   : use masking of the key (A1:XX:CF:YY)
      -m : MAC address to filter usable packets
      -n : WEP key length :  64/128/152/256/512
      -i : WEP key index (1 to 4), default: any
      -f : bruteforce fudge factor,  default: 2
      -k : disable one attack method  (1 to 17)
      -x or -x0  : disable bruteforce for last keybytes
      -x1        : last keybyte bruteforcing  (default)
      -x2        : enable last  2 keybytes bruteforcing
      -X         : disable  bruteforce   multithreading
      -y         : experimental  single bruteforce mode
      -K         : use only old KoreK attacks (pre-PTW)
      -s         : show the key in ASCII while cracking
      -M    : specify maximum number of IVs to use
      -D         : WEP decloak, skips broken keystreams
      -P    : PTW debug:  1: disable Klein, 2: PTW
      -1         : run only 1 try to crack key with PTW

  WEP and WPA-PSK cracking options:
        -w : path to wordlist(s) filename(s) 


Other Tools provided with the Aircrack-ng Suite

Ivstools-ng :  Merge and convert IV's 

Airbase-ng : "Airbase-ng is multi-purpose tool aimed at attacking clients as opposed to the Access Point (AP) itself. Since it is so versatile and flexible, summarizing it is a challenge"

Airdecloak-ng : "Airdecloak-ng is a tool that removes wep cloaking from a pcap file. Some WIPS (actually one) actively “prevent” cracking a WEP key by inserting chaff (fake wep frames) in the air to fool aircrack-ng. In some rare cases, cloaking fails and the key can be recovered without removing this chaff. In the cases where the key cannot be recovered, use this tool to filter out chaff. "
Source: Aircrack-ng.org.  Please refer to it for any information related to the Aircrack-ng Suite. 


New Rules for Comments:
  • Please use a name other than "Anonymous"  See Name/url . Any name, even Max the Cat will do.  Will do only once.
  • Please State your OS, Version, etc. Don't forget to state your OS.
  • Max 3 questions. If we need to ask you what is your OS, that will be one, 2 left. 
  •  Thank you. 



 

83 comments:

  1. Hi Man, i think i saw somehwere on your site that you wanted people to tell you how fast aircrack-ng works on their computer?

    I have an 3.06GHz i3 with 4 GB of DDR3 ram and my aircrack-ng sits at about 1935 keys per second. it can get up to the low 2000's but not very often.

    ReplyDelete
  2. Hi, I followed this tutorial and all your guides so thank you very much for this!

    aircrack-ng says key found, decrypted correctly 100%. Where/how does aircrack-ng tell you what the key is? i cant find it anywhere. thanks.

    ReplyDelete
  3. Rychu,
    Sorry for the late reply.
    Aicrack will give you the hex key or the WPA key. it's right in the middle of the screen, just next to "KEY FOUND!"

    -Speed
    Ok thanks,
    I am trying to figure out a CUDA Assisted Aircrack and see if there is a way to use Rainbow Tables. CUDA should boost to 20,000 K/sec and Rainbow to much more ...

    ReplyDelete
  4. Thank you sooo much!!!!

    ReplyDelete
  5. I'd love some directions on installing Aircrack on a Mac using VMWare Fusion and the Aircrack VM Image.

    I realize there are instructions on aircrack-ng.com, but quite frankly, you make a lot more sense! :)

    ReplyDelete
  6. Anonymous:
    two issues...
    First I would need to have VMWare.
    Second, any virtual machine is going to use resources, hence the recovery speed is going to take a hit.
    I'll take a look into it, but I am too busy for the time being.

    ReplyDelete
  7. Is it possible/worthwhile to merge kismac dump logs to provide more data (handshakes) for Aircrack on a WPA crack?

    ReplyDelete
  8. Sorry, I figured out aircrack only needs one.

    Learning!
    Thanks.

    ReplyDelete
  9. ok i just started using and im the greenest newb got aircrack installed and now im having problems figuring out how to get it to open the dumplog created by kismac thru terminal so i can distribute the crack ive tried all different directories no command seems to work all it says is no file or directory no network detected exiting and thats were im stuck any help would be nice

    ReplyDelete
  10. >> friendly repeat
    It's easier to "regroup" your files in one directory than typing path long as your arm.
    Also, don't hesitate to rename the dumplogs / cap files: "dumplog" is easier to type than "DumpLog-11-02-17-17/40.pcap"
    For WPA the command would be:
    aircrack-ng ~/Desktop/dumplog -w ~/Desktop/dicfile.txt

    Please note that the "~" before the "/" is a tilde and not a dash (-)
    tilde,slash,Desktop...etc etc

    ReplyDelete
  11. When I installing the aircrack with Terminal, I don't have password for my mac, what shoild I type?

    ReplyDelete
  12. if you have no password set up for the admin rights, just press enter. If you have one and don't know it, you need to ask the Admin.

    ReplyDelete
  13. cheers for this, got aircrack working fine on WEP through terminal. just a hint for people who arent familiar with teminal, that includes me, you can drag folders/files (ie. pcap or dict file) straight into terminal from the desktop or wherever, which made it alot easier for me. this is probably known by everyone but in case thought it might help the not so tech savvy folks. again though, brilliant instructions. cheers again.

    ReplyDelete
  14. Hey,
    Thanks for the cheers and thanks for the tip: I completely forgot about that one.
    Leave your name and I'll quote you ...

    ReplyDelete
  15. Warning: No index(es) found! Have you synced your source indexes?
    Error: Port aircrack-ng not found
    To report a bug, see

    What should I do? Thanks!!

    ReplyDelete
  16. probably re-install MacPorts

    ReplyDelete
  17. hey, i got everything all set up and stuff, now when i go to crack the key, everything goes fine, but I get this:
    Failed. Next try with 10000 IVs.

    what should I do?

    ReplyDelete
  18. ah! I just realized that I never mentioned that before. You need between 40,000 iv's for a 64 bit key and 60,000 for a 128.

    ReplyDelete
  19. I found some useful info on kismac, good for noobs like me...

    http://easymactips.blogspot.com/2009/03/kismac-ultimate-wifi-stumbler.html

    ReplyDelete
  20. All goes well as far as "open terminal". Have got Aircrack-ng in the downloads folder, but then lose it between there and "Voila"

    Any help out there?

    Thanks

    ReplyDelete
  21. Have got Aircrack-ng in the downloads folder, but then lose it between there and "Voila"

    Go to the folder where Aircrack-ng was downloaded, i.e "Downloads"
    command: cd Downloads
    hit enter or return
    command: sudo port install aircrack-ng
    hit enter or return
    Enter your password as requested, then hit Enter, and let it run....

    ReplyDelete
  22. Followed the tutorial and got aircrack-ng installed with zero trouble....

    Friendly hint: If your files are stored somewhere other than the desktop, mke sure your folder name is either one word, or has no spaces in the folder name....This will save you lots of headaches.....

    ReplyDelete
  23. Yes, I should mentioned to avoid the use spaces in a folder name for Air.

    You can always drag the folder into Terminal or use the proper syntax: place a \ BEFORE each space.
    Example: /Users/admin/Desktop/this\ is\ a\ test

    ReplyDelete
  24. Hi every one, you can also download and install Porticus and it will be easier to install any Mac Ports and to check if each port is up to date and etc....
    Hace a good week-end from France.

    ReplyDelete
  25. type....aircrack-ng dumplog
    Opening dumplog
    open failed: No such file or directory
    Read 0 packets.

    No networks found, exiting.


    Quitting aircrack-ng...

    what is the problem buddy~!

    ReplyDelete
  26. what command to Identify a wireless network BSSID?

    airodump-ng wlan0?

    ReplyDelete
  27. 2 questions that prove that you have not read a single line. For private tutorial, please look under "donations"

    ReplyDelete
  28. hey would a Wii or Xbox 360 Network Adapter work

    ReplyDelete
  29. You need to provide the chipset # used.

    ReplyDelete
  30. hi i followed all the instructionand i installed it...where do i find the aircrack now? is it supposed to be in the applications?

    ReplyDelete
  31. Open Terminal.app , start with a command such as ..

    Aircrack-ng Dump*

    yes, it's "Dump(star)"

    ReplyDelete
  32. Hey Mate!
    Thank you for this tutorail. However I've done every thing, and the installation succeed so I guess Aircrack is on my mac now. But when I enter "Aircrack-ng Dump* " I always have in return: command not found. What does that mean? I have try all the folder where aircrack was found with "mdfind".
    Thanks again for your help!!
    cheers

    ReplyDelete
  33. 1) you did it without the quotes, we agree on that? huh? If you use mdfind, you should be ok with terminal commands ;-)
    2) have you tried just Aircrack-ng to see if you got the manual?
    If not, it's not properly installed.
    I am not sure, but try logged as an admin.


    3) where is Aircrack located?, you should have it in

    ReplyDelete
  34. First, thank you for answering so rapidly.
    1) yep without the quotes! ;-) I did some programming long time ago so I know a bit but not too much
    2) when i do that I've in return " command not found". This is what i've done in my terminal (I removed most of the useless lines)

    https://docs.google.com/document/d/1z8w60og7kQy64qcibqxkQhSwv099JAcA8ypiM_dHAKY/edit?pli=1&hl=en_US

    The thing is I had an error when i installed aircrack but nothing important (it was like "version does not match"...)

    Any help would be really appreciated!!!!!

    ReplyDelete
  35. the simple fact that:
    McBouque:~ aymericflaisler$ Aircrack-ng
    -bash: Aircrack-ng: command not found

    indicates that Aircrack is not installed correctly.

    Delete your instal, take a break, have a croissant and re-install clean. Please use a brand new croissant, not the cheap stuff.

    get a new copy of macports (last update)
    Follow the instructions "a la lettre"

    McBouque:distfiles aymericflaisler$ airmon-ng
    -bash: airmon-ng: command not found

    >> the correct response would have been
    "Run it on root"
    hence, your install failed -completely-
    I don't know why, but I don't remember seeing a "version does not match"

    ReplyDelete
  36. Oh man you are DA Boss!! (I'll explain my pb and the solution in case it can help someone...)
    - First I decided to take a brease, relax, have a good croissant (a real one as you said)
    - Then I tried to reinstall aircrack-ng and had a "checksum" error
    - i googled it and found this:
    https://trac.macports.org/ticket/23307

    So I followed the post and now it works youhou !!! Thanks again mate !!

    ReplyDelete
  37. ok ok Sorry I'm sorry to be a dull but once it is installed, I run Aircrack-ng Dump* which give me a list of networks then I'm not sure about what to do for a WPA network. One of my mate told me that I might need a dictionary... Is that right? Do you know where I can find some?
    Thank you in advance

    ReplyDelete
  38. This page, top left ;-)
    you can also create you own, but as they are not statistically sorted, you are looking for a needle in a very large haystack. see "WPA" on this blog.

    Dump* will open all "dumplogs", hence you have: concatenated your Iv's or EAPOL, + a bigger choice.

    ReplyDelete
  39. new-host:Downloads Tyler$ Aircrack-ng Dump*
    Opening Dump*
    open failed: No such file or directory
    Read 0 packets.

    No networks found, exiting.

    Quitting aircrack-ng...
    ____________
    ____________
    ____________

    Please help, I know there was at least one other with the same problem

    ReplyDelete
  40. http://bit.ly/isitjustmeoramidoingsomethingwrong

    ReplyDelete
  41. Thanks for the tutorial,
    I installed aircrack-ng easily following your instructions.
    My question is what is the easiest way to uninstall it?

    Mac OSX 10.6.8

    ReplyDelete
  42. Roberto,
    Go to
    opt/local/bin
    and remove files with the -ng suffix
    If you do not need xcode anymore or macports, you can remove them too

    ReplyDelete
  43. how to merge dumplog files on lion?

    i already see this:
    "Can I merge Dumplogs / PCAP / CAP files?
    Yes, You may use Wireshark ➟ File ➟ Merge"

    but wireshark on the official website dont have the lion version 10.7.1

    thanks

    ReplyDelete
  44. Alisson, it's previously explained

    a) KisMAC
    b) Aircrack-ng

    ReplyDelete
  45. i dont understand your answer! =(

    What did you mean with kismac and aircrack-ng?

    my doubt is, how to merge dumplogs files.
    i know that you already explained with this:

    "Can I merge Dumplogs / PCAP / CAP files?
    Yes, You may use Wireshark ➟ File ➟ Merge"

    after I read this, I went behind the program wireshark.

    the problem is that wireshark does not have to download for Lion 10.7.1! =/

    is there any other alternative to merge files? if there ir, it has not been explained, because the only issue related to it, this is what I copied and pasted it above

    thanks!

    ReplyDelete
  46. kismac >> import KisMAC files
    then
    kisMAC >> import PCAP Dump
    then save as

    Aircrack

    Aircrack dump* will open all files named dumplogs.......

    ReplyDelete
  47. thanks

    it works!!

    but, its kind difficult play with aircrack! haha
    but im trying!

    ReplyDelete
  48. Wow I'm getting there. Got everything installed (WireShark, Macports, Aircrack suite) and am fooling with aircrack.

    I collected my packets and handshakes, using kismac from home and am currently out of the area.

    From what I have read, once you gather the handshake you can crack offline. I am using aircrack now and can get it to connect to dumplog and my wordlist, but aircrack want's to select a network in range.

    Can I manually enter BSSID and ESSID?

    Continuing to read. From what I gather now, I would have had to use airmon-ng instead of kismac to gather packets for this to work.

    Is it possible to run an offline wordlist with my kismac gathered packet with aircrack?

    ReplyDelete
  49. Sorry to stress you. Hope you had a goodThanksgiving. Thanks for all your great blogs. Keep up the good work.

    ReplyDelete
  50. You are not stressing me, you just do the exact opposite of what is explained. -in clear-
    Good luck with Airmon-ng....

    ReplyDelete
  51. Hi Admin!Can you help me with your advice please? I read all topic above, and was following instruction, but no success...When i`m open Terminal, i`m type well, but it`s going only until step Password need to finish. The word Password appear - but i can`t type my password, the line is like frozen and no letters can be type.When i hit enter, appear this message: "Warning: No index(es) found! Have you synced your source indexes?Error: Port aircrack-ng not found To report a bug, see " Please, tell me what i did wrong? Thanks in advance, and sorry for my bad english. I have MacBook Pro OS X 10.6.8 Intel i7 2.2, 4Gb 1333 MHz DDR3

    ReplyDelete
  52. Vitali,
    When typing "sudo xxxxxxxxx" the "password:" line after will always remain blank or hidden. You will not see dots or stars.
    To make it easier: change your Admin password to something very simple such as space bar 3 times or "123"
    then change it back when you are done.
    ex:
    sudo xxxxxxxxxxxxxxxxxxx
    [enter]
    password: "123"
    [enter]

    ReplyDelete
  53. Hi Admin! Thanks a lot for your quick response! I was following your advice, now i`m not sure if it installed correct. Firstly i was change the password for more simple, how you told-no success. I was typed 123, later space bar 3 times - no success, every time was appear the same message:"Warning:No index(es) found! e.t.c. So, last attempt, i change back my normal password, did the same procedure, but this time, when in Terminal appear Password, i just type my password and was waiting about 1 minute, before hit enter, then i hit enter and looks like installation happened. Appear " usage: install [-bCcpSsv] [-B suffix] and few lines like this. But i`m not sure if it installed successfully, tell me please, how i can check it? In the topic above, i read the same quesions had user "ireallycare". You advice to him open Terminal and type Aircrack-ng Dump*. I did the same, open Terminal, type Aircrack-ng Dump*, hit enter and receive " -bash: Aircrack-ng: command not found". According your advice above it`s mean that installation failed? Sorry for so many questions, but i really like to complete installation correctly, the next step i guess, to get dictionary, i know this page top left:-) Thank you in advance, will wait for your reply. Good Luck!
    MacBook Pro OS X 10.6.8 Intel i7 2.2, 4Gb 1333 MHz DDR3. Wi-Fi adapter Awus036H

    ReplyDelete
  54. okay bare with me i am a dummy at this, i installed mac os x snow leopard , i have lion , will it still work ? i dl Xcode but i dnt knw where Xcode went and i could not find mac ports HELP ?

    ReplyDelete
  55. "i installed mac os x snow leopard , i have lion "

    yup, that's clear to me ...

    ReplyDelete
  56. Admin, I keep getting the message: Warning: No index(es) found! Have you synced your source indexes?
    Error: Port aircrack-ng not found

    I have installed xcode 3 and macports on snow leopard.

    Suggestions?

    ReplyDelete
  57. Quoted:

    New Rules for Comments:
    Please use a name other than "Anonymous" See Name/url . Any name, even Max the Cat will do. Will do only once.
    Please State your OS, Version, etc. Don't forget to state your OS.
    Max 3 questions. If we need to ask you what is your OS, that will be one, 2 left

    ReplyDelete
  58. i have the lion Mac OS 10.7.2 i wish to know if installing aircrack will work on m OS....???

    ReplyDelete
  59. hi, im trying to learn how to even install aircrack, but whenever I get to "sudo port install aircrack-ng" Terminal comes back with "command 'port' not found" what am i doing wrong?

    ReplyDelete
  60. Nick,
    Quoted:
    New Rules for Comments:
    -- Please State your OS, Version, etc. Don't forget to state your OS.
    -- Max 3 questions. If we need to ask you what is your OS, that will be one, 2 left.
    Thank you.

    ReplyDelete
  61. Ok, I HAVE to figure this out before I throw my computer out the window. So I realize that at some point you must have to create a directory folder and a file (dicfile.txt) ?? to have the info go.

    I have a Macbook Pro with Lion and I have everything installed correctly (Macports, Aircrack etc.) and I feel like I followed the FAQS pretty good but can't seem to get the starting point off the ground if that makes sense. Don't you have to create what I said above so that the info you gather goes there? Maybe I am totally confused.

    I am saying when you start out the process don't you have to create the place where the info will go or does air crack do that for you?

    ReplyDelete
  62. Luke,
    because you mention a dictionary file, I suppose that you are attempting, most likely, to recover a WPA key.

    aircrack-ng ~/Desktop/dumplog -w ~/Desktop/Dicfile.txt

    aircrack-ng [path to the capture file] -w [path to the dictionary file]

    ReplyDelete
  63. what about lion-OS ? does it have macport ? cause macport for SnowLeopard cant use @ LionOS

    ReplyDelete
  64. Perfect use of LMGFY: http://bit.ly/y7S8QL

    ReplyDelete
  65. is there another way of installing this? I am on a Macbook air, so I don't have a install CD, and the USB thing that came instead doesn't have "optional install"

    ReplyDelete
  66. Hi guys, Im having some difficulties installing Aircrack.
    Im using a Macbook Pro late 2009 running with Lion. I've already installed Xcode 4.1 and the latest Macports. But when I'm trying to install Aircrack, i get the following error:

    Warning: The Command Line Tools for Xcode don't appear to be installed; most ports will likely fail to build.
    Warning: See http://guide.macports.org/chunked/installing.xcode.html for more information.
    ---> Computing dependencies for aircrack-ngError: Unable to execute port: can't read "build.cmd": Failed to locate 'make' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it?
    To report a bug, see

    Please help me, thanks in advance!

    ReplyDelete
    Replies
    1. Hi Daniel... i have the same problem...

      Delete
    2. Daniel, I have exactly the same problem as you.

      Delete
    3. Daniel and Pietr0

      A post above asked "what about lion-OS ? does it have macport ? cause macport for SnowLeopard cant use @ LionOS"
      the answer was:
      Perfect use of LMGFY: http://bit.ly/y7S8QL

      Does that apply to you guys too?

      Delete
  67. Hi guys !
    i also have a prob installing aircrack...i get the following msg :

    ---> Computing dependencies for aircrack-ngError: Unable to execute port: invalid command name "installs_libs"
    To report a bug, see

    any thoughts? thx in advance

    p.s.noob here :P

    ReplyDelete
  68. i think i succesfully installed it.but evrytime i type aircrack-ng or aircrack-ng dumplog -w dicfile.txt it always saying "Opening dumplog
    open failed: No such file or directory
    Read 0 packets.

    No networks found, exiting." im using snow leopard 10.6,and i have kismac installed to...pls help...

    ReplyDelete
  69. Probably because "dumplog" is an example.
    Quoted:
    "Just start by a simple: aircrack-ng dumplog (dumplog being the name of the capture file, with path if necessary)"

    ReplyDelete
  70. Hello Admin,
    got a problem during installation. It says: Error: Target org.macports.build returned: shell command failed
    got a hint for me?
    Thanks!

    macBook unibody 5.1 snow leopard, xcode 3.2, macports (new version)

    ReplyDelete
  71. re -read the Rules For Comments and apply.

    ReplyDelete
  72. thanks alot for your guide, i couldn't crack my wep with kismac, took aircrack just 14,000 iv's and about 5 secs to do it

    ReplyDelete
  73. 14,000 is extremely low, you were lucky ;-)

    ReplyDelete
  74. i also have a prob installing aircrack...i get the following msg :

    ---> Computing dependencies for aircrack-ngError: Unable to execute port: invalid command name "installs_libs"
    To report a bug, see
    i installed macports with no prob.

    any ideas?thank you

    ReplyDelete
  75. re-read "the Rules For Comments" and apply.

    ReplyDelete
  76. Hey,

    I'm having an issue installing aircrack. I'm running OS X 10.7.3, and I've installed the most up to date versions of Xcode and macports. When I follow the commands listed here to install aircrack, it comes back with "sudo: port: command not found" after I enter my password. I've tried dropping the "port" command, and it gives me this:

    usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
    [-o owner] file1 file2
    install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
    [-o owner] file1 ... fileN directory
    install -d [-v] [-g group] [-m mode] [-o owner] directory ...

    I'm pretty new to using terminal for this type of thing, so I'm good and lost at this point, any help you could give me would be great.

    Thanks.

    ReplyDelete
  77. "usage:" tells you how to use properly the command
    As you mention "I'm pretty new to using terminal for this type of thing", please note that with Terminal and *Nix systems a SINGLE character difference can have major implications; i.e a space.
    In your case, the most probable cause is : http://charles.lescampeurs.org/2008/08/05/sudo-port-command-not-found

    Google is your friend. use it wisely

    ReplyDelete
  78. Hey again, I've gotten past my earlier issue, but I've run into another one. Still running OS X 10.7.3, and everything seems to work, but when I try to load a dumplog, it gives me a permission denied error. I've tried using different dumplogs, and they're all unlocked, but nothing seems to help.

    ReplyDelete
  79. permission denied error

    This is not Aircrack related, it's your settings. see sharing and permissions
    Google the "CHOW" command or do a CMD I on the file(s)

    ReplyDelete