install_aircrack
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
install_aircrack [2016/02/15 02:50] – [Compiling on FreeBSD] Updated formatting and instructions for FreeBSD mister_x | install_aircrack [2017/10/15 23:29] – [Installing on Mac OSX] Updated OSX instructions mister_x | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Installing Aircrack-ng from Source ====== | ====== Installing Aircrack-ng from Source ====== | ||
===== Requirements ===== | ===== Requirements ===== | ||
- | ==== Linux ==== | ||
- | | + | * OpenSSL |
- | + | ||
- | sudo apt-get install build-essential | + | |
- | + | ||
- | | + | |
* pkg-config | * pkg-config | ||
- | \\ | + | * make - gmake on *BSD, Solaris and OSX. |
- | The following is required only if you want [[Airolib-ng]]: | + | * gcc or clang |
+ | * PCRE development package | ||
+ | * Sqlite3 development package (>=3.317 but 3.6X+ is recommended) | ||
- | * [[http:// | + | ==== Linux ==== |
- | ==== Windows ==== | + | * Airmon-ng requires ethtool and rfkill |
+ | * LibNetlink 1 (libnl-dev) or 3 (libnl-3-dev and libnl-genl-3-dev) development packages | ||
+ | * Kernel headers and gcc as well as make have to be installed on your system (build-essential on Debian based distributions) | ||
- | It requires additional libraries to be installed: | + | ==== Windows |
- | * [[http:// | + | |
- | \\ | + | |
- | The following is required only if you want [[Airolib-ng]]: | + | |
- | * SQLite3 (development) > 3.3.17 (but latest version | + | * w32api |
+ | * Airpcap: developer directory from the Airpcap CD. | ||
==== OS X ==== | ==== OS X ==== | ||
Line 38: | Line 35: | ||
* pcre | * pcre | ||
* sqlite3 | * sqlite3 | ||
+ | * gcc5 optional (50-70% speed gains compared to gcc 4) | ||
===== Compiling and installing ===== | ===== Compiling and installing ===== | ||
- | **Note:** For OS X, use ' | + | Notes: |
+ | | ||
+ | | ||
+ | * In order to compile with clang instead of gcc, add ' | ||
==== Current version ==== | ==== Current version ==== | ||
- | It requires some additional libraries: | + | wget http:// |
- | * OpenSSL (libssl-dev on Debian-based system) | + | tar -zxvf aircrack-ng-1.2-rc4.tar.gz |
- | * SQLite > 3.3.17 (latest version is recommended) if you want to use [[Airolib-ng]] | + | cd aircrack-ng-1.2-rc4 |
- | + | ||
- | wget http:// | + | |
- | tar -zxvf aircrack-ng-1.2-rc3.tar.gz | + | |
- | cd aircrack-ng-1.2-rc3 | + | |
make | make | ||
make install | make install | ||
Line 70: | Line 67: | ||
=== OS X === | === OS X === | ||
- | Change CFLAGS in src/ | ||
- | CFLAGS | + | It can be compiled either with XCode 7+ or with macports |
+ | |||
+ | Macports: | ||
- | to | + | gmake macport=true sqlite=true experimental=true pcre=true |
- | CFLAGS += -Iinclude -arch i386 -I/ | + | |
+ | XCode: | ||
+ | |||
+ | gmake xcode=true sqlite=true experimental=true pcre=true | ||
Line 85: | Line 86: | ||
make airpcap=true | make airpcap=true | ||
- | make install | + | make airpcap=true install |
- | + | ||
- | ==== Compiling with Airolib-ng and AirPcap support (cygwin only) ==== | + | |
- | + | ||
- | Simply append both parameter to make and make install: | + | |
- | + | ||
- | make sqlite=true | + | |
- | make sqlite=true install | + | |
==== Compiling on FreeBSD ==== | ==== Compiling on FreeBSD ==== | ||
Line 99: | Line 93: | ||
==== Latest SVN (development) Sources ==== | ==== Latest SVN (development) Sources ==== | ||
+ | |||
+ | **Note:** Compilation parameters can also be used with the sources from our subversion repository. | ||
svn co http:// | svn co http:// | ||
Line 104: | Line 100: | ||
make | make | ||
make install | make install | ||
- | |||
- | ==== Latest SVN with Airolib-ng support and experimental (unstable) programs (requires SQLite installed) ==== | ||
- | (like [[tkiptun-ng|Tkiptun-ng]], | ||
- | |||
- | make sqlite=true experimental=true | ||
- | make sqlite=true experimental=true install | ||
- | |||
- | ==== Latest SVN with Airolib-ng and and experimental (unstable) programs plus external scripts ==== | ||
- | (like [[airoscript-ng|Airoscript-ng]], | ||
- | |||
- | make sqlite=true experimental=true ext_scripts=true | ||
- | make sqlite=true experimental=true ext_scripts=true install | ||
- | |||
- | **Note:** Experimental scripts: | ||
- | * Each scripts has its own dependencies, | ||
==== Nightly Build ==== | ==== Nightly Build ==== | ||
Line 250: | Line 231: | ||
====== Installing on Mac OSX ====== | ====== Installing on Mac OSX ====== | ||
+ | |||
+ | **Important note**: airodump-ng and aireplay-ng will not work under OSX natively. Which means, injection and capture will have to use other means. If you have an intel Mac (any recent-ish Mac is), check out the VMware Fusion option which is mentioned lower on this page. | ||
The simplest and easiest way to install on Mac OS X is via [[http:// | The simplest and easiest way to install on Mac OS X is via [[http:// | ||
Line 255: | Line 238: | ||
Alternatively, | Alternatively, | ||
- | Make sure you have Xcode installed on your Mac, which can be found on the installer CD/DVD which came with your Mac. | + | - Make sure you have Xcode installed on your Mac, which can be found on the installer CD/DVD which came with your Mac (or downloaded). |
- | After getting the source you can do a simple "make && sudo make install" | + | |
- | When you use the stable, you need to rename the Makefile.osx to Makefile and when you use the dev version it will autodetect you are using Darwin and compile fine. | + | |
- | + | ||
- | Mind you, airodump-ng and aireplay-ng are linux only and will not work under OSX native, so for reinjecting and sniffing you will have to use other means. | + | |
- | + | ||
- | If you have an intel Mac check out the VMware Fusion option which is mentioned lower on this page. | + | |
Optional is openssl-dev and sqlite3 which can be installed through fink | Optional is openssl-dev and sqlite3 which can be installed through fink |
install_aircrack.txt · Last modified: 2023/03/03 16:47 by mister_x