install_aircrack
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| install_aircrack [2018/07/11 04:03] – [Compiling on *BSD/OSX] Updated instructions mister_x | install_aircrack [2024/06/20 10:32] (current) – [Linux/BSD/OSX] Fix typo in for installing with macports mister_x | ||
|---|---|---|---|
| Line 10: | Line 10: | ||
| * shtool | * shtool | ||
| * OpenSSL development package or libgcrypt development package. | * OpenSSL development package or libgcrypt development package. | ||
| - | * pkg-config | + | * pkg-config |
| ==== Linux ==== | ==== Linux ==== | ||
| * Airmon-ng requires ethtool and rfkill | * Airmon-ng requires ethtool and rfkill | ||
| + | * If USB bus is present, lsusb | ||
| + | * If PCI/PCIe bus is present, lspci | ||
| * 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. | * 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) | ||
| Line 22: | Line 24: | ||
| * 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 | * make and Standard C++ Library development package | ||
| - | ==== OS X ==== | + | ==== MacOS ==== |
| Install the following via Homebrew (brew): | Install the following via Homebrew (brew): | ||
| Line 36: | Line 37: | ||
| * shtool | * shtool | ||
| * pkg-config | * pkg-config | ||
| + | * hwloc | ||
| + | * pcre | ||
| + | * sqlite3 | ||
| + | * libpcap | ||
| + | * cmocka (optional) | ||
| ==== FreeBSD, OpenBSD, NetBSD, Solaris ==== | ==== FreeBSD, OpenBSD, NetBSD, Solaris ==== | ||
| Line 45: | Line 51: | ||
| * pcre | * pcre | ||
| * sqlite3 | * sqlite3 | ||
| - | * gcc7 optional | + | * gcc9 (or better) |
| ===== Optional stuff ===== | ===== Optional stuff ===== | ||
| Line 51: | Line 57: | ||
| * 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 ' | * If you want to use airolib-ng and ' | ||
| - | * If you want to use Airpcap, the ' | + | * If you want to use Airpcap, the ' |
| * 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 | * CMocka | ||
| + | * hwloc: strongly recommended, | ||
| Line 65: | Line 72: | ||
| ==== Current version ==== | ==== Current version ==== | ||
| - | | + | |
| - | tar -zxvf aircrack-ng-1.2.tar.gz | + | tar -zxvf aircrack-ng-1.7.tar.gz |
| - | cd aircrack-ng-1.2 | + | cd aircrack-ng-1.7 |
| | | ||
| | | ||
| make | make | ||
| make install | make install | ||
| + | | ||
| ==== Compiling with AirPcap support (cygwin only) === | ==== Compiling with AirPcap support (cygwin only) === | ||
| Line 80: | Line 88: | ||
| ==== Compiling on *BSD ==== | ==== 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 | + | Commands are exactly the same as Linux but instead of **make**, use **gmake** (with **CC=gcc5 CXX=g++5** or any more recent |
| - | ==== Compiling on OS X ==== | + | ==== Compiling on MacOS ==== |
| Commands are exactly the same as Linux | Commands are exactly the same as Linux | ||
| Line 95: | Line 103: | ||
| make | make | ||
| make install | make install | ||
| + | ldconfig | ||
| ==== ./configure flags ==== | ==== ./configure flags ==== | ||
| Line 101: | Line 109: | ||
| When configuring, | When configuring, | ||
| - | * **with-airpcap=DIR**: | + | * **with-airpcap=DIR**: |
| - | * **with-experimental**: | + | * **with-experimental**: |
| - | * **with-ext-scripts**: | + | * **with-ext-scripts**: |
| * **with-gcrypt**: | * **with-gcrypt**: | ||
| Line 115: | Line 123: | ||
| * **disable-libnl**: | * **disable-libnl**: | ||
| + | * **without-opt**: | ||
| + | |||
| + | * **enable-shared**: | ||
| + | |||
| + | * **disable-shared**: | ||
| + | |||
| + | * **with-avx512**: | ||
| + | |||
| + | * **with-static-simd=**: | ||
| + | |||
| + | * **enable-maintainer-mode**: | ||
| ===== Troubleshooting Tips ===== | ===== Troubleshooting Tips ===== | ||
| + | ==== error while loading shared libraries: libaircrack-ng.so.0 ==== | ||
| + | |||
| + | Run **ldconfig** as root or with " | ||
| + | |||
| ==== " | ==== " | ||
| Line 149: | Line 172: | ||
| * 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:// | + | https:// |
| - | http:// | + | |
| | | ||
| - | | ||
| * Change to the particular directory with " | * Change to the particular directory with " | ||
| Line 162: | Line 183: | ||
| ===== Linux/ | ===== Linux/ | ||
| - | Open your package manager and install ' | + | With the exception of Linux penetration testing distributions, |
| - | On OSX, install it is via [[http:// | + | On MacOS, install it is via [[https:// |
| ===== Windows ===== | ===== Windows ===== | ||
| Line 171: | Line 192: | ||
| 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:// | + | * Download the latest version of the Aircrack-ng suite for Windows to your computer. The link for the zip file can be found on the [[https:// |
| - | * Unzip the contents of the Aircrack-ng zip file into " | + | * Unzip the contents of the Aircrack-ng zip file into " |
| - | Prior to using the software, make sure to install the drivers for your particular wireless card. See this [[install_drivers# | + | Prior to using the software, make sure to install the drivers for your particular wireless card. See this [[install_drivers# |
| To now use the Aircrack-ng suite, start Windows Explorer and double click on **Aircrack-ng GUI.exe** inside " | To now use the Aircrack-ng suite, start Windows Explorer and double click on **Aircrack-ng GUI.exe** inside " | ||
| - | Alternatively, | + | Alternatively, |
| \\ | \\ | ||
| \\ | \\ | ||
install_aircrack.1531274609.txt.gz · Last modified: by mister_x
