Aircrack-ng forum

Please login or register.

Login with username, password and session length
Advanced search  


Aircrack-ng 1.7 release

Author Topic: Why use .cap file to crack wpa  (Read 3682 times)


  • Newbie
  • *
  • Offline Offline
  • Posts: 1
Why use .cap file to crack wpa
« on: May 27, 2020, 07:36:31 am »


Im wondering why to use .cap file in aircrack-ng ? If I understood correctly the only way to crack wpa is a brute force method associated with a list of possible passwords. If this is correct, what are doing the .cap files in this process ?

Could somebody also confirm without the exact password in the password list, it is impossible to find the key ? I tried to put in my password list some fragments of my key but aircrack haven't been able to put them together to recreate the full key.

Thanks in advance.


  • Aircrack-ng Author
  • Administrator
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1937
  • Aircrack-ng Author
    • Aircrack-ng
Re: Why use .cap file to crack wpa
« Reply #1 on: May 27, 2020, 04:41:53 pm »

In order to connect to a WPA network, you need to do a handshake to create temporary keys for the session. They are changed once in a while, so they don't last forever. During this handshake, random numbers are generated by the station and the AP, which are used in the process to create the temporary keys, along with SSID, passphrase and MAC addresses).

These temporary keys are hashes, which are one way function. What we're doing when cracking is taking all that information along with the passphrase we're trying, then computing it and seeing if it matches some value in the handshake.

A quick google search gave me this which looks like has some more information and resources about the handshake:

+ Quick Reply