Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
install_aircrack [2018/07/11 03:52] – [OS X] Updated OSX requirements mister_x | install_aircrack [2018/07/11 22:00] – Updated requirements mister_x |
---|
* shtool | * shtool |
* OpenSSL development package or libgcrypt development package. | * OpenSSL development package or libgcrypt development package. |
* pkg-config (pkgconf on FreeBSD) | * pkg-config |
| * pcre development package for ESSID filtering in [[airodump-ng]] |
| * sqlite development package for [[airolib-ng]] and support for airolib-ng databases in [[aircrack-ng]] |
| |
==== Linux ==== | ==== Linux ==== |
- 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 other installed gcc version). |
| |
| ==== Compiling on OS X ==== |
| |
| Commands are exactly the same as Linux |
==== Latest Git (development) Sources ==== | ==== Latest Git (development) Sources ==== |
| |
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-ng) and 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-ng, buddy-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 |
* **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. |
===== Troubleshooting Tips ===== | ===== Troubleshooting Tips ===== |
==== "command not found" error message ==== | ==== "command not found" error message ==== |