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 revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
install_aircrack [2018/03/13 22:45] – [Latest SVN (development) Sources] Updated to Git mister_xinstall_aircrack [2018/04/16 01:24] – 1.2 release mister_x
Line 2: Line 2:
 ===== Requirements ===== ===== Requirements =====
  
-  * OpenSSL development package or libgcrypt development package (libssl-dev or libgcrypt20-dev on Debian based distributions). +  * Autoconf 
-  * pkg-config +  * Automake 
-  * make - gmake on *BSD, Solaris and OSX. +  * Libtool 
-  * gcc or clang +  * shtool 
-  * PCRE development package if SSID filtering with regular expressions is needed +  * OpenSSL development package or libgcrypt development package. 
-  * Sqlite3 development package (>=3.317 but 3.6X+ is recommended)+  * pkg-config (pkgconf on FreeBSD)
  
 ==== Linux ==== ==== Linux ====
  
   * Airmon-ng requires ethtool and rfkill   * Airmon-ng requires ethtool and rfkill
-  * LibNetlink 1 (libnl-dev) or 3 (libnl-3-dev and libnl-genl-3-dev) development packages+  * LibNetlink 1 (libnl-dev) or 3 (libnl-3-dev and libnl-genl-3-dev) development packages. It can be disabled by passing --disable-libnl to configure.
   * Kernel headers and gcc as well as make have to be installed on your system (build-essential on Debian based distributions)   * Kernel headers and gcc as well as make have to be installed on your system (build-essential on Debian based distributions)
 +  * make and Standard C++ Library development package (Debian: libstdc++-dev)
  
 ==== Windows (Cygwin) ==== ==== Windows (Cygwin) ====
Line 19: Line 20:
   * w32api is required   * w32api is required
   * Airpcap: developer directory from the Airpcap CD.   * Airpcap: developer directory from the Airpcap CD.
 +  * if using clang, libiconv and libiconv-devel
 +  * make and Standard C++ Library development package (Debian: libstdc++-dev)
  
 ==== OS X ==== ==== OS X ====
Line 27: Line 30:
   * sqlite3   * sqlite3
  
-==== FreeBSD ====+==== FreeBSD, OpenBSD, NetBSD, Solaris ====
  
 Install the following via pkg: Install the following via pkg:
Line 36: Line 39:
   * sqlite3   * sqlite3
   * gcc5 optional (50-70% speed gains compared to gcc 4)   * gcc5 optional (50-70% speed gains compared to gcc 4)
 +
 +===== Optional stuff =====
 +
 +  * 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 Airpcap, the 'developer' directory from the CD is required.
 +  * For best performance on FreeBSD (50-70% more), install gcc5 via: pkg install gcc5 Then compile with: gmake CC=gcc5 CXX=g++5
 +  * rfkill
 +
  
 ===== Compiling and installing ===== ===== Compiling and installing =====
  
 Notes: Notes:
-  * Most parameters can be combined. Refer to INSTALLING file for more details (and more parameters). 
   * On OS X, *BSD and Solaris, use 'gmake' instead of 'make'.   * On OS X, *BSD and Solaris, use 'gmake' instead of 'make'.
-  * In order to compile with clang instead of gcc, add 'CC=clang' to the make command.+  * In order to compile with clang instead of gcc, add 'CC=clang CXX=clang++' to the configure command.
  
 ==== Current version ==== ==== Current version ====
  
-   wget http://download.aircrack-ng.org/aircrack-ng-1.2-rc4.tar.gz +   wget http://download.aircrack-ng.org/aircrack-ng-1.2.tar.gz 
-   tar -zxvf aircrack-ng-1.2-rc4.tar.gz +   tar -zxvf aircrack-ng-1.2.tar.gz 
-   cd aircrack-ng-1.2-rc4+   cd aircrack-ng-1.2 
 +   autoreconf -i 
 +   ./configure --with-experimental
    make    make
    make install    make install
- 
-==== Compiling with Airolib-ng support ==== 
- 
-Simply append 'sqlite=true' parameter to make and make install: 
- 
-  make sqlite=true 
-  make sqlite=true install 
- 
-==== Compiling with PCRE support ==== 
- 
-Airodump-ng can match SSID with a regular expression when compiled with PCRE: 
- 
-  make pcre=true 
-  make pcre=true install 
- 
-=== OS X === 
- 
-It can be compiled either with XCode 7+ or with macports 
- 
-Macports: 
- 
-  gmake macport=true sqlite=true experimental=true pcre=true 
- 
- 
-XCode: 
- 
-  gmake xcode=true sqlite=true experimental=true pcre=true 
- 
  
 ==== Compiling with AirPcap support (cygwin only) === ==== Compiling with AirPcap support (cygwin only) ===
  
   - Copy 'developer' directory from the [[airpcap|AirPcap]] CD at the same level as 'Aircrack-ng' directory   - Copy 'developer' directory from the [[airpcap|AirPcap]] CD at the same level as 'Aircrack-ng' directory
-  - Append 'airpcap=true' parameter to make:+  - Append '--with-airpcap=../developer' parameter to configure:
  
-  make airpcap=true +==== Compiling on *BSD/OSX ====
-  make airpcap=true install +
- +
-==== Compiling on FreeBSD ====+
  
 Commands are exactly the same as Linux but instead of **make**, use **gmake** (or **CC=gcc5** or any other installed gcc version). Commands are exactly the same as Linux but instead of **make**, use **gmake** (or **CC=gcc5** or any other installed gcc version).
Line 102: Line 84:
   make   make
   make install   make install
- 
-==== Nightly Build ==== 
- 
-http://nightly.aircrack-ng.org/ contains a nightly tarball from each day. This is handy if you don't have access to SVN (subversion). Just download and build per building the current version instructions. Optionally you can enable the extra features with "sqlite=true" and "experimental=true" per above. 
  
 ==== Legacy ==== ==== Legacy ====
Line 114: Line 92:
    make    make
    make install    make install
 +
 +==== ./configure flags ====
 +
 +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-experimental**: needed to compile tkiptun-ng, easside-ng (and buddy-ng) and wesside-ng. Building besside-ng-crawler requires LibPCAP (development package). 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-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-duma**: Compile with DUMA support. DUMA is a library to detect buffer overruns and under-runs. Dependencies (debian): duma
 +
 +  * **with-xcode**: Set this flag to true to compile on OS X with Xcode 7+.
 +
 +  * **disable-libnl**: Set-up the project to be compiled without libnl (1 or 3). Linux option only.
 +
  
 ===== Troubleshooting Tips ===== ===== Troubleshooting Tips =====
install_aircrack.txt · Last modified: 2023/03/03 16:47 by mister_x