airolib-ng
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| airolib-ng [2008/02/10 14:42] – Troubleshooting: Airolib-ng fails to open or create the database mister_x | airolib-ng [2019/04/15 19:07] (current) – Updated links to cowpatty mister_x | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Airolib-ng ====== | ====== Airolib-ng ====== | ||
| - | |||
| - | ++++++ IMPORTANT ++++++\\ | ||
| - | ++++++ IMPORTANT ++++++\\ | ||
| - | ++++++ IMPORTANT ++++++\\ | ||
| - | |||
| - | This functionality will be available in a future release. It is NOT available currently. | ||
| - | |||
| - | ++++++ IMPORTANT ++++++\\ | ||
| - | ++++++ IMPORTANT ++++++\\ | ||
| - | ++++++ IMPORTANT ++++++\\ | ||
| ===== Description ===== | ===== Description ===== | ||
| - | Airolib-ng is a tool for the aircrack-ng suite to store and manage essid and password lists, compute their Pairwise Master Keys (PMKs) and use them in WPA/WPA2 cracking. | + | Airolib-ng is an aircrack-ng suite tool designed |
| WPA/WPA2 cracking involves calculating the pairwise master key, from which the private transient key (PTK) is derived. | WPA/WPA2 cracking involves calculating the pairwise master key, from which the private transient key (PTK) is derived. | ||
| - | Calculating the PMK is very slow since it uses the pbkdf2 algorithm. | + | Calculating the PMK is very slow since it uses the pbkdf2 algorithm. |
| Computing the PMK is still required, yet we can: | Computing the PMK is still required, yet we can: | ||
| Line 30: | Line 20: | ||
| To learn more about coWPAtty: | To learn more about coWPAtty: | ||
| - | * [[http://www.churchofwifi.org/default.asp?PageLink=Project_Display.asp? | + | * [[https://www.willhackforsushi.com/?page_id=50|Will Hack For SUSHI > CoWPAtty]] |
| - | * [[http:// | + | * [[https:// |
| As stated above, this program requires the SQLite3 database environment. | As stated above, this program requires the SQLite3 database environment. | ||
| - | |||
| ===== Usage ===== | ===== Usage ===== | ||
| Line 54: | Line 43: | ||
| * - -verify [all] - Verify a set of randomly chosen PMKs. If the option ' | * - -verify [all] - Verify a set of randomly chosen PMKs. If the option ' | ||
| * - -export cowpatty {essid} {file} | * - -export cowpatty {essid} {file} | ||
| - | * - -import cowpatty {file} | + | * - -import cowpatty {file} |
| - | * - -import {essid|passwd} {file} | + | * - -import {essid|passwd} {file} |
| ===== Usage Examples ===== | ===== Usage Examples ===== | ||
| Line 182: | Line 171: | ||
| === SSID === | === SSID === | ||
| - | To import an ascii list of SSIDs, enter: | + | To import an ascii list of SSIDs and create the database if it does not exist, enter: |
| | | ||
| Line 188: | Line 177: | ||
| Where: | Where: | ||
| - | * testdb is the name of the database to be updated and this must already | + | * testdb is the name of the database to be updated and it will be created if it does not exist. |
| * - -import is the operation to be performed. | * - -import is the operation to be performed. | ||
| * essid indicates it is a list of SSIDs. | * essid indicates it is a list of SSIDs. | ||
| Line 200: | Line 189: | ||
| === Passwords === | === Passwords === | ||
| - | To import an ascii list of passwords, enter: | + | To import an ascii list of passwords |
| | | ||
| Line 206: | Line 195: | ||
| Where: | Where: | ||
| - | * testdb is the name of the database to be updated and this must already | + | * testdb is the name of the database to be updated and it will be created if it does not exist. |
| * - -import is the operation to be performed. | * - -import is the operation to be performed. | ||
| * passwd indicates it is a list of passwords. | * passwd indicates it is a list of passwords. | ||
| Line 219: | Line 208: | ||
| === Cowpatty tables === | === Cowpatty tables === | ||
| - | Enter: | + | Imports a cowpatty table and create the database if it does not exist, enter: |
| | | ||
| Line 225: | Line 214: | ||
| Where: | Where: | ||
| - | * testdb is the name of the database to be updated and this must already | + | * testdb is the name of the database to be updated and it will be created if it does not exist. |
| * - -import is the operation to be performed. | * - -import is the operation to be performed. | ||
| * cowpatty indicates it is a cowpatty table. | * cowpatty indicates it is a cowpatty table. | ||
| Line 256: | Line 245: | ||
| ===== Usage Tips ===== | ===== Usage Tips ===== | ||
| + | |||
| + | ==== Creating your own database example ==== | ||
| To test the tool yourself... | To test the tool yourself... | ||
| Line 261: | Line 252: | ||
| * get yourself the sqlite3 library and headers (latest version is recommended) | * get yourself the sqlite3 library and headers (latest version is recommended) | ||
| * get yourself the 1.0dev version of the aircrack-ng suite | * get yourself the 1.0dev version of the aircrack-ng suite | ||
| - | * import | + | * import |
| - | * import | + | |
| - | * start the batch process (" | + | |
| - | * crack your WPA/WPA2 handshake, e.g. " | + | |
| + | | ||
| + | | ||
| + | | ||
| + | |||
| + | * import | ||
| + | |||
| + | | ||
| + | | ||
| + | | ||
| + | |||
| + | * start the batch process (" | ||
| + | |||
| + | | ||
| + | |||
| + | * Check the database to confirm everything has been computed (" | ||
| + | |||
| + | There are 1 ESSIDs and 1 passwords in the database. 1 out of 1 possible combinations have been computed (100%). | ||
| + | |||
| + | | ||
| + | | ||
| + | |||
| + | * crack your WPA/WPA2 handshake, e.g. " | ||
| + | |||
| + | KEY FOUND! [ 12345678 ] | ||
| + | |||
| + | |||
| + | |||
| + | ==== Using a sample pre-made database ==== | ||
| + | |||
| + | Another way to test for yourself is to download a pre-made database called [[http:// | ||
| + | |||
| + | The commands are either of: | ||
| + | |||
| + | | ||
| + | | ||
| + | |||
| + | This should give you the passphase. | ||
| ===== Usage Troubleshooting ===== | ===== Usage Troubleshooting ===== | ||
| + | |||
| + | |||
| ==== Enabling Airolib-ng ==== | ==== Enabling Airolib-ng ==== | ||
| - | Airolib-ng is not compiled by default. | + | Airolib-ng is not compiled by default. |
| ==== Compile Error ==== | ==== Compile Error ==== | ||
| - | Although this is not a usage troublshooting | + | Although this is not a usage troubleshooting |
| gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=`../ | gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=`../ | ||
| Line 291: | Line 322: | ||
| The solution is to move airolib-ng and its database in another directory without these special characters. | The solution is to move airolib-ng and its database in another directory without these special characters. | ||
| + | |||
| + | ==== " | ||
| + | |||
| + | This error message may occur when importing passwords or ESSIDs. | ||
| + | |||
| + | * Passwords must have a length of 8 through 63 characters | ||
| + | * ESSIDs must have a length of 1 through 32 characters | ||
| + | |||
| + | ==== " | ||
| + | |||
| + | If you subsequently run aircrack-ng and only receive " | ||
| + | |||
airolib-ng.1202650957.txt.gz · Last modified: by mister_x
