User Tools

Site Tools


install_aircrack

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
install_aircrack [2018/04/30 22:10]
mister_x Cleaned up page
install_aircrack [2018/09/30 02:37] (current)
mister_x 1.4
Line 10: Line 10:
   * shtool   * shtool
   * OpenSSL development package or libgcrypt development package.   * OpenSSL development package or libgcrypt development package.
-  * pkg-config ​(pkgconf on FreeBSD)+  * pkg-config
  
 ==== Linux ==== ==== Linux ====
Line 22: Line 22:
  
   * w32api is required   * w32api is required
-  * Airpcap: developer directory from the Airpcap CD. 
   * if using clang, libiconv and libiconv-devel   * if using clang, libiconv and libiconv-devel
-  * make and Standard C++ Library development package ​(Debian: libstdc++-dev)+  * make and Standard C++ Library development package
  
 ==== OS X ==== ==== OS X ====
  
-Install the following via macports:+Install the following via Homebrew (brew):
  
-  * gmake 3.81 +  * autoconf 
-  * sqlite3+  * automake 
 +  * libtool 
 +  * openssl 
 +  * shtool 
 +  * pkg-config
  
 ==== FreeBSD, OpenBSD, NetBSD, Solaris ==== ==== FreeBSD, OpenBSD, NetBSD, Solaris ====
Line 41: Line 44:
   * pcre   * pcre
   * sqlite3   * sqlite3
-  * gcc5 optional (50-70% speed gains compared to gcc 4)+  * gcc7 optional (50-70% speed gains with gcc 5 compared to gcc 4)
  
 ===== Optional stuff ===== ===== Optional stuff =====
Line 47: Line 50:
   * If you want SSID filtering with regular expression in airodump-ng (-essid-regex) pcre development package is required.   * If you want SSID filtering with regular expression in airodump-ng (-essid-regex) pcre development package is required.
   * If you want to use airolib-ng and '​-r'​ option in aircrack-ng,​ SQLite development package >= 3.3.17 (3.6.X version or better is recommended)   * If you want to use airolib-ng and '​-r'​ option in aircrack-ng,​ SQLite development package >= 3.3.17 (3.6.X version or better is recommended)
-  * If you want to use Airpcap, the '​developer'​ directory from the CD is required.+  * If you want to use Airpcap, the '​developer'​ directory from the CD is required. It can be downloaded [[https://​support.riverbed.com/​content/​support/​software/​steelcentral-npm/​airpcap.html|here]].
   * For best performance on FreeBSD (50-70% more), install gcc5 via: pkg install gcc5 Then compile with: gmake CC=gcc5 CXX=g++5   * For best performance on FreeBSD (50-70% more), install gcc5 via: pkg install gcc5 Then compile with: gmake CC=gcc5 CXX=g++5
   * rfkill   * rfkill
 +  * CMocka
 +  * hwloc: strongly recommended,​ especially on high core count systems where it may give a serious performance boost
  
  
Line 60: Line 65:
 ==== Current version ==== ==== Current version ====
  
-   ​wget ​http://​download.aircrack-ng.org/​aircrack-ng-1.2.tar.gz +   ​wget ​https://​download.aircrack-ng.org/​aircrack-ng-1.4.tar.gz 
-   tar -zxvf aircrack-ng-1.2.tar.gz +   tar -zxvf aircrack-ng-1.4.tar.gz 
-   cd aircrack-ng-1.2+   cd aircrack-ng-1.4
    ​autoreconf -i    ​autoreconf -i
    ​./​configure --with-experimental    ​./​configure --with-experimental
Line 73: Line 78:
   - Append '- -with-airpcap=../​developer'​ parameter to configure:   - Append '- -with-airpcap=../​developer'​ parameter to configure:
  
-==== Compiling on *BSD/OSX ====+==== Compiling on *BSD ====
  
-Commands are exactly the same as Linux but instead of **make**, use **gmake** (with **CC=gcc5 CXX=g++5** or any other installed ​gcc version).+Commands are exactly the same as Linux but instead of **make**, use **gmake** (with **CC=gcc5 CXX=g++5** or any more recent ​gcc version ​installed).
  
 +==== Compiling on OS X ====
 +
 +Commands are exactly the same as Linux
 ==== Latest Git (development) Sources ==== ==== Latest Git (development) Sources ====
  
Line 93: Line 101:
 When configuring,​ the following flags can be used and combined to adjust the suite to your choosing: When configuring,​ the following flags can be used and combined to adjust the suite to your choosing:
  
-  * **with-airpcap=DIR**:​ needed for supporting airpcap devices on windows (cygwin or msys2 only) Replace DIR above with the absolute location to the root of the extracted source code from the Airpcap CD or downloaded SDK available online.+  * **with-airpcap=DIR**:​ needed for supporting airpcap devices on windows (cygwin or msys2 only) Replace DIR above with the absolute location to the root of the extracted source code from the Airpcap CD or downloaded SDK available online. ​Required on Windows to build besside-ng, besside-ng-crawler,​ easside-ng, tkiptun-ng and wesside-ng when building experimental tools. The developer pack (Compatible with version 4.1.1 and 4.1.3) can be downloaded at https://​support.riverbed.com/​content/​support/​software/​steelcentral-npm/​airpcap.html
  
-  * **with-experimental**:​ needed to compile tkiptun-ng, easside-ng ​(and buddy-ngand wesside-ng. ​Building besside-ng-crawler requires LibPCAP (development package). On debian based distro, install libpcap-dev+  * **with-experimental**:​ needed to compile tkiptun-ng, easside-ngbuddy-ng, buddy-ng-crawler,​ airventriloquist ​and wesside-ng. ​libpcap ​development package ​is also required to compile most of the tools. If not present, not all experimental tools will be built. On Cygwin, libpcap is not present and the Airpcap SDK replaces it. See --with-airpcap option above. On debian based distro, install libpcap-dev
  
-  * **with-ext-scripts**:​ needed to build airoscript-ng,​ versuck-ng, airgraph-ng and airdrop-ng. Note: Experimental. ​Each script has its own dependences. Note: It's only required in install phase.+  * **with-ext-scripts**:​ needed to build airoscript-ng,​ versuck-ng, airgraph-ng and airdrop-ng. Note: Each script has its own dependencies. Note: It's only required in install phase.
  
   * **with-gcrypt**:​ Use libgcrypt crypto library instead of the default OpenSSL. And also use internal fast sha1 implementation (borrowed from GIT) Dependency (Debian): libgcrypt20-dev   * **with-gcrypt**:​ Use libgcrypt crypto library instead of the default OpenSSL. And also use internal fast sha1 implementation (borrowed from GIT) Dependency (Debian): libgcrypt20-dev
Line 107: Line 115:
   * **disable-libnl**:​ Set-up the project to be compiled without libnl (1 or 3). Linux option only.   * **disable-libnl**:​ Set-up the project to be compiled without libnl (1 or 3). Linux option only.
  
 +  * **without-opt**:​ Do not enable stack protector (on GCC 4.9 and above).
 +
 +  * **enable-shared**:​ Make OSdep a shared library.
 +
 +  * **disable-shared**:​ When combined with enable-static,​ it will statically compile Aircrack-ng.
 +
 +  * **with-avx512**:​ On x86, add support for AVX512 instructions in aircrack-ng. Only use it when the current CPU supports AVX512.
 +
 +  * **with-static-simd=**:​ Compile a single optimization in aircrack-ng binary. Useful when compiling statically and/or for space-constrained devices. Valid SIMD options: x86-sse2, x86-avx, x86-avx2, x86-avx512, ppc-altivec,​ ppc-power8, arm-neon, arm-asimd. Must be used with --enable-static --disable-shared. When using those 2 options, the default is to compile the generic optimization in the binary. **--with-static-simd** merely allows to choose another one.
  
 ===== Troubleshooting Tips ===== ===== Troubleshooting Tips =====
Line 141: Line 158:
   * Add the directories to your PATH.  See the one or more of the following web sites for details of how to do this:   * Add the directories to your PATH.  See the one or more of the following web sites for details of how to do this:
  
-   http://​www.linuxheadquarters.com/​howto/​basic/​path.shtml +   https://​www.cyberciti.biz/​faq/​howto-print-path-variable/​
-   http://​www.cyberciti.biz/​faq/​howto-print-path-variable/​+
    ​http://​www.troubleshooters.com/​linux/​prepostpath.htm    ​http://​www.troubleshooters.com/​linux/​prepostpath.htm
-   ​http://​linux.about.com/​od/​linux101/​l/​blnewbie3_1_4.htm 
  
   * Change to the particular directory with "​cd"​ and then run the commands from within the directory. Don't forget to add "​./"​ in front of each command.   * Change to the particular directory with "​cd"​ and then run the commands from within the directory. Don't forget to add "​./"​ in front of each command.
Line 156: Line 171:
 Open your package manager and install '​Aircrack-ng'​ package. Be sure to check that the version offered is up-to-date -- it often isn't. Open your package manager and install '​Aircrack-ng'​ package. Be sure to check that the version offered is up-to-date -- it often isn't.
  
-On OSX, install it is via [[http://​www.macports.org/​|Macports]]. Simply do "sudo port install aircrack-ng"​.+On OSX, install it is via [[https://​www.macports.org/​|Macports]]. Simply do "sudo port install aircrack-ng"​.
  
 ===== Windows ===== ===== Windows =====
Line 163: Line 178:
 Here are the steps to follow for Windows: Here are the steps to follow for Windows:
  
-  * Download the latest version of the Aircrack-ng suite for Windows to your PC. The link for the zip file can be found on the [[http://​aircrack-ng.org|Wiki home page]].+  * Download the latest version of the Aircrack-ng suite for Windows to your PC. The link for the zip file can be found on the [[https://​aircrack-ng.org|Wiki home page]].
  
   * Unzip the contents of the Aircrack-ng zip file into "​C:​\"​. This will create a directory called "​aircrack-ng-1.2-win"​. This directory name will vary based on the exact version that you downloaded. ​ This main directory contains three subdirectories - "​bin",​ "​src"​ and "​test"​.   * Unzip the contents of the Aircrack-ng zip file into "​C:​\"​. This will create a directory called "​aircrack-ng-1.2-win"​. This directory name will vary based on the exact version that you downloaded. ​ This main directory contains three subdirectories - "​bin",​ "​src"​ and "​test"​.
install_aircrack.1525119002.txt.gz · Last modified: 2018/04/30 22:10 by mister_x