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
Last revisionBoth sides next revision
install_aircrack [2020/01/26 00:49] – Updated for 1.6 mister_xinstall_aircrack [2022/05/11 02:51] – Aircrack-ng 1.7 mister_x
Line 27: Line 27:
   * make and Standard C++ Library development package   * make and Standard C++ Library development package
  
-==== OS X ====+==== MacOS ====
  
 Install the following via Homebrew (brew): Install the following via Homebrew (brew):
Line 37: Line 37:
   * shtool   * shtool
   * pkg-config   * pkg-config
 +  * hwloc
 +  * pcre
 +  * sqlite3
 +  * libpcap
 +  * cmocka (optional)
  
 ==== FreeBSD, OpenBSD, NetBSD, Solaris ==== ==== FreeBSD, OpenBSD, NetBSD, Solaris ====
Line 46: Line 51:
   * pcre   * pcre
   * sqlite3   * sqlite3
-  * gcc7 optional (50-70% speed gains with gcc 5 compared to gcc 4)+  * gcc9 (or better)
  
 ===== Optional stuff ===== ===== Optional stuff =====
Line 67: Line 72:
 ==== Current version ==== ==== Current version ====
  
-   wget https://download.aircrack-ng.org/aircrack-ng-1.6.tar.gz +   wget https://download.aircrack-ng.org/aircrack-ng-1.7.tar.gz 
-   tar -zxvf aircrack-ng-1.6.tar.gz +   tar -zxvf aircrack-ng-1.7.tar.gz 
-   cd aircrack-ng-1.6+   cd aircrack-ng-1.7
    autoreconf -i    autoreconf -i
    ./configure --with-experimental    ./configure --with-experimental
Line 85: Line 90:
 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). 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 ====+==== Compiling on MacOS ====
  
 Commands are exactly the same as Linux Commands are exactly the same as Linux
Line 127: Line 132:
  
   * **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.   * **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.
 +
 +  * **enable-maintainer-mode**: It is important to enable this flag when developing with Aircrack-ng. This flag enables additional compile warnings and safety features.
  
 ===== Troubleshooting Tips ===== ===== Troubleshooting Tips =====
Line 176: Line 183:
 ===== Linux/BSD/OSX ===== ===== Linux/BSD/OSX =====
  
-With the exception of Linux penetration testing distributions, packages are usually out of date (OS X is the exception). In this case, uninstalling the package and installing from sources is the recommended way to go.+With the exception of Linux penetration testing distributions, packages are usually out of date (MacOS is the exception). In this case, uninstalling the package and installing from sources is the recommended way to go.
  
-We offer packages for a number of Linux distributions in 64 bit thanks to [[https://packagecloud.io/aircrack-ng/|PackageCloud.io]] so you can use your distro's package manager to install and keep Aircrack-ng up to date:+We offer packages (statically compiled binaries) for any distribution that supports .deb or .rpm packages thanks to [[https://packagecloud.io/aircrack-ng/|PackageCloud.io]] so you can use your distro's package manager to install and keep Aircrack-ng up to date:
  
  
Line 196: Line 203:
 More details about them can be found in our [[https://aircrack-ng.blogspot.com/2018/10/aircrack-ng-packages.html|blog post]]. More details about them can be found in our [[https://aircrack-ng.blogspot.com/2018/10/aircrack-ng-packages.html|blog post]].
  
-On OSX, install it is via [[https://www.macports.org/|Macports]] or [[https://brew.sh/|brew]]. Simply do "brew install aircrack-ng" or "sudo ports install aircrack-ng"+On MacOS, install it is via [[https://www.macports.org/|Macports]] or [[https://brew.sh/|brew]]. Simply do "brew install aircrack-ng" or "sudo ports install aircrack-ng"
  
 ===== Windows ===== ===== Windows =====
install_aircrack.txt · Last modified: 2023/03/03 16:47 by mister_x