language
stringlengths 0
24
| filename
stringlengths 9
214
| code
stringlengths 99
9.93M
|
---|---|---|
aircrack-ng/.clang-format | ---
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignOperands: true
AlignTrailingComments: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: All
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: true
AlwaysBreakBeforeMultilineStrings: false
BinPackArguments: false
BinPackParameters: false
BreakBeforeBinaryOperators: All
BreakBeforeBraces: Allman
BreakBeforeTernaryOperators: true
ColumnLimit: 80
ContinuationIndentWidth: 4
IndentCaseLabels: true
IndentWidth: 4
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
PointerAlignment: Middle
ReflowComments: false
SortIncludes: false
SpaceAfterCStyleCast: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: false
SpacesInAngles: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
Standard: Cpp11
TabWidth: 4
UseTab: Always |
|
aircrack-ng/.codespellrc | [codespell]
skip = *.patch,./LICENSE.OpenSSL,./test/password.lst,./test/password-2.lst,./test/password-3.lst,
ignore-words-list = aci,ba,curent,datas,inout,keep-alives,nnumber,overthere,parm,parms,ue,varian,wan |
|
aircrack-ng/.coverityignore | apparmor/
contrib/
manpages/
patches/
scripts/
.github/
.vscode/
.clang-format
.editorconfig
.gitignore
.pre-commit-config.yaml
AC_VERSION.in
AUTHORS
centos_autotools.sh
ChangeLog
docker_package_install.sh
Dockerfile
Dockerfile.release
INSTALLING
LICENSE.OpenSSL
README
SECURITY.md |
|
aircrack-ng/.editorconfig | [*]
charset=utf-8
end_of_line=lf
insert_final_newline=false
indent_style=tab
indent_size=4
[{*.c,*.cp,*.cc,*.hpp,*.cpp,*.tcc,*.hp,*.cxx,*.icc,*.mm,*.hxx,*.ii,*.hh,*.m,*.i,*.h,*.h++,*.c++,*.pch,*.inl}]
indent_style=tab
indent_size=4
insert_final_newline=false
[{CMakeLists.txt,*.cmake}]
indent_style=space
indent_size=2
[{Makefile.*,Makefile,GNUmakefile,makefile,*.mk}]
indent_style=tab
tab_width=2
[{*.yml,*.yaml}]
indent_style=space
indent_size=2
[appveyor.yml]
end_of_line=crlf |
|
aircrack-ng/.gitignore | /*-ng
/besside-ng-crawler
/ivstools
/kstats
/wpaclean
src/osdep/.os.Linux
src/osdep/libosdep.a
src/tags
tags
*.a
*.so
*.dll
*.o
*.exe
*.log
*.trs
*.zip
*.tar.*
common.cfg
Makefile.in
aclocal.m4
autom4te.cache/
compile
/config.h
/config.h.in
config.guess
config.log
config.status
config.sub
configure
install-sh
libtool
ltmain.sh
missing
reautogen.sh
src/Makefile.in
*.lo
.deps
.libs
.dirstamp
/depcomp
/aminclude_static.am
/stamp-h1
*.la
*.gcda
*.gcno
*.orig
/test-driver
/**/*-coverage.info
/**/*-coverage
/**/*.log
/**/*.trs
/scripts/airdrop-ng/build
/scripts/airgraph-ng/build
/test-calc-4pmk
/test-calc-mic
/test-calc-pmk
/test-calc-ptk
/test-cipher-arcfour
/test-decrypt-ccmp
/test-digest-md5
/test-digest-sha1
/test-encrypt-ccmp
/test-encrypt-wep
/test-hex_string_to_array
/test-kdf-pbkdf2-hmac-sha1
/test-mac-hmac-md5
/test-mac-hmac-sha1
/test-mac-hmac-sha256
/build/m4/stubs/*
!/build/m4/stubs/.gitkeep
/test/test-env.sh
/.idea
/.clang_complete
CMakeLists.txt
/cmake-build-*
*.gcda
*.gcno
Makefile
!/contrib/commview/Makefile
!/contrib/airpcap/Makefile
!/contrib/peek/Makefile
!/scripts/airgraph-ng/lib/Makefile
/scripts/airmon-ng
/benchmark.csv
/.cccc
/cccc.opt
/.scannerwork
/.bash_history
/.cproject
/.lesshst
/.project
/.rpmdb
/.settings
benchmark*.csv
/bw-output
compile_commands.json
coverage*.info
/test/cryptounittest/default.profraw
/test-calc-one-pmk
/test-string-has-suffix
/test-wpapsk
/test-wpapsk-cmac
/test-circular-buffer
/test-circular-queue
/GPATH
/GRTAGS
/GSYMS
/GTAGS
/VERSION
/AC_VERSION
/aminclude_static.am
/config.h
/config.h.in
/include/aircrack-ng/version.h
/manpages/*.1
/manpages/*.8
/.ccls-cache
/.cache
/.gdb_history
/cscope*
/strace_out
/.clangd
/r*hs
/r*hs-bad
/r*tr
/r*tr-bad
*~
*.pidb
/.vscode/settings.json
/infer-out/ |
|
YAML | aircrack-ng/.pre-commit-config.yaml | ---
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
exclude: >
(?x)^(
.github/|AUTHORS|ChangeLog|INSTALLING|LICENSE|README|
appveyor.yml|build/airpcap.dll.def|contrib/|lib/csharp|
lib/radiotap|include/aircrack-ng/third-party|patches/|
test/|scripts/|manpages/|apparmor/
)
fail_fast: false
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: trailing-whitespace
exclude_types: [asm]
- id: check-added-large-files
- id: mixed-line-ending
exclude_types: [asm]
- id: check-byte-order-marker
- id: check-executables-have-shebangs
- id: check-merge-conflict
- repo: https://github.com/pocc/pre-commit-hooks
rev: v1.3.5
hooks:
- id: clang-format
args: ["--style=file", "-i"]
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.7.2.1
hooks:
- id: shellcheck
files: 'test/|scripts/|build/'
- repo: https://github.com/hadolint/hadolint
rev: v2.12.0
hooks:
- id: hadolint
files: 'Dockerfile|Dockerfile.release' |
aircrack-ng/AUTHORS | Original Author
===============
Thomas d'Otreppe <[email protected]>
Contributors
============
* Zero Chaos
- Airmon-ng maintainer
- Occasional driver patch fixer
- Driver tester
* Joseph Benden <[email protected]>
- Instituted the project's coding style & formatting guidelines
- Performed conversion from Subversion and Trac to GitHub
- Continuous Integration: Buildbot system as well as AppVeyor setup and tuning TravisCI
- Converted project from Makefiles to an Autotools-based build
- Forged the WPA cracking engine; capable of linearly scaling up to at least 96 cores
- Dynamically utilize the best SIMD instructions, at run-time, instead of build-time
- Improved compilation on non-x86 platforms
- Fixed many issues relating to SIMD on non-x86 architectures
* Levert
- Initial Subversion, trac and buildbot set-up
* Andrea Bittau
- osdep: OS-dependant capture/injection layer conditionally (OS) compiled
* hirte (Martin Beck) <[email protected]>
- Aircrack-ng: implementation of PTW, KoreK attack speedup
- Aireplay-ng: Fragmentation attack, Shared Key Authentication attack,
injection test, hirte attack, Caffe Latte, Client Fragmentation,
using two wireless interfaces in aireplay-ng (one for capture, one for injection)
- Airodump-ng: Screen formatting and layout improvements
- ieee80211 and mac80211 driver patches and driver-related changes/fixes in the tools
- osdep improvements (mac80211 among other things) and fixes
- New tools: airtun-ng, tkiptun-ng, airserv-ng, airdriver-ng, airbase-ng
- IVS file format
- airmon-ng improvements
- Partial handshake cracking and detection
* Carlos Lopez <[email protected]>
- Added support for gcrypt instead of openssl
- Crypto unit tests and tests for other tools
- Manpage reorganization and improvements
- Makefile fixes and improvements
- Travis CI set-up
- Airodump-ng: --manufacturer, --wps options
* DarkAudax
- Wiki: Documentation and tutorials
- Added unit tests
* ASPj (Pedro Larbig)
- Driver-related fixes
- New tools: Airtun-ng
- ieee80211 driver patches (ipw3945, rt73, rt2570, prism2)
- MDK3
- WDS support in different tools
- besside-ng-crawler
* Leandro Meiners <[email protected]/gmail.com>
and Diego Sor <[email protected]/[email protected]>
- WPA Migration mode attack and documentation
* nathanh2011
- Revamped GPS logging functionality and added logcsv format
* XayOn
- Airoscript-ng
- Airgraph-ng and airdrop-ng improvements
* Daouid
- Airoscript
* Chris Lundquist
- Aircrack-ng: Crack HCCAPx files
- Aircrack-ng: Improve loading speed of large capture files
- Aircrack-ng: Improve processing speed of large capture files
* kimocoder (Christian B.) <[email protected]>
- rtl8812au driver
* dzk|kuro <[email protected]>
- Initial capture/injection on BSD
* Erik Tews <[email protected]>
- Author of PTW attack
* Loris Degioanni
- Airpcap support
* NetRoller3D
- mac80211 driver patches and related fixes/improvements in osdep
- Airmon-ng fixes
- Radiotap support (and PPI detection) in various tools
- Airdriver-ng improvements
* Moshe Kaplan
- Coverity Scan set-up
- Memory leak and other fixes
- AppArmor profiles
* TheX1le (Ben Smith)
- airgraph-ng
- versuck-ng
- airdrop-ng
* nx5 (Alvaro Salmador) <[email protected]>
- Aircrack-ng: WPA SSE2 implementation
* Len White
- Aircrack-ng: WPA AVX/AVX2 code porting from JTR
* Tim de Waal
- Airventriloquist-ng
Thanks to
=========
Alon Bar-Lev <[email protected]>
Almantsas
Jano
yh0- <[email protected]>
Darko Sancanin <[email protected]>
Fabrice Fontaine
Julian Tyler
LatinSud aka SuD
layoyo
Marohiver
Michael Buesch <[email protected]>
myst404
Ryan Schmidt
neheb (Rosen Penev)
San Foxman
Samuel Henrique
tjt263
ZhaoChunsheng
Kyle Fuller <[email protected]>
SemiSkimmedSteve
mnt
XBM5
Raúl Calvo Laorden
Lars Engels
darkfires
Marks
Mathy Vanhoef
Wojciech Waga
Gustavo Zacarias
steev
rmh
Arnaud Fontaine
beini
yadox
Ramiro Polla
matrix.use.linux
m4tr1x
dan
Christoph J. Thompson
stsp
Edgan
Wiz
Wouter van Kesteren
buzzsaw
slyfox
Sergei Trofimovich
mrpisto
Paul Fertser
impulse32
jeroenimo
iceblox
Ludovic Drolez
Christian Mock
Weedy
... and to anybody else who contributed, who, sometimes wishes to remain anonymous. |
|
Shell Script | aircrack-ng/autogen.sh | #!/bin/sh
#
# Aircrack-ng
#
# Copyright (C) 2017 Joseph Benden <[email protected]>
#
# Autotool support was written by: Joseph Benden <[email protected]>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
#
# In addition, as a special exception, the copyright holders give
# permission to link the code of portions of this program with the
# OpenSSL library under certain conditions as described in each
# individual source file, and distribute linked combinations
# including the two.
#
# You must obey the GNU General Public License in all respects
# for all of the code used other than OpenSSL.
#
# If you modify file(s) with this exception, you may extend this
# exception to your dnl version of the file(s), but you are not obligated
# to do so.
#
# If you dnl do not wish to do so, delete this exception statement from your
# version.
#
# If you delete this exception statement from all source files in the
# program, then also delete it here.
set -euf
test -n "${srcdir:-}" || srcdir="$(dirname "$0")"
test -n "${srcdir:-}" || srcdir=.
cd "$srcdir"
missing_tool()
{
_prog="$1"
_env="$2"
echo "Could not auto-detect '${_prog}'; please install or specify the '${_env}' environment variable."
exit 1
}
if [ -z "${LIBTOOLIZE:-}" ]; then
if which libtoolize >/dev/null 2>/dev/null; then
LIBTOOLIZE="$(which libtoolize 2>/dev/null)"
elif which glibtoolize >/dev/null 2>/dev/null; then
LIBTOOLIZE="$(which glibtoolize 2>/dev/null)"
else
missing_tool libtoolize LIBTOOLIZE
fi
fi
if [ -z "${ACLOCAL:-}" ]; then
if which aclocal >/dev/null 2>/dev/null; then
ACLOCAL="$(which aclocal 2>/dev/null)"
else
missing_tool aclocal ACLOCAL
fi
fi
if [ -z "${AUTOCONF:-}" ]; then
if which autoconf >/dev/null 2>/dev/null; then
AUTOCONF="$(which autoconf 2>/dev/null)"
else
missing_tool autoconf AUTOCONF
fi
fi
if [ -z "${AUTOHEADER:-}" ]; then
if which autoheader >/dev/null 2>/dev/null; then
AUTOHEADER="$(which autoheader 2>/dev/null)"
else
missing_tool autoheader AUTOHEADER
fi
fi
if [ -z "${AUTOMAKE:-}" ]; then
if which automake >/dev/null 2>/dev/null; then
AUTOMAKE="$(which automake 2>/dev/null)"
else
missing_tool automake AUTOMAKE
fi
fi
"$LIBTOOLIZE" --force --copy --automake
"$ACLOCAL" -I build/m4/stubs -I build/m4 ${ACLOCAL_FLAGS:-}
"$AUTOCONF"
"$AUTOHEADER"
"$AUTOMAKE" \
--gnu --add-missing --force --copy \
-Wno-portability -Wno-portability
{ cat <<EOF
#!/usr/bin/env bash
./autogen.sh "$@" "\$@"
EOF
} > reautogen.sh
chmod +x reautogen.sh
if [ -n "${NOCONFIGURE:-}" ]; then
echo "Done. ./configure skipped."
exit $?
fi
exec ./configure "$@" |
Shell Script | aircrack-ng/centos_autotools.sh | #!/bin/sh
# Install newer version of autotools, automake, libtool, and pkgconfig on CentOS 7
if [ ! -f /etc/os-release ]; then
echo 'os-release not present, aborting'
exit 1
fi
. /etc/os-release
# Untested on Red Hat
if [ "x${ID}" != 'xcentos' ] && [ "x${ID}" != 'xredhat' ]; then
echo 'OS is not CentOS or Red Hat, aborting'
exit 1
fi
if [ "x${VERSION_ID}" != 'x7' ]; then
echo "Invalid CentOS/Red Hat version. Expected 7, got ${VERSION_ID}, aborting"
exit 1
fi
yum install epel-release
# Install packages if not already present
# Yeah, automake is required to build a newer version of automake
PACKAGES="tar glib2-devel gcc gcc-c++ make m4 perl-Data-Dumper help2man automake"
NB_INSTALLED_PKG=$(yum list install ${PACKAGES} | sed -n '/Installed Packages/,$p' | wc -l)
# Count includes the "Installed Packages" line, so decreasing count by 1
NB_INSTALLED_PKG=$((NB_INSTALLED_PKG-1))
NB_PKG=$(echo ${PACKAGES} | wc -w)
[ ${NB_PKG} -ne ${NB_INSTALLED_PKG} ] && yum install ${PACKAGES}
autoconf_version=2.69
automake_version=1.16.1
libtool_version=2.4.6
pkgconf_version=0.29
TMP_DIR=$(mktemp -d)
cd ${TMP_DIR}
echo "Installing autoconf ${autoconf_version}"
curl -L http://ftp.gnu.org/gnu/autoconf/autoconf-${autoconf_version}.tar.xz > autoconf-${autoconf_version}.tar.xz \
&& tar xJf autoconf-${autoconf_version}.tar.xz \
&& cd autoconf-${autoconf_version} \
&& ./configure --prefix=/usr/local \
&& make \
&& make install \
&& cd ..
# Requires autoconf 2.65+
echo "Installing automake ${automake_version}"
curl -L http://ftp.gnu.org/gnu/automake/automake-${automake_version}.tar.xz > automake-${automake_version}.tar.xz \
&& tar xJf automake-${automake_version}.tar.xz \
&& cd automake-${automake_version} \
&& ./configure --prefix=/usr/local \
&& make \
&& make install \
&& cd ..
echo "Installing libtool ${libtool_version}"
curl -L http://ftp.gnu.org/gnu/libtool/libtool-${libtool_version}.tar.xz > libtool-${libtool_version}.tar.xz \
&& tar xJf libtool-${libtool_version}.tar.xz \
&& cd libtool-${libtool_version} \
&& ./configure --prefix=/usr/local \
&& make \
&& make install \
&& cd ..
echo "Installing pkg-config ${pkgconf_version}"
curl -L https://pkg-config.freedesktop.org/releases/pkg-config-${pkgconf_version}.tar.gz > pkg-config-${pkgconf_version}.tar.gz \
&& tar xzf pkg-config-${pkgconf_version}.tar.gz \
&& cd pkg-config-${pkgconf_version} \
&& ./configure --prefix=/usr/local --libdir=/usr/lib64 \
&& make \
&& make install \
&& cd ..
echo 'Done' |
aircrack-ng/ChangeLog | Version 1.7 (changes from aircrack-ng 1.6) - Released 10 May 2022:
* Airdecap-ng: Endianness fixes
* Airdecap-ng: Output PCAP as little endian
* Airodump-ng: Fixed blank encryption field when APs have TKIP (and/or CCMP) with WPA2
* Airodump-ng: Updated encryption filter (-t/--encrypt) for WPA3 and OWE
* Airodump-ng: Fixed out-of-order timestamp captures
* Airodump-ng: Ignore NULL PMKID
* Airodump-ng: Fixed dropping management frames with zeroed timestamp
* Airodump-ng: Fixed sorting where sometimes it started with a different field
* Airodump-ng: Allow setting colors only in AP selection mode
* Airodump-ng: Fix crash on 4K Linux console
* Airodump-ng: Fixed issue where existing clients not linked to an AP become hidden when hitting 'o'
* Airodump-ng: Allow use of WiFi 6E 6GHz frequencies
* Airodump-ng: Look for oui.txt in /usr/share/hwdata
* Airgraph-ng: Fixed graphviz package conflict
* Airgraph-ng: Fixed downloading OUI with python3
* Airgraph-ng: Ensure support/ directory is created when installing
* Aircrack-ng: Fixed static compilation
* Aircrack-ng: Fix handshake replay counter logic
* Aircrack-ng: Handle timeout when parsing EAPOL
* Aircrack-ng: Fixed WEP display
* Aircrack-ng: Fixed spurious EXIT messages
* Aircrack-ng: Improved handshake selection by fixing EAPOL timing and clearing state
* Aircrack-ng: Ignore NULL PMKID
* Aircrack-ng: Added Apple M1 detection
* Aireplay-ng: In test mode, detect tampering of sequence number by firmware/driver
* Aireplay-ng: Fixed incorrectly rewritten loops affecting fragmentation attack, and in some cases, SKA fake auth
* Aireplay-ng: Fixed a bunch of instances where packets had their duration updated instead of the sequence number
* Airmon-ng: Fix avahi killing
* Airmon-ng: rewrite service stopping entirely
* Airmon-ng: Codestyle fixes and code cleanup
* Airmon-ng: Added a few Raspberry Pi hardware revisions
* Airmon-ng: Fixes for 8812au driver
* Airmon-ng: Fix iwlwifi firmware formatting
* Airmon-ng: Remove broken KVM detection
* Airmon-ng: Show regdomain in verbose mode
* Airmon-ng: Updated Raspberry Pi hardware revisions
* Airmon-ng: Document frequency usage
* Airmon-ng: Add a sleep to help predictable names due to udev sometimes renaming interface
* Airmon-ng: Added warning for broken radiotap headers in kernel 5.15 to 5.15.4
* Airmon-ng: shellcheck fixes
* Airmon-ng: support systemctl as some systems don't support 'service' anymore
* Airmon-ng: Fixes for pciutils 3.8, backward compatible
* Airbase-ng: use enum for frame type/subtype
* Airbase-ng: remove a few IE in association responses
* Besside-ng: Support and detect all channels in 5GHz in Auto-Channel mode
* OSdep: Search additional IE for channel information
* OSdep: Android macro fixes
* Patches: Add missing patches that were on https://patches.aircrack-ng.org but not in repo
* Patches: Updated freeradius-wpe patch for v3.2.0
* Patches: Updated hostapd-wpe patch for v2.10
* Patches: Added docker containers to test WPE patches
* Autotools: make dist now creates VERSION file
* Autotools: Added maintainer mode
* Autotools: Initial support for Link Time Optimization (LTO) builds
* Integration tests: Added a new test, and improved some existing ones
* Airgraph-ng: switch airodump-join to Python 3
* Manpages: Fixes (typos, tools name, etc.) and improvements
* README: Updated dependencies and their installation on various distros in README.md and INSTALLING
* README: Fixed typos and spelling in README.md and INSTALLING
* Packages: Packages on PackageCloud now support any distro using .deb and .rpm, however, it requires reinstalling repo (BREAKING CHANGE)
* General: Fix compilation with LibreSSL 3.5
* General: Fix issues reported by Infer
* General: Updated buildbots
* General: Add Linux uclibc support
* General: Compilation fixes on macOS with the Apple M1 CPU
* General: Removed TravisCI and AppVeyor
* General: Use Github Actions for CI (Linux, Win, macOS, code style, and PVS-Studio)
* General: Added vscode devcontainer and documentation
* General: Fix warnings from PVS-Studio and build with pedantic (See PR2174)
* General: Shell script fixes thanks to shellcheck
* General: Fixes for GCC 10 and 11
* General: Fixed cross-compilation
* General: Code refactoring, deduplication, cleanup, and misc code improvements
* General: Coverity Scan fixes, which includes memory leaks, race conditions, division by 0, and other issues
* General: PVS Studio improvements,fixes and updates
* General: Code formatting/style fixes
* General: Various fixes and improvements (code, CI, integration tests, coverity)
* General: Update bug reporting template and update the process
Version 1.6 (changes from aircrack-ng 1.5.2) - Released 25 Jan 2020:
* Aircrack-ng: Added support for MidnightBSD
* Aircrack-ng: Fixed ARM processors display with -u
* Aircrack-ng: Fixed AVX-512F support
* Aircrack-ng: Fixed cracking speed calculation
* Aircrack-ng: Fixed cracking WEP beyond 10k IVS
* Aircrack-ng: Fixed creating new session and added test case
* Aircrack-ng: Fixed encryption display in some cases when prompting for network to crack
* Aircrack-ng: Fixed exiting Aircrack-ng in some cases
* Aircrack-ng: Fixed logical and physical processor count detection
* Aircrack-ng: Fixed PMKID length check
* Aircrack-ng: Various fixes and improvements to WPA cracking engine and its performance
* Airdecap-ng: Decrypt both directions when WDS is in use
* Airdecap-ng: Fixed decrypting WPA PCAP when BSSID changes
* Airgraph-ng: Added support for WPA3
* Airgraph-ng: Switch to argparse
* Airmon-ng: Added detection for wicd, Intel Wireless Daemon (iwd), net_applet
* Airmon-ng: Handle case when avahi keeps getting restarted
* Airmon-ng: Indicates when interface doesn't exist
* Airodump-ng: Added autocolorization interactive key
* Airodump-ng: Added option to read PCAP in realtime (-T)
* Airodump-ng: Added PMKID detection
* Airodump-ng: Added support for GMAC
* Airodump-ng: Added support for WPA3 and OWE (Enhanced Open)
* Airodump-ng: Basic UTF-8 support
* Airodump-ng: Checked management frames are complete before processing IE to avoid switch from WEP to WPA
* Airodump-ng: Display signal when reading from PCAP
* Airodump-ng: Fixed netxml output with hidden SSID
* Airodump-ng: Improved rates calculation for 802.11n/ac
* Airtun-ng: Fixed using -p with -e
* Autoconf: Fixed order of ssl and crypto libraries
* dcrack: Fixed client reporting benchmark
* dcrack: Now handles chunked encoding when communicating (default in Python3)
* Freeradius-WPE: Updated patch for v3.0.20
* General: Added NetBSD endianness support
* General: Added python3 support to scripts
* General: Added script to update autotools on CentOS 7
* General: Added security policy to report security issues
* General: Reorganizing filesystem layout (See PR 2032), and switch to automake 1.14+
* General: Convert to non-recursive make (part of PR 2032)
* General: Deduplicating functions and code cleanups
* General: Fixed packaging on cygwin due to openssl library name change
* General: Fixed SPARC build on Solaris 11
* General: Removed coveralls.io
* General: Updated dependencies in README.md/INSTALLING
* General: Use upstream radiotap library, as a sub-tree
* General: various fixes and improvements (code, CI, integration tests, coverity)
* HostAPd-WPE: Updated for v2.9
* Manpages: Fixes and improvements
* Tests: Added Integration tests for aireplay-ng, airodump-ng, aircrack-ng, airbase-ng, and others
* Tests: Added tests for airdecap-ng, aircrack-ng
Version 1.5.2 (changes from aircrack-ng 1.4) - Released 09 Dec 2018:
* Airodump-ng: Fixed AP selection slip in interactive mode
* Airodump-ng: Revamped GPS logging functionality and added new logging format (logcsv)
* Aircrack-ng: Only load the maximum supported and available crypto engine
* Aircrack-ng: Reworked wordlist producer/consumer queue
* Airserv-ng: Fixed communication between platforms with different size int
* Airmon-ng: Improved detection of Raspberry Pis
* General: Signed and unsigned comparison fixes
* Package: Added package for Ubuntu 18.10 (Cosmic)
* General: Code cleanups
* General: Added more tests
* General: Compilation improvements/fixes in autotools
* General: Big endian fixes
* General: Fixed building on FreeBSD and OpenBSD
* General: Added instructions to compile on DragonflyBSD and OpenBSD
* General: Fixed spelling errors
Version 1.4 (changes from aircrack-ng 1.3) - Released 29 Sep 2018:
* Aircrack-ng: Added PMKID cracking
* Aircrack-ng: Serious speed up and memory usage decrease when loading large files (multiple Gb) using AVL trees
* Aircrack-ng: Added hwloc (Hardware Locality) to improve performance
* Aircrack-ng: Support cracking PCAP with Protected Management Frames (802.11w)
* Aircrack-ng: Merged check_thread() and read_thread()
* Aircrack-ng: Allow static linking with chosen SIMD
* Aircrack-ng: Display AVX512F when present
* Airodump-ng: Added clients GPS coordinates in NetXML file
* Airdecap-ng: Improve decrypting/parsing speed
* Airmon-ng: Updated/fixed using with nexmon
* Airmon-ng: Better check for lspci requirement on systems that don't have PCI/PCIe devices
* Airmon-ng: Added support for rtl8812au/8814au/rtl88xxau driver
* Build: Fixed building with a few different architectures
* Build: Switch to new CI/CD tool, PyDeployer
* Build: Improved building on Windows (and building/testing with AppVeyor)
* Build: Improved and tweaked CI systems (buildbots, Travis, AppVeyor)
* Build: Support for statically linking libraries/binaries
* Build: Automatic development packages build for multiple Linux distro and upload to PackageCloud.io
* Tests: Added new tests for Aircrack-ng
* Tests: Added new capture files
* Freeradius-WPE: Fixed opening log file twice
* General: Fixed loading PCAP on system with a different endianness
* General: Fixed memory leaks and issues reported by static analysis tools
* General: Fixed "error while loading shared libraries"
* General: Various other small improvements in the tools, build system, tests and documentation
* General: Update FSF address
* General: Code formatting
Version 1.3 (changes from aircrack-ng 1.2) - Released 10 Jul 2018:
* Aircrack-ng: Allow using Hashcat HCCAPX files as input files.
* Aircrack-ng: Fixed floating point exception due to division by 0 when displaying stats.
* Aircrack-ng: Updated manpage regarding hex wordlist usage.
* Aircrack-ng: Added save/restore session when cracking using wordlists (-N and -R).
* Aircrack-ng: Moved crypto to its own library, aircrack-crypto/ (aka crypto engine).
* Aircrack-ng: Now back to a single binary thanks to crypto-engine.
* Aircrack-ng: Performance improvements of the crypto engine across various CPU architectures.
* Aircrack-ng: Added support for AVX512 in the crypto-engine (and build).
* Aircrack-ng: Improved building crypto-engine across CPU architectures and compilers (gcc, clang and ICC).
* Aircrack-ng: Allow to list available SIMD optimizations.
* Aircrack-ng: Improved benchmark tool for unusual CPU/cores count.
* Airodump-ng: Fixed running in the background.
* Airodump-ng: Don't show WPA handshake capture notice for out-of-scope ESSIDs.
* Airodump-ng: Add --background 0/1 to force disable/enable background settings and override autodetection of background.
* Airodump-ng: Added support for GCMP, GCMP-256 and CCMP-256.
* Airolib-ng: Fixed importing data when interrupting process using Ctrl-C.
* dcrack: Check if dictionary and capture file exists before uploading them.
* dcrack: Clean up dictionary before uploading it to the server.
* dcrack: Gracefully stop and display errors instead of printing stacktrace whenever possible.
* dcrack: Move temporary user files to /tmp and cleanup when done.
* dcrack: Fixed displaying status when no clients are connected to the server.
* dcrack: Validate uploaded PCAP and display success/failure.
* dcrack: Improved removing BSSID.
* WPAClean: Fixed crash with invalid prism2 header PCAP and added tests.
* WPAClean: Don't create output file if no handshake are present or if input file is bad.
* WPAClean: Fixed memory leak.
* Airmon-ng: Fixed display of interface name if name is too long.
* OSdep: Fixed memory leak and null pointer dereference.
* OSdep: Fixed byteorder macros and other tools crashing.
* OSdep: Added support to build as a shared library.
* FreeRADIUS-WPE: Updated instructions for v3.0.17.
* HostAPd-wpe: Added Response-Identity logging and displaying NETNTLM hash in hashcat format.
* Airgraph-ng: Renamed dump-join to airodump-join.
* General: Added coveralls.io badge.
* General: Added --without-opt to disable stack protector when using GCC >= 4.9
* General: Various improvements and fixes, some from Coverity Scan and Valgrind.
* General: Fixed typos reported by codespell.
* General: Extracted console functions and moved to aircrack-util/.
* General: Renamed osdep/ to aircrack-osdep/.
* General: Fixed and added functions prototypes and commented out unused functions.
* General: Reformat source code using clang-format and added .clang-format file for IDE.
* General: Improvements to AppVeyor and TravisCI builds
* Building: Added NEON intrinsic support.
* Building: Support paths containing spaces, during autoreconf.
* Building: Fix compilation without getauxval in the trampoline binary.
* Building: Fixed compiler warnings on Windows, FreeBSD.
* Building: Fixes and documentation for OSX.
* Building: Added support for tcmalloc and jemalloc.
* Building: Added instruction to build Windows binaries with Airpcap.
* Unit test: Using CMocka for some tests
* Documentation: Updated explanations regarding building some experimental tools.
Version 1.2 (changes from aircrack-ng 1.2-rc5) - Released 15 Apr 2018:
* General: Fixed compiling Windows binaries and updated README.md/INSTALLING.
* General: Fixed commands to install dependencies on Debian/Ubuntu and FreeBSD.
* General: Added command to install dependencies on Fedora/CentOS/RHEL.
* General: Removed packages/ directory.
* General: Added Alpine Linux and Kali Linux buildbots.
* General: Fixed configure with --with-libpcap-include=/somewhere/include and --with-libpcap-lib=/somewhere/lib.
* General: Fixed search for ethtool when running as a non-root user.
* General: Various fixes.
* Airmon-ng: Fixed mktemp on Alpine Linux.
Version 1.2-rc5 (changes from aircrack-ng 1.2-rc4) - Released 03 Apr 2018:
* General: Switching to autotools which allows compiling on more plateforms.
* General: Updated README.md and INSTALLING files.
* General: Fixed compilation on a lot of platforms.
* General: Fixed compilation warnings across platforms and compilers.
* General: Fixed typos in the tools and in manpages.
* General: Replace %d/ld with %u/lu for unsigned printf parameters.
* General: Added option to disable stack protector.
* General: Improved makefile to get reproducible builds.
* General: Fixed compilation with OpenSSL 1.1.0.
* General: Updated radiotap parsing code.
* General: Updated all URLs to use HTTPS.
* General: Fixed compilation with libreSSL.
* General: Added WPS 2.0 test PCAP.
* General: Do not use stackguard on Windows.
* General: Fixed warnings on GCC7.
* General: Improved code quality using Coverity Scan.
* General: Added badges for Coverity scan and Intel compiler buildbot
* Aircrack-ng: Use trampoline binary to automatically select fastest executable depending on the CPU
* Aircrack-ng: Fixed missing include for linecount.
* Aircrack-ng: Fixed concurrency issues when reading multiple WEP PCAP.
* Aircrack-ng: Added support for creating HCCAPx file format.
* Airodump-ng: Get the channel from HT information.
* Airodump-ng: Detect WPS 2.x.
* Airodump-ng: Also check current directory for OUI file.
* Airodump-ng: Fixed writing ESSID to CSV, Kismet CSV and Kismet NetXML files when ESSID gets decloaked and cloaked length was 1.
* Aireplay-ng: Added deauthentication reason code option.
* Aireplay-ng: Increase amount of AP to test when running injection test.
* Airodump-ng: Fixed 802.11a channel hopping list.
* Airodump-ng: Fix creation of .xor files.
* Airodump-ng: Added support for HT channels (HT20/HT40-/HT40+).
* Airodump-ng: Now displaying correct rate for 802.11n or 802.11ac AP.
* Airmon-ng: Fixed checking for processes.
* Airmon-ng: Fixed display of "cannot access '/sys/class/ieee80211/': No such file or directory".
* Airmon-ng: Fixed bashisms.
* Airmon-ng: Fixed display of specific drivers.
* Airmon-ng: Fixed display of cards on the sdio bus.
* Airmon-ng: Now supports nexmon driver on RPi 3 (and 0 Wireless) using Kali Linux.
* Airmon-ng: Added identification for another realtek chipset and generic Ralink/MT.
* Airmon-ng: Handle 2 types of rfkill commands and updated unblock text.
* Airmon-ng: more portable modinfo usage.
* Airmon-ng: remove grep -P references upon request.
* Airmon-ng: Do not replace driver name by ?????? when driver is valid.
* Airgraph-ng: Removed irrelevant comment in README.
* Airgraph-ng: Handle SSID with double quotes.
* Airgraph-ng: Fixed parsing OUI file.
* Airdrop-ng: Updated lorcon2 installation instructions.
* Besside-ng: Fixed 'wi_read(): No child processes' error.
* Airdecloak-ng: Fixed segfault due to NULL pointer dereference.
* osdep: Remove wi_set_channel(1) on open wifi interface (cygwin).
* osdep: Fixed RAW socket resource leak.
* Patches: Created WPE patches and documentation for current HostAPd and Freeradius versions.
* Airodump-ng: Fix incorrect if conditions which always are false.
* Airodump-ng: Remove useless not NULL check.
* Airventriloquist: New tool from https://github.com/Caesurus/airventriloquist/
* dcrack: Fixed indentation.
* TravisCI: Fixed compilation on OSX.
* AppVeyor: Added support for AppVeyor, CI for cygwin builds.
Version 1.2-rc4 (changes from aircrack-ng 1.2-rc3) - Released 14 Feb 2016:
* Airodump-ng: Increase console window size.
* Aircrack-ng: Added time remaining and percentage done when doing WPA cracking with a dictionary (file).
* Aircrack-ng: Make benchmark last 15 seconds for a more accurate value.
* Aircrack-ng: Fixed compilation on Cygwin 64 and drastically improve cracking speed for all CPUs (up to +175% performance).
* Airmon-ng: Improved chipset detection on FreeBSD.
* Airmon-ng: Display chipset for some Broadcom SDIO.
* Airbase-ng: Fixed broadcasting 'default'.
* General: Updated and cleanup TravisCI file to test compilation and testing on OSX.
* General: Fixed reading large files on Cygwin.
* General: Fixed a bunch of compilation warnings with gcc and clang.
* General: Fixed compilation on Solaris, OpenBSD, DragonFlyBSD 4.4, NetBSD, OSX.
* General: Fixed compilation on ARM and MIPS.
* General: Improved compatibility on FreeBSD and Cygwin (RAM and CPU detection).
* General: Fixed gcc segfault on cygwin.
* General: Memory cleanups, fixed memory leaks and fix other issues reported by Valgrind.
* Testing: Fixes on various OSes.
* INSTALLING: Updated installation instructions for different OS.
* TravisCI: Improved file.
Version 1.2-rc3 (changes from aircrack-ng 1.2-rc2) - Released 21 Nov 2015:
* Airodump-ng: Prevent sending signal to init which caused the system to reboot/shutdown.
* Airbase-ng: Allow to use a user-specified ANonce instead of a randomized one when doing the 4-way handshake
* Aircrack-ng: Fixed compilation warnings.
* Aircrack-ng: Removed redundant NULL check and fixed typo in another one.
* Aircrack-ng: Workaround for segfault when compiling aircrack-ng with clang and gcrypt and running a check.
* Airmon-ng: Created version for FreeBSD.
* Airmon-ng: Prevent passing invalid values as channel.
* Airmon-ng: Handle udev renaming interfaces.
* Airmon-ng: Better handling of rfkill.
* Airmon-ng: Updated OUI URL.
* Airmon-ng: Fix VM detection.
* Airmon-ng: Make lsusb optional if there doesn't seem to be a usb bus. Improve pci detection slightly.
* Airmon-ng: Various cleanup and fixes (including wording and typos).
* Airmon-ng: Display iw errors.
* Airmon-ng: Improved handling of non-monitor interfaces.
* Airmon-ng: Fixed error when running 'check kill'.
* Airdrop-ng: Display error instead of stack trace.
* Airmon-ng: Fixed bashism.
* Airdecap-ng: Allow specifying output file names.
* Airtun-ng: Added missing parameter to help screen.
* Besside-ng-crawler: Removed reference to darkircop.org (non-existent subdomain).
* Airgraph-ng: Display error when no graph type is specified.
* Airgraph-ng: Fixed make install.
* Manpages: Fixed, updated and improved airodump-ng, airmon-ng, aircrack-ng, airbase-ng and aireplay-ng manpages.
* Aircrack-ng GUI: Fixes issues with wordlists selection.
* OSdep: Add missing RADIOTAP_SUPPORT_OVERRIDES check.
* OSdep: Fix possible infinite loop.
* OSdep: Use a default MTU of 1500 (Linux only).
* OSdep: Fixed compilation on OSX.
* AppArmor: Improved and added profiles.
* General: Fixed warnings reported by clang.
* General: Updated TravisCI configuration file
* General: Fixed typos in various tools.
* General: Fixed clang warning about 'gcry_thread_cbs()' being deprecated with gcrypt > 1.6.0.
* General: Fixed compilation on cygwin due to undefined reference to GUID_DEVCLASS_NET
* General: Fixed compilation with musl libc.
* General: Improved testing and added test cases (make check).
* General: Improved mutexes handling in various tools.
* General: Fixed memory leaks, use after free, null termination and return values in various tools and OSdep.
* General: Fixed compilation on FreeBSD.
* General: Various fixes and improvements to README (wording, compilation, etc).
* General: Updated copyrights in help screen.
Version 1.2-rc2 (changes from aircrack-ng 1.2-rc1) - Released 10 April 2015:
* Airtun-ng: Adds WPA CCMP and TKIP decryption and CCMP encryption
* Compilation: Added support for DUMA.
* Makefile: Renamed 'unstable' to 'experimental'.
* Airodump-ng: Fixed XML sanitizing.
* Airmon-ng: Airmon-zc is now stable enough to replace airmon-ng.
* Manpages: Removed airdriver-ng manpage and references to it (forgot to do it before the previous release).
* Manpages: Updated 'see also' references in all manpages.
* PCRE: Added it in various places and docs.
* WZCook: Fixed processing values stored in register.
* Updated a few headers files (if_llc, ieee80211, ethernet and if_arp).
* Travis CI: updated make parameter and add testing with pcre.
* Compilation: de-hardcode -lpcap to allow specifying pcap libraries.
* Makefile: Fixed installing/uninstalling Airdrop-ng documentation files.
* Makefile: Fixed uninstalling ext_scripts.
* Airodump-ng: Added new paths (and removed one) for OUI files and simplified logic to find the OUI file.
* Aircrack-ng: Fixed ignoring -p when specified after -S.
* Airmon-ng: fixes for openwrt busybox ps/grep issues which do not seem present in other versions of busybox
* Airmon-ng: fix vm detection.
* Airserv-ng: Fixed channel setting (and assert call).
* Airodump-ng: Fixes to NetXML (unassociated clients missing and various other small bugs) and update the code to match current NetXML output.
* Airodump-ng: Removed requirement for 2 packets before AP is written to output (text) files.
* Airodump-ng: Fixed formatting of ESSID and display of WPA/WPA2 (as well as a bunch of other small fixes) in CSV file.
* Airodump-ng: Fixed GPSd.
* Airodump-ng: Allow to specify write interval for CSV, kismet CSV and NetXML files.
* Airserv-ng: Fixed wrong station data displayed in Airodump-ng.
* General: Fixed 64 bit promotion issues.
* General: Fixed a bunch of uninitialized values and non-zeroed structures (upon allocating them).
* General: Added Stack protection.
* Various other small fixes and improvements.
Version 1.2-rc1 (changes from aircrack-ng 1.2-beta3) - Released 31 October 2014:
* Airodump-ng should be able to parse the canonical oui file.
* Airodump-ng: Fixed GPS stack overflow.
* Airodump-ng: Fixed stopping cleanly with Ctrl-C.
* Airmon-zc: better handling for when modules are not available (incomplete).
* Airmon-zc: users can now start the monitor interface again to change channels.
* Airmon-zc: update to use ip instead of ifconfig if available.
* Airmon-zc: better handling of devices without pci bus.
* Aireplay-ng: Fixed tcp_test stack overflow.
* OSdep: Fixed libnl detection. Also avoid detection on non Linux systems.
* OSdep: Fixed segmentation fault that happens with a malicious server.
* Besside-ng: Add regular expression matching for the SSID.
* Buddy-ng: Fixed segmentation fault.
* Makefile: Fixed 'commands commence before first target' error when building Aircrack-ng.
* Fixed segfault when changing the optimization when compiling with gcc thanks to Ramiro Polla.
* Removed airdriver-ng (outdated and not meant for today's kernels).
* Added gitignore file.
* Fixed build issues on other compilers by using stdint.h types.
* Fixed CVE-2014-8321, CVE-2014-8322, CVE-2014-8323 and CVE-2014-8324 across multiple tools.
* Updating installation file and added pkg-config as a requirement.
* Various small fixes and improvements.
Version 1.2-beta3 (changes from aircrack-ng 1.2-beta2) - Released 31 March 2014:
* Finally properly fixed the buffer overflow.
* Fixed channel parsing (eg 108, 125) and updated radiotap parser.
* Various other small fixes.
Version 1.2-beta2 (changes from aircrack-ng 1.2-beta1) - Released 30 November 2013:
* Airbase-ng: Fixed order of IE when creating soft Access Point.
* Airbase-ng: Fixed Caffe Latte Attack not working for all clients.
* Aircrack-ng: Improved PTW speed thanks to Ramiro Polla.
* Airmon-zc: Fixed improper use of the interface.
* Airdecap-ng: Fixed decoding captures with WMM enabled.
* Various: Fixed memory leaks in Aircrack-ng, Aireplay-ng, OSdep.
* Added support for static analysis using Coverity Scan.
* Fixed compilation due to PIC unfriendly assembly on Gentoo hardened.
* Fixed running tests using 'make check'.
* Fixed building aircrack-ng with recent version of gcc and also on cygwin.
* Various other small fixes.
Version 1.2-beta1 (changes from aircrack-ng 1.1) - Released 25 May 2013:
* Airmon-ng: Added chipset information for ar9170usb, wl, rt2800usb, ar9271, wl12xx, RT3070STA, ath9k_htc, r871x_usb_drv, ath5k, carl9170 and various Intel drivers.
* Airmon-ng: Fixed chipset information ipw2200.
* Airmon-ng: Fixed output for r8187 driver.
* Airmon-ng: Improved chipset information for a few drivers.
* Airmon-ng: Support for displaying information about ath9k.
* Airmon-ng: Added 'check kill' to automatically kill services that could interfere.
* Airmon-ng: Fixed issues with Intel chipsets detection.
* Airmon-ng: Updated iw download link.
* Airmon-ng: Better mac80211 handling.
* Airmon-ng: Added detection for WiLink TI driver, rtl819xU, iwlwifi.
* Airmon-zc: Improved version of Airmon-ng with more detailed information.
* Airdecap-ng: Fixed decoding QoS frames (Closes: #667 and #858).
* Airgraph-ng: Use Aircrack-ng Makefile instead of its own.
* Airbase-ng: Fixed bug using clients list.
* Airbase-ng: Fixed issue with QoS (ticket #760).
* Airbase-ng: Fixed sending beacons with null SSID.
* Airbase-ng: Allow non ASCII ESSID.
* Airodump-ng: Fixed buffer overflow (ticket #728).
* Airodump-ng: Fixed channel parsing.
* Airodump-ng: Fixed FreeBSD battery reading.
* Airodump-ng: Renamed "Packets" column to "Frames" ("Packets" was not correct).
* Airodump-ng: Fixed XML bugs when outputting NetXML: ESSID containing '&' or chinese characters, when multiple encryption are used.
* Airodump-ng: Add alternative paths for Airodump-ng OUI file.
* Airodump-ng: Added GPSd 2.92+ support (JSON).
* Airodump-ng: Add option --manufacturer to display manufacturer column on airodump-ng.
* Airodump-ng: Add feature to show APs uptime (--uptime) based on the timestamp.
* Airodump-ng-OUI-update: Fixed OUI URL and allow CURL redirect (ticket #829).
* Airdrop-ng: removed .py from file names.
* Airdrop-ng: Fixed bug in installer.
* Airdrop-ng: Fixed OUI lookup.
* Airdrop-ng: Fixed bug when several BSSID have the same ESSID.
* Airdrop-ng: Doesn't constantly parse anymore, wait 5 seconds each time it parses.
* Airdrop-ng: Fixed crash when failing to get channel or when rules file didn't exist.
* Airdrop-ng: Fixed to use lorcon.py/lorcon2 libs.
* Airdrop-ng: Updated README.
* Airdrop-ng: Fixed error preventing update to work.
* Versuck-ng: New script to do the same thing as the kismet autowep plugin from the CLI.
* Aircrack-ng: Fixed counter display error when cracking WPA.
* Aircrack-ng: Added output of the WPA handshake to EWSA project file.
* Aircrack-ng: Added output of the WPA handshake to oclhashcat+ project file.
* Aircrack-ng: Added benchmark option, -S.
* Aircrack-ng: Fixed -u option.
* Aircrack-ng: PIC fix for hardened systems from Francisco Blas Izquierdo Riera (klondike)
* Aircrack-ng: Allow dictionaries larger than 2Gb.
* Aircrack-ng: Give a better message when there's an error with the dictionary.
* Aircrack-ng: Prevent a buffer overflow from happening (Wojciech Waga).
* Aireplay-ng: Added migration mode attack from Leandro Meiners and Diego Sor from Core Security (BlackHat Las Vegas 2010)
* Aireplay-ng, Airodump-ng: Added option to ignore issue with -1 channel.
* Airserv-ng: Fixed crash when clients disconnect.
* Besside-ng-crawler: Added EAPOL Crawler.
* Airdecloak-ng: Fixed bug when using pcap files with PPI headers.
* dcrack: Distributed cracking server/client.
* wifi-detect.sh: reference script for testing wifi card detection using iwconfig vs ls /sys/class/net
* WPA Clean: Tool to merge and clean WPA capture files.
* Wireless Panda: C# Library to parse Airodump-ng output files (and added example project).
* OSdep (Linux): Setting fixed bitrates on mac80211 2.6.31 and up.
* OSdep (Linux): Added support for nl80211 thanks to impulse32. Use 'make libnl=true' to add netlink support (Ticket #1004).
* Manpages: Improvement and fixes for Airgraph-ng, Airodump-ng, packetforge-ng, Aircrack-ng
* Manpages: Fixed various spelling issues and single quote issues.
* Makefiles: Added tests for the different tools.
* Makefiles: Various fixes and improvements.
* Makefiles: Added support for libgrypt instead of OpenSSL via parameter.
* Patches: Added a few patches.
* Removed useless script: patchchk.
* Finally fixed licensing issues.
* Fixed endianness issues in most of the tools.
* Fixed cppcheck errors (Ticket #957).
* Fixed various compilation issues on Linux and Cygwin, GNU/Hurd, Darwin (OSX) and Sparc.
* Fixed compilation on recent gcc versions on Linux, Cygwin.
* Added instructions for Travis CI: Free Hosted Continuous Integration Platform for the Open Source Community.
* Added Readme.Md for GitHub. Aircrack-ng subversion repository is synced on GitHub: http://github.com/aircrack-ng/aircrack-ng
* Various other small bug fixes.
Version 1.1 (changes from aircrack-ng 1.0) - Released 24 April 2010:
* airdrop-ng: New tool by TheX1le.
* airodump-ng, aircrack-ng, airdecap-ng, airbase-ng: Fixed buffer overflow in airodump-ng due to forged eapol frame.
* aircrack-ng: Fixed multicast detection (WPA handshake detection).
* airodump-ng: Added interaction (see wiki for the commands).
* airodump-ng: Fixed client time in netxml file.
* airtun-ng: Add WDS and bridge support.
* airbase-ng: automatically set privacy bit to 1 if WPA or WPA2 is used (-Z or -z option).
* airmon-ng: Updated iw URL for v0.9.19.
* airdriver-ng: Fixed link for madwifi-ng.
* aireplay-ng: Chopchop enhancement to not stop but wait on deauth packets.
* tkiptun-ng: Fixed segfault.
* wesside-ng: Fixed compilation bug with recent version of gcc.
* cygwin: Compiling sqlite isn't necessary anymore, libsqlite3-devel package can be used.
* osdep: Strict aliasing and x86_64 fix.
* osdep: Add tap support for Darwin/OS X. Still require tuntaposx from sourceforge to work.
* All: Fixed compilation on cygwin 1.7.
* All: Fixed compilation on recent version of OSX.
* manpages: Fixed aireplay-ng manpage for attack 0: not disassociation packets, deauth packets.
* manpages: Added the keys for interaction in airodump-ng.
* patches: Added regulatory domains override patches for atheros drivers (ath5k, ath9k and ar9170).
* patches: Added 2.6.32 patch for r8187 driver (ieee80211).
* Makefiles: Fixed make uninstall.
Version 1.0 (changes from aircrack-ng 1.0-rc4) - Released 08 September 2009:
* airserv-ng: Now works fine between 32 and 64bit OSes.
* wesside-ng: Fixed some endianness bugs
* airodump-ng-oui-update: Make sure the user is root when updating the file.
* airmon-ng: Updated iw download link (0.9.17).
* All: Fixed compilation with some gcc.
* patches: Added missing patches from patches.aircrack-ng.org: mac80211_2.6.28-rc4-wl_frag+ack_v3.patch
* manpage: Updated aireplay-ng manpage.
* INSTALLING: Removed (now) useless requirement for OSX installation.
* GUI (windows): Fixed 2nd selection of a capture file.
Version 1.0-rc4 (changes from aircrack-ng 1.0-rc3) - Released 27 July 2009:
* airodump-ng: Decreased time before writing text files to 5 sec (instead of 20).
* airodump-ng: New option --output-format option (to replace --nocap): specify output files.
* airodump-ng: Fixed encryption tag value in kismet netxml files.
* airodump-ng: Sanitize essid before writing it into kismet netxml files.
* airodump-ng: Log manufacturer into kismet netxml files.
* aireplay-ng: Fake auth: reduce the number of ACKs to 2 per packet.
* aireplay-ng: Added possibility to stop sending fake auth requests after n retry failures.
* aircrack-ng: Fixed compilation on FreeBSD.
* aircrack-ng: Fixed aircrack-ng --help on OSX.
* airmon-ng: Updated iw download link (0.9.15).
* airmon-ng: Fix chipset detection for iwlagn (show "Intel 4965/5xxx" instead of "Unknown").
* airmon-ng: Display a message when udev rename madwifi-ng VAPs.
* airmon-ng: sleep 1s instead of 0.1 (0.1 is not supported by all distro).
* airolib-ng: Fixed locked database counter.
* airdriver-ng: Updated to rt2570 k2wrlz v1.6.3
* airdriver-ng: Updated r8187 patch.
* aircrack-ng, airdecap-ng, ivstools, airodump-ng, airbase-ng, aireplay-ng, airtun-ng, packetforge-ng, tkiptun-ng: Added support for PPI captures support (Thanks to dragorn).
* airdecap-ng: Fixed segfault on some capture files.
* wesside-ng, easside-ng: "ERROR: Packet length changed while transmitting (XX instead of YY)" should finally be fixed.
* All: Added compatibility file for functions like cpu_to_le32. That should fix compilation on a lot of OSes.
* All: Temporary fix to allow compilation with recent gcc (Error message: "dereferencing type-punned pointer will break strict-aliasing rules"). I hope it doesn't break anything. A cleaner fix will be applied later.
* INSTALLING: OSX patch for Intel CPU isn't required anymore
* INSTALLING: Updated instructions to compile sqlite on cygwin for 3.6.16.
* patches: Updated sqlite (v3.6.13) patch for cygwin.
* patches: Updated wlanng patch for 2.6.28.
* patches: Updated madwifi-ng patch to r4073
* packages: Fixed spec (RPM) file.
* GUI (windows): Use last used directory when selecting another file to crack.
* GUI (windows): Allow .pcap files too (next to .cap, ...).
Version 1.0-rc3 (changes from aircrack-ng 1.0-rc2) - Released 26 March 2009:
* airodump-ng: Added Active Scanning Simulation.
* airodump-ng: Added support for kismet-newcore netxml files (DTD v3.1.0)
* airodump-ng: Changed file extensions for CSV (.csv instead of .txt) and for kismet CSV
(.kismet.csv instead of .csv).
* airodump-ng: Fixed WPA tag parsing and added QoS detection based on direction.
* airodump-ng: Added option to only disable capture file; all other files
(CSV, kismet CSV, kismet netxml, GPS) will be created.
* aircrack-ng: Fixed -w with WEP.
* aircrack-ng: Fixed useless memory allocation.
* aircrack-ng: Fixed compilation with gcc 2.95.
* aircrack-ng: Fixed compilation on 64 bit (SHA-SSE2).
* aircrack-ng: Fixed errors when compiling on OS X 10.5.6 PPC.
* aircrack-ng: Added an option to write the key to a file.
* airolib-ng: Fixed a bug where database is created even if parameters are not correct.
* airmon-ng: Added wifibox to the list of network managers.
* airmon-ng: Updated iw download link (0.9.11).
* airmon-ng and airdriver-ng: Move them in script/ directory.
* airmon-ng: Bypass interface checks when ps command returns an error. Needed for BusyBox limited ps command.
* airdriver-ng: Update legacy RT73 driver to use rt73-k2wrlz v3.0.2
* tkiptun-ng: Allow padded arp packets to the client.
* airserv-ng & osdep: Fixed compilation on FreeBSD 7.1
* easside-ng & wesside-ng: Fixing again "Error Wrote 39 out of 30" error message.
* manpages: Fixed manpages titles.
* Makefile: Only compile and install wesside-ng, easside-ng, buddy-ng and tkiptun-ng with "make unstable=true".
* patches: Updated sqlite (v3.6.11) patch for cygwin.
* patches: Added patch for aircrack-ng on MacOSX
* scripts: Added a script to automatically patch and install SQLite in cygwin.
Version 1.0-rc2 (changes from aircrack-ng 1.0-rc1) - Released 22 Jan 2009:
* aircrack-ng: Added SSE2 supports (WPA cracking speed is improved a lot) thanks to nx5.
* aircrack-ng: Fixed detection of the number of CPU (especially with recent CPUs).
* aircrack-ng: Fixed long lasting WPA bugs: cannot find the key with SMP computers,
wasn't exiting correctly, ...
* aircrack-ng: Fixed usage of a dictionary with WEP.
* aircrack-ng: Now only display ASCII WEP keys when 100% of the hex key can be converted to ASCII.
* aircrack-ng: You can now specify the number of threads for cracking even if you have a non-SMP computer.
* aircrack-ng: Now output an error message if using -r and it wasn't compiled with sqlite support.
It was a problem on some ubuntu.
* airdecloak-ng: New tool to remove wep cloaked frames from a pcap file.
For more details see https://www.aircrack-ng.org/doku.php?id=airdecloak-ng
* airodump-ng: Added kismet csv output support.
* airodump-ng: Fixed power value display (for ath interface with a high number, more than 99).
* airodump-ng: Can work on the new frequencies (allowed by frequency Chaos patch).
* airodump-ng: Now display if the network has QoS enabled.
* aireplay-ng: Fixed crash with too short packets (seen with zd1211).
* aireplay-ng: Fixed STP usage in fragmentation attack.
* aireplay-ng: Fixed bug with deauth attack.
* airtun-ng: Fixed STP conversion.
* airolib-ng: Added sample database in test/ directory.
* tkip-tun: New tool to inject on WPA1 with QoS enabled networks. Full description:
decrypt packets coming from the AP in a TKIP network, which uses QoS (ieee802.11e).
It also breaks the MIC Key for sending packets towards the Client correctly encrypted and signed.
Stores plaintext packet and keystream in separate files.
* airbase-ng: Several improvements ( See https://github.com/aircrack-ng/aircrack-ng/issues/466 ).
* airbase-ng: Added compatibility with some clients. added random source IPs and MACs for cfrag attack (-N) to evade simple flood protection.
* airmon-ng: Fixed some 'unary operator expected' errors.
* airmon-ng: Fixed channel number setting with mac80211 drivers.
* airmon-ng: Recognition of 4 new chipsets: acx1xx, at76_usb, adm8211 and AR9001U (otus).
* airmon-ng: Fixed some chipset naming inconsistencies between ieee80211 and mac80211 drivers.
* airmon-ng: Fixed display of "airmon-ng check".
* airmon-ng: Improved mac80211 driver handling.
* airdriver-ng: Fixed madwifi-ng driver download URL.
* airdriver-ng: Updated openSuse information.
* wesside-ng: Fixed open() with O_CREAT that needs 3 arguments.
* osdep: Added TAP/TUN MTU getter.
* manpages: Fixed misspelled airserv-ng manpage filename.
* manpages: Added Airbase-ng, Tkiptun-ng manpages.
* manpages: Updated description of all manpages.
* Makefile: Fixed errors when compiling on OSX 10.5.
* Makefile: Now ensure that make 3.81 or higher (mandatory) is used when compiling on OSX 10.4.
* Makefile: Only install airolib-ng manpage if airolib-ng is installed.
* Makefile: Added 'make check' that tests key cracking against files given in test/ directory.
* general: Fixed 'evalrev' on Solaris.
* general: Fixed compilation on Sun SPARC.
* general: Fixed compilation on some distribution (with a recent version of gcc) due to warnings (because of not getting the return value of some functions).
* general: Several compilation fixes.
* patches: Updated ath5k patches
* patches: Added rt2570 patch (kernel 2.6.24).
* patches: Updated madwifi-ng patch for r3745.
* patches: Updated mac80211 patches.
* patches: Added zd1211rw patch for 2.6.26, b43/b43legacy for 2.6.26-wl.
* patches: rt73, r8187 patches for fedora kernels (should work on 2.6.27).
* patches: Added Defcon 16 patch (more frequencies than the usuals) for ath5k called frequency Chaos.
* patches: Added injection patch for rtl8187 (mac80211).
* patches: Added a universal mac80211 fragmentation and injection speed patch.
* GUI (windows): Fixed: Windows GUI gives "please specify dictionary".
Version 1.0-rc1 (changes from aircrack-ng 1.0-beta2) - Released 09 Jun 2008:
* airbase-ng: Multi-purpose tool aimed at attacking clients as opposed to the AP.
* airbase-ng: Added replay tool for external packet processing feature.
* aircrack-ng: Fixed: Displaying twice the wep key at the end and "Warning: Previous crack is still running".
* aircrack-ng: Fixed detection of WPA handshake (was not working correctly in previous release).
* aircrack-ng: Fixed PTW attack against QoS and WDS packets.
* aircrack-ng: Added oneshot option to try PTW only once.
* airodump-ng: Fixed channel numbers (Fixed "fixed channel" messages).
* airodump-ng: Added frequency selection (-C).
* aireplay-ng: Fixed injection on OpenBSD.
* aireplay-ng: Fixed a rtc bug which freezed aireplay-ng in case /dev/rtc0 is not available.
* aireplay-ng: Fixed chopchop attack against QoS packets.
* aireplay-ng: Added Caffe-Latte attack.
* aireplay-ng: Added CFrag attack: Turns every IP and ARP packet into an ARP request against the client.
* airtun-ng: Added support for fragmented packets.
* airdriver-ng: Updated drivers.
* airserv-ng: Various fixes.
* airmon-ng: Added nl80211 usage.
* airmon-ng: Use 'iw' when it is found.
* airmon-ng: Fixed error with madwifi-ng when creating new VAP.
* wesside-ng: Added option to ignore ACKs.
* OSdep: Fixed endieanness bugs.
* OSdep: Orinoco: attempt to bring interface down before switching to monitor mode.
* All: Added copyright and GPL in missing files.
* All: Fixed compilation on Mac OSX 10.5.2 (PPC).
* GUI: Fixed "Choose" button (airdecap-ng).
* Makefile: Fixed usage of iCC versions other than 9.0.
* patches: Updated rtl8187 patch.
* patches: Updated madwifi-ng patch.
* patches: Updated sqlite patch (cygwin).
* patches: Added mac80211 frag patch.
* patches: Added b43 and updated bcm43xx patches.
Version 1.0-beta2 (changes from aircrack-ng 1.0-beta1) - Released 01 Feb 2008:
* aircrack-ng: Cracking WPA now does only require 2 packets (instead of 4).
* airodump-ng: Fixed (WEP) open system and shared key system detection.
* airodump-ng (win): Battery status is now displayed.
* airdriver-ng: Fixed module detection.
* airdriver-ng: Updated drivers.
* airdriver-ng: Added firmware support.
* airdriver-ng: Added softmac installation.
* airdecap-ng: Save packets with ICV error in a separate file.
* airolib-ng: Automatically create a database if it does not exist. "init" option is not necessary anymore.
* airolib-ng: Now uses getopts for options.
* airdriver-ng: Updated some drivers download locations.
* airdriver-ng: Fixed softmac installation
* airmon-ng: Added detection of ipwraw-ng driver.
* airmon-ng: When stopping an interface, it is in managed mode
* Makefile: supports DESTDIR or destdir parameter.
* Makefile: renamed ROOT (used by gentoo for other stuff) variable by AC_ROOT.
* manpages: Fixes for whatis
* patches: updated cygwin sqlite patch
* patches: updated rtl8187 patch
* Added instructions to compile airolib-ng and using '-r' option in aircrack-ng for cygwin.
* Fixed compilation of aircrack-ng with some gcc versions
Version 1.0-beta1 (changes from aircrack-ng 0.9.2) - Released 01 October 2007:
* airodump-ng: Added --berlin option (see code for more information).
* airodump-ng: Fixed 100% cpu utilization while channelhopping on rtap interface
* airodump-ng: Fixed frame length < 10bytes bug
* airodump-ng: Added out-of-monitor-mode, channel hop and interface down detection
* airodump-ng: Fixed debian bug #417388: airodump-ng doesn't restore terminal after error
* airodump-ng: Fixed opening the same interface more than once
* airodump-ng: Fixed PWR values for some drivers
* airodump-ng: Fixed airodump sanity check (resulted in showing WPA networks without CIPHER & AUTH)
* airodump-ng: Added "-f" to set the time in ms between hopping channels
* airodump-ng: Added partial 40bit WEP detection
* airodump-ng: Added "--showack" to print statistics about ack/cts and rts frames
* airodump-ng: Added "-h" to hide the known stations in ack statistics
* airodump-ng: Added "-r" to read packets from a pcap file
* aircrack-ng: Added BSSID merge option
* aircrack-ng: Added passive ptw attack (using also IP packets for cracking)
* aircrack-ng: Made ptw attack default, for korek attack use -K
* aircrack-ng: Fixed huge memory usage with ptw attack on hundreds of APs
* aircrack-ng: Added -M paramteter for specifying maximum number of IVs to be read
* aircrack-ng: Changed ptw testpackets from first to random (fixes invalidation of found keys)
* aircrack-ng: Added --wep-decloak mode
* aircrack-ng: Added --ptw-debug to allow klein or ptw disabling
* aircrack-ng: PTW: Starts a new process group
* aircrack-ng: Increased PTW key checking speed by 20%
* aircrack-ng: Try 1000 40bit keys before starting 104bit cracking, to get the key "instantly" without waiting for 104 bit to fail
* aircrack-ng: Fixed not shown ascii keys, when found key was shorter than expected
* aircrack-ng: Added visual inspection of the different keybytes (--visual-inspection).
* airdecap-ng: Fixed bug in calc_pmk() function causes wrong PMK to be computed
* aireplay-ng: Added usage of RTS/CTS, auth and ACK to --test (more stable and faster)
* aireplay-ng: Added TCP connection test to --test
* aireplay-ng: Changed injection rate to be more stable
* aireplay-ng: Made essid argument optional - sniffs the essid if its broadcasted
* aireplay-ng: Made src mac argument (-h) optional - uses default interface mac
* aireplay-ng: Added bitrate test to --test (-B)
* aireplay-ng: Fixed 100% cpu utilization in --test
* aireplay-ng: Added --fast switch to use first available packet without interaction
* aireplay-ng: chopchop now tries header recreation workaround if icv check failed
* aireplay-ng: Fixed seq field for fragment attack
* aireplay-ng: Now works with rtc_cmos
* aireplay-ng: Added automatic channel changing in --test to AP channel
* aireplay-ng: Added channel synchronization for --test between cards
* aireplay-ng: Added possibility to limit injection test to one AP "-a" or "-e"
* aireplay-ng: Added BSSID/ESSID detection, so it can be enough to specify one option
* makeivs-ng: Added parameters to set length, number and first IV of generated IVs
* makeivs-ng: Added possibility to generate IVs sequentially or randomly
* makeivs-ng: Added parameters to set percentage of false and dupe frames
* makeivs-ng: Added 256bit wep support
* packetforge-ng: Added support for generating more than on packet
* patches: updated rtl8187 patch for 2.6.22
* patches: updated zd1211rw patch for 2.6.22
* New IVS format for storing all relevant data
* Auto-creation of rtap interface if it doesn't exist (ipw2200)
* Better acx, rtl8180, orinoco and madwifi-ng detection
* Using OpenSSL instead of built-in crypto
* Added library rx/tx support
* Added airpcap rx/tx support
* Added airdriver-ng script for installing and managing patched drivers
* Added wesside-ng as an all in one tool for recovering the wep-key
* Added easside-ng for realtime decryption (instant rx/tx) of wep frames
* Added buddy-ng as loopback server for easside-ng
* Added airserv-ng - server for rx/tx on another system
* Added airolib-ng for using hash tables to crack wpa/wpa2 psk (supports cowpatty rainbow tables)
* Fixed compilation of optimized binaries with icc
* Fixed compilation on FreeBSD, NetBSD, OpenBSD and MacOSX
* Better WDS handling and display
* Added detection and removal of trailing fcs checksum
* Fixed several memory leaks
* Fixed being root when connecting to airserv-ng
* Added OpenBSD sniffing support
Version 0.9.3 (changes from aircrack-ng 0.9.2) - Released 24 February 2008:
* Fix endianness issues in airodump-ng, aireplay-ng.
* Several small bug fixes.
* Updated rtl8187 patch.
Version 0.9.2 (changes from aircrack-ng 0.9.1) - Released 05 February 2008:
* aireplay-ng: Now works with rtc_cmos
* aireplay-ng: Fixed compilation on Fedora Rawhide
* airodump-ng: Fixed: Wrong information printed in CSV file (PSK for WEP with Shared key instead of SKA).
* airodump-ng (airpcap): added support for 5Ghz channels.
* airdecap-ng: Fixed bug in calc_pmk() function causes wrong PMK to be computed
* airmon-ng: Fixed detection of N770 wireless interface
* airmon-ng: Fixed Ralink rt73 detection
* airmon-ng: Added driver detection through sysfs
* airmon-ng: Added mac80211 support
* airmon-ng: Added networkmanager detection - airmon-ng check
* airmon-ng: Added detection of ipwraw-ng driver
* GUI (win): Fixed file dialog for airdecap-ng
* manpages: updated airodump-ng manpage
* manpages: Fixes for whatis
* Makefiles: Fixed OpenBSD makefile.
Version 0.9.1 (changes from aircrack-ng 0.9) - Released 25 June 2007:
* airodump-ng: wlan-ng driver now works again.
* airodump-ng: Fixed IP address when writing to CSV file
* airodump-ng: Fixed debian bug #417388: it doesn't restore terminal after error
* aircrack-ng: Fixed WPA cracking on SMP computers
* aircrack-ng: Fixed bug in calc_pmk() function causes wrong PMK to be computed
* airmon-ng: Fixed madwifi-ng wifiX detection (due to translation in ifconfig)
* patches: Added ACX injection patch
* patches: Updated rtl8187 patch for 2.6.21
* GUI (win): Added PTW option to aircrack-ng tab.
* GUI (win): Fixed a bug when cracking with a wordlist.
Version 0.9 (changes from aircrack-ng 0.8) - Released 13 May 2007:
* aireplay-ng: Added new 'attack': injection test (--test)
* aireplay-ng: disallow injection with wlanng & kernel > 2.6.11
* airtun-ng: Fixed: an option wasn't shown in usage screen.
* airodump-ng (win): Fixed version numbering.
* airodump-ng (win): Changed first time messagebox
* aircrack-ng: Fixed: --help make aircrack-ng crash
* aircrack-ng: Added PTW attack (option: -z). It require full capture.
* airdecap-ng: now decrypt IEEE802.11 header with 802.11e header
* airmon-ng: Fixed orinoco card detection
* patches: updated zd1211rw patch for kernel 2.6.21
* patches: Added bcm43xx injection patch for kernel 2.6.20
* patches: updated rtl8187 patch (for new driver version).
* wzcook (win): now can work in silent mode (option: --silent)
* Makefile: added make zip (cygwin only)
* Makefile: fixed direct call to 'make install' or 'make strip' instead of 'make'
* GUI (win): Updated aircrack-ng tab and added an about tab.
Version 0.8 (changes from aircrack-ng 0.7) - Released 25 April 2007:
* aireplay-ng: Works on FreeBSD-CURRENT
* aircrack-ng: Fixed stdin dictionary usage
* aircrack-ng: Hardcode CPUs number to 1 in case detection fails
* aircrack-ng: Fixed too low trashvalue
* aireplay-ng: Fixed 384 bytes keystream output
* aireplay-ng: Fixed IV index bug
* aireplay-ng: Better error messages for -0 and -1
* airtun-ng: Works on FreeBSD
* airtun-ng: Fix compilation under FC6 (missing "linux/if.h" include).
* airodump-ng: Works on FreeBSD.
* airodump-ng: Added encryption filtering
* airodump-ng: Fixed a SIGSEGV
* airodump-ng: Added WPA handshake detection
* airodump-ng: Added non associated stations filter
* airodump-ng: Added support for zd1211rw
* airodump-ng: Fixed 100% cpu utilisation
* airmon-ng: Added support for zd1211rw driver
* airmon-ng: Added support for at76c503a, rt61 and rt73
* airmon-ng: Updated some device detection
* airmon-ng: Added Nokia 770 and PrismGT softmac
* airmon-ng: Fixed ACX driver monitor mode startup
* airmon-ng: Fixed syntax error
* airtun-ng: Works on FreeBSD
* airtun-ng: Added pcap support to replay saved wlan sessions
* airtun-ng: Added repeater mode, bssid and netmask filter
* packetforge-ng: Added null packet support
* packetforge-ng: Added packet selection for -9
* Patches: Added hostap kernel 2.6.18 patch
* Patches: Updated rtl8187 patch.
* Patches: Updated madwifi-ng patch.
* Patches: Added injection patch for zd1211 (does not work for all devices).
* Added airoscript (from daouid)
* Makefiles: Fixed: make uninstall did not remove all files
* Updated spec file by David Bolt to be able to build RPM packages on FC, Mandriva and Suse distro
* Added WEP authentication example capture
* Fixed gcc 2.95 compilation
* Fixed compilation on MacIntel
Version 0.7 (changes from aircrack-ng 0.6.2) - Released 20 January 2007:
* Makefiles: Improved + added makefiles for other OS
* Makefiles: Fixed make install on Windows and MacOS
* airtun-ng: Creates a tuntap interface, through which ordinary IP frames can be injected
* aireplay-ng: Added fragmentation attack
* aireplay-ng: Added shared key authentication
* airmon-ng: Now detect the shell when installing
* airmon-ng: Added support for rtl8187
* aircrack-ng: Added WEP dictionary attack
* aircrack-ng: Works with 802.11e QoS packets
* airodump-ng: Added MAC filtering
* airodump-ng: Now use the flaw in shared-key authentication
to generate a xor file containing the prga recovered from a shared-key authentication
* airodump-ng: More information about encryption on the AP
* airodump-ng: Receive quality indicator
* airodump-ng: The way ESSID is given in the CSV file is more clear
* packetforge-ng: Set the TTL value in the ip header
* packetforge-ng: Close open file handles
* Special handling of spanning tree packets
* Added rtl8187 patch for injection
* Other bug fixes
Version 0.6.2 (changes from aircrack-ng 0.6.1) - Released 1 October 2006:
* aireplay-ng: Applied patch to inject packets with an ipw2200
* aircrack-ng: Fixed: show_wpa_stats() 1 byte array overflow
* aircrack-ng: Fixed a warning when compiling on 64bit inner_bruteforcer_thread()
* aircrack-ng: Changed -d option. It's now a mask (use XX for unknown bytes).
* arpforge-ng: removed. It's replaced by packetforge-ng
* packetforge-ng: New tool to forge packets (by Martin Beck) + manpage written
* aircrack-ng, aireplay-ng, packetforge-ng: new MAC decoding function
* airmon-ng: Fixed a bug when using it with madwifi-ng
* airmon-ng: Added ipw3945 detection
* airodump-ng (windows): now automatically download peek.dll and peek5.sys if needed
* airodump-ng: LLC null packets are skipped
* makeivs: added manpage
* Makefile: Fixed: make aircrack-ng-opt-prof_gen fails
* updated madwifi-ng patch
Version 0.6.1 (changes from aircrack-ng 0.6) - Released 27 August 2006:
* aircrack-ng: Fixed missing '-s' option
* aircrack-ng: Fixed: Show a different ASCII key for a same hex key
* airodump-ng: Using --band option instead of --bg, --abg, --ab, ...
* airodump-ng: Fixed: fails to put wlanng in monitor mode
* airodump-ng: using rtap0 as interface should now work
* airodump-ng and aireplay-ng: "Can't find wireless tools, exiting." should be fixed if they exist
* airodump-ng and airmon-ng: rt2570 now uses prismheader (use at least beta 2 driver)
* airmon-ng: Fixed: discards ipw2200 v1.1.x
* airmon-ng: Fixed: show newly created madwifi-ng VAP
* airmon-ng: Should now works with 'ash' shell (Zaurus, OpenWRT, ...)
* INSTALL: Added a note about warnings when compiling sources
* INSTALL: Added more information about installing aircrack-ng on windows
* updated spec file
* some other bugfixes
* cygwin1.dll and msvcr70.dll are now included in windows package
Version 0.6 (changes from aircrack-ng 0.5) - Released 23 June 2006:
* aircrack-ng: Multithreaded keybytes bruteforcer
* aircrack-ng: Now bruteforce only last keybyte by default (faster than last 2KB)
* aircrack-ng: Added option to show ASCII version of the key
* aircrack-ng: Fixed: bug with -d option. It adds a leading "0x00" to the key
* aireplay-ng: fixed compilaton issues on some distro
* aireplay-ng: fixed a bug when using 'ash'
* aireplay-ng: You can change ring buffer size (-g option)
* airodump-ng: Log by default only one beacon (added option to log all beacons)
* airodump-ng: Dump prefix isn't mandatory anymore, not giving it won't store any data
* airmon-ng: Ralink devices needs be put in ad-hoc prior to inject packets
* manpages: Added kstat manpage
* manpages: fixed airodump-ng manpage (hyphen used as minus sign)
* Makefile: You can now compile aircrack-ng with Intel C Compiler (really faster)
* Updated madwifi-ng patch to r1545 (and up; can be applied on madwifi v0.9.0 and v0.9.1)
* Added instructions to compile on different plateforms/OS
* Added a WPA2 capture file in test directory
* Some other fixes
Version 0.5 (changes from aircrack-ng 0.4.4) - Released 04 May 2006:
* airodump-ng: Hop on 2.4Ghz channels by default
* airodump-ng: Added support for OpenWrt devices (use prism0 as capture interface)
* aircrack-ng and aireplay-ng: korek chopchop optimisation (Thanks to ASPj)
* airodump-ng: Fixed: when starting, it captured data on channel 10
* aircrack-ng: Fixed: Not using all CPU on SMP systems
Version 0.4.4 (changes from aircrack-ng 0.4.3) - Released 24 april 2006:
* aircrack-ng: fixed a stupid bug that prevent cracking
* sha1-mmx.S: GNU_STACK ELF marking
* updated patch for madwifi-ng r1526 and upper
Version 0.4.3 (changes from aircrack-ng 0.4.2) - Released 24 april 2006:
* airmon-ng: fixed madwifi-ng (VAP creation-destruction and a cosmetic fix)
* aircrack-ng: fixed compilation under OSX
* airodump-ng: added elapsed time
* Makefile : added a MacOSX makefile (Makefile.osx)
* updated patch for madwifi-ng r1520 and upper
Version 0.4.2 (changes from aircrack-ng 0.4.1) - Released 20 april 2006:
* airodump-ng: Fixed: dumpfile prefix took the name of the second argument
* airodump-ng: Fixed: .gps file creation if GPSd isn't used
* version.c removed (the content was moved to common.c)
Version 0.4.1 (changes from aircrack-ng 0.4) - Released 19 april 2006:
* airodump-ng: use of parameters like aircrack-ng, aireplay-ng, ...
* airodump-ng: more sanity checks
* airodump-ng & aireplay-ng: forbid the use of ndiswrapper
* airodump-ng & aireplay-ng: check of iwpriv existence
* manpages: updated and fixed typos
* Makefile: fixed "make doc"
* airmon-ng: fixed and improved madwifi detection
Version 0.4 (changes from aircrack-ng 0.3) - Released 16 april 2006:
* Typos fixed and cosmetic changes in sources and in manpages
* manpages: updated airodump-ng screenshot
* manpages and aireplay-ng: renamed attack names
* airodump-ng: fixed some compile warnings
* airodump-ng: hopping also on .11a channels if available
* airodump-ng: fixed: GPS coordinates were never shown
* airmon-ng: fixed ipw2100 (Thx to OverThere) and madwifi-ng detection
* aircrack-ng: speed optimizations
* aircrack-ng: -x option disable last 2 keybytes bruteforce (WEP cracking is faster)
* aircrack-ng: with -a option, you can use "wep" or "wpa" instead of numbers
* ivstools: --merge option fixed
* Makefiles: improvements
* Lots of little changes
* added aircrack-ng.spec for building RPM
* added slack-desc for building slackware packages
Version 0.3 (changes from aircrack-ng 0.2.1) - Released 30 march 2006:
* aireplay-ng: typo fixed
* aireplay-ng: Madwifi-ng is now supported
* airodump-ng: disabled GPS coordinates if connection to gpsd fail
* airodump-ng: Battery information fixed (hacked kismet code)
* airodump-ng: Madwifi-ng is now supported
* aircrack-ng: corrected title (when cracking a key)
* aircrack-ng: uses by default all CPU for cracking (Debian bug report #352877)
* manpages: Fixed some errors (Debian bug report #356551)
* manpages: created ivstools manpage
* Makefiles: cleaning and improvement
* fixed pcap2ivs bug (it wasn't using the good MAC for bssid)
* Merged mergeivs and pcap2ivs into ivstools
* airmon.sh: Fixed (hopefully) detection of ipw2100 and ipw2200 (Debian bug report #340057)
* airmon.sh: renamed to airmon-ng
* Updated madwifi-ng patch to r1486
Version 0.2.1 (changes from aircrack-ng 0.2) - Released 20 march 2006:
* corrected 2 bugs in airmon.sh and changed another little thing
* one word missing for option -j in aireplay
* updated madwifi-old patch to SVN r1475
* makefile cleaning
* typo corrected in pcap2ivs
Version 0.2 (changes from aircrack-ng 0.1) - Released 19 march 2006:
* updated version number and program name
* updated airmon.sh
added detection of acx, madwifi-ng and bcm43xx
* added manpages (Thanks to Adam Cecile)
* added madwifi-ng patches
* re-added missing drivers patches
* added uninstall rule in makefile
* added Sharp Zaurus binaries (Thanks to Rick Farina aka Zero_Chaos)
* added a cygwin makefile
Version 0.1 (changes from aircrack 2.41)
* updated windows binaries
* compiled some files for windows
* Separated in multiple packages
----------------------------------------------------------------------------------------------
Older Changelog:
Version 2.41 released on 2005-11-22. Changes from version 2.4:
* airodump: show probing clients as "not associated"
* airodump: don't subtract the noise level unless madwifi
* airodump: fixed channel hopping with old orinoco
* airmon.sh: added detection of the zd1211 driver
Version 2.4 released on 2005-11-12. Changes from version 2.3:
* airodump: display ESSIDs from Probe Requests
* airodump: don't overwrite existing capture files
* airodump: create a logfile of the gps coordinates
* airodump: every 20s, sort the detected APs by power
* airodump: display the remaining battery capacity
* airodump: use ioctl() instead of calling iwconfig
* airodump: added support for radiotap headers
* aireplay: added option -j (FromDS packet injection)
* aireplay: added prismheader support for rt2500 / rt2570
* aireplay: fixed attack -0 when injecting on ralink usb
* aireplay: fixed attack -3 (ring buffer / deauth problem)
* aircrack: don't bruteforce the last 2 keybytes by default
* aircrack: changed the fudge factor type to float
* aircrack: added option -t (restrict keyspace to BCD)
* aircrack: fixed the check_wep_key false positive bug
* aircrack: fixed overflow of the number of tested keys
* aircrack: lower number of required IVs if -d is used
* mergeivs and pcap2ivs: initial release
Version 2.3 released on 2005-08-28. Changes from version 2.23:
* aireplay: added patch for injection on Ralink USB
* aireplay: improved deauthentication attack (-c flag)
* aireplay: don't enable the prism header on athXraw
* airodump: fixed rare hanging problem in dump_write_csv
* airodump: workaround for ipw2200 wep data corruption bug
* airodump: tweaked dump_print to make more space for ESSID
* aircrack: added support for 152-bit WEP cracking
* updated the documentation and merged versioning patch
Version 2.23 released on 2005-08-17. Changes from version 2.22:
* aireplay: updated the madwifi patch, fixes WEP/WPA support
* airodump: fixed a few buffer overflows, code cleanup for gcc4
* aircrack: also printf the WEP key if >= 75% ASCII characters
Version 2.22 released on 2005-08-14. Changes from version 2.21:
* aireplay: now compatible with madwifi CVS 2005-08-14
* airodump: fixed the output power with newer madwifi
Version 2.21 released on 2005-08-09. Changes from version 2.2:
* airodump: forcefully exit when user presses Ctrl-C
* airodump: bugfixed (yet again) ESSID uncloacking
* airodump: re-create the ivs file if no header present
* aircrack: changed the default fudge factor back to 2
* airdecap: fixed the incorrect output pcap header length
Version 2.2 released on 2005-08-03. Changes from version 2.2-beta12:
* aireplay: (attack 1) added G rates in the association request
* fixed the Makefile for compilation on FreeBSD / Mac OS X
Version 2.2-beta12 released on 2005-07-30. Changes from version 2.2-beta11:
* aireplay: bugfixed the madwifi patch, switched to 20050707
* aireplay: avoid triggering "protocol XX00 is buggy" messages
* airodump: don't reset the card when hopping between channels
* airodump: ipw2200 didn't like calling "iwpriv ethX monitor 1"
* airodump: added support for airodump on WRT54G / OpenWRT
* airodump: commit the .txt statistics file every 20 seconds
* aircrack: increased the default fudge factor (3 for WEP-104)
Version 2.2-beta11 released on 2005-07-27. Changes from version 2.2-beta10:
* aireplay: updated the madwifi patch to inject in b/g mode
* aireplay: fixed attack 2 (it wrongly swapped the smac & dmac)
* aircrack: (cygwin) added O_BINARY flag to force binary mode
Version 2.2-beta10 released on 2005-07-23. Changes from version 2.2-beta9:
* aireplay: fixed the status line not showing in attack -3
* aireplay: updated the madwifi and hostap injection patches
* aireplay: added patches for injection on rt2500 and rtl8180
* aircrack: added detection of 802.1d in check_wep_key
* airodump: restore prismheader link level info w/ hostap
* airodump: create the output file if there's no pcap header
* airdecap: added flag -l to disable ethernet conversion
* updated the win32 port and rewrote the documentation
Version 2.2-beta9 released on 2005-07-21. Changes from version 2.2-beta8:
* aireplay: fixed the invalid rtc file descriptor bug
* aircrack: actually fixed the prism header endianness bug
Version 2.2-beta8 released on 2005-07-21. Changes from version 2.2-beta7:
* aireplay: specify the deauth count instead of delay
* aircrack: fixed an endianness issue with the prism header
* aircrack: added the experimental single bruteforce attack
* airodump: do enable the prismheader with wlan-ng
* airodump: WEP/WPA: show the number of data packets
* airodump: show total number of captured beacon packets
* airodump: orinoco: fixed "iwpriv ethX monitor 1" command
* airdecap: fixed an endianness issue with the packet length
* airdecap: skip already processed duplicate packets
Version 2.2-beta7 released on 2005-07-14. Changes from version 2.2-beta6:
* airodump: don't enable the prismheader with wlan-ng
* aircrack: fixed check_wepkey() to avoid false positives
* completed the preliminary win32 port
Version 2.2-beta6 released on 2005-07-12. Changes from version 2.2-beta5:
* aireplay: fixed injection of fromds packets on Prism2
* aireplay: attack 0: target access point must be specified
* aireplay: attack 1: allow the user to change reauth delay
* aircrack: fixed race condition when realloc() ap->ivbuf
* airodump: fixed endianness issue when parsing prism header
Version 2.2-beta5 released on 2005-07-10. Changes from version 2.2-beta4:
* aireplay: added patch for single-nic injection on hostap
* aireplay: fixed chopchop attack in non-authenticated mode
* aireplay: don't flood the AP with authentication requests
* aircrack: bruteforce the last two keybytes by default
* aircrack: improved handling of partial WPA handshakes
* aircrack, airdecap: added WPA2 (RSN / 802.11i) support
Version 2.2-beta4 released on 2005-07-03. Changes from version 2.2-beta3:
* aircrack: new option to restrict WEP search space to ascii
* aircrack: fixed concurrency bug with multiple .cap files
* aircrack: fixed incorrect detection of WPA CCMP handshakes
* aircrack: fixed incorrect handling of HMAC-SHA1 WPA MIC
* aireplay: fixed deauth problem when chopchoping a packet
* aireplay: added a workaround for error "Write buffer full"
* airodump: added support for prism header on prism54
* airodump: save the list of detected wireless clients
* airunwep: renamed to airdecap, added WPA decryption support
Version 2.2-beta3 released on 2005-06-28. Changes from version 2.2-beta2:
* aircrack: fixed the tracking of new IVs
* aireplay: fixed the CPU usage bug in attack 3
* when reading pcap files, check the packet length
Version 2.2-beta2 released on 2005-06-27. Changes from version 2.2-beta1:
* aireplay: added fully automated ARP replay attack
* aireplay: added automated deauthentication attack
* aireplay: added fake authentication in Monitor mode
* aircrack: various pthread enhancements & bugfixes
Version 2.2-beta1 released on 2005-06-22. Changes from version 2.1:
* aircrack: now auto-updates if new IVs are available
* aircrack: fixed #285441 (struct pcap_pkthdr on AMD64)
* aircrack: fixed the pcap endianness problem
* aircrack: added essid filtering option and quiet mode
* aircrack: only print status info every 1/20th second
* aircrack: added WPA-PSK cracking support from cowpatty
* aircrack: added EAPOL frame type detection and display
* aircrack: each korek attack can be disabled selectively
* airodump: added 802.11 b/g (2.4 GHz) channel hopping
* airodump: added a file format for logging only the IVs
* airodump: CRC is properly removed if driver is madwifi
* airodump: input packets can be read from a pcap file
* airodump: bugfixed WPA detection and ESSID uncloaking
* airodump: also display a list of detected stations
* aireplay: implemented chopchop and arp-forgery
* aireplay: added patches for single-nic injection
* 802ether: bugfixed and renamed to airunwep
Version 2.1 released on 2004-10-01. Changes from version 2.0.2:
* added 11g and WPA detection support in airodump
* aircrack automatically avoids using WPA IVs
* aircrack can break 256-bit and 512-bit WEP keys
* win32 - fixed yet again the "missed IVs" bug
* win32 - ported the 802ether WEP decryptor program
Version 2.0.2 released on 2004-09-24. Changes from version 2.0.1:
* win32 - added the WZCOOK key recovery program
* fixed a bug in the BSSID iteration code in airodump
* completely rewrote the documentation, moved to /docs
Version 2.0.1 released on 2004-09-21. Changes from version 2.0:
* win32 - fixed the channel reset bug
* win32 - fixed the "missed IVs" bug
* win32 - rewrote drivers.txt
Version 2.0 released on 2004-09-03. Changes from version 1.4:
* native win32 port of airodump and aircrack
* aireplay better spots potential arp-requests
Version 1.4 released on 2004-08-26. Changes from version 1.3:
* fixed check_wepkey, works with exotic LLC headers
* airodump prints lots of information, Kismet-style
Version 1.3 released on 2004-08-19. Changes from version 1.2:
* bugfixed and improved KoreK's code
* renamed airunwep to 802ether
Version 1.2 released on 2004-08-17. Changes from version 1.1:
* implemented KoreK's advanced WEP attacks
* completely rewrote the SMP engine
Version 1.1 released on 2004-08-11. Changes from version 1.0:
* implemented WEP arp-requests replay attack
* improved the fudge calculation algorithm
* added multi-processor support
Version 1.0 released on 2004-07-29 |
|
aircrack-ng/configure.ac | # Aircrack-ng
#
# Copyright (C) 2017-2022 Joseph Benden <[email protected]>
#
# Autotool support was written by: Joseph Benden <[email protected]>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
#
# In addition, as a special exception, the copyright holders give
# permission to link the code of portions of this program with the
# OpenSSL library under certain conditions as described in each
# individual source file, and distribute linked combinations
# including the two.
#
# You must obey the GNU General Public License in all respects
# for all of the code used other than OpenSSL.
#
# If you modify file(s) with this exception, you may extend this
# exception to your # version of the file(s), but you are not obligated
# to do so.
#
# If you # do not wish to do so, delete this exception statement from your
# version.
#
# If you delete this exception statement from all source files in the
# program, then also delete it here.
m4_pattern_allow([AC_VERSION])
m4_define([version_date], "May 2022")
m4_define([version_major], 1)
m4_define([version_minor], 7)
m4_define([version_micro], 0)
m4_define([version_beta], 0)
m4_define([version_rc], 0)
m4_define([version_scm],[m4_translit(m4_esyscmd([$(pwd)/evalrev . scm || echo]),m4_newline)])
m4_define([version_triplet],version_major.version_minor.version_micro)
m4_append([version_triplet],version_scm)
AC_PREREQ([2.59])
AC_INIT([aircrack-ng],[version_triplet],[https://github.com/aircrack-ng/aircrack-ng/discussions])
#
# Cross-Compilation
#
AC_CANONICAL_BUILD
AC_CANONICAL_HOST
AC_CANONICAL_TARGET
#
# Initialize Automake
#
AC_CONFIG_AUX_DIR([.])
AC_CONFIG_MACRO_DIR([build/m4/stubs])
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE([1.14 dist-bzip2 dist-zip foreign subdir-objects])
AM_MAINTAINER_MODE([disable])
AC_SUBST([ACLOCAL_AMFLAGS], ["-I build/m4/stubs -I build/m4 \${ACLOCAL_FLAGS}"])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
#
# Ensure MAKE is GNU compatible
#
if ! ${MAKE-make} --version /cannot/make/this >/dev/null 2>&1; then
AC_MSG_ERROR([you don't seem to have GNU make; it is required])
fi
#
# Find tooling
#
AIRCRACK_NG_PROG_CC
AIRCRACK_NG_PROG_CXX
AX_CXX_COMPILE_STDCXX([17], [ext], [optional])
if test "$HAVE_CXX17" = "0"; then
AX_CXX_COMPILE_STDCXX([14], [ext], [optional])
if test "$HAVE_CXX14" = "0"; then
AX_CXX_COMPILE_STDCXX([11], [ext], [mandatory])
fi
fi
AC_PROG_INSTALL
AM_PROG_AS
PKG_PROG_PKG_CONFIG
AM_PROG_CC_C_O
AC_C_CONST
AC_PROG_EGREP
AC_CHECK_HEADERS([locale.h stdio.h stdarg.h fcntl.h malloc.h stdlib.h string.h strings.h unistd.h sys/stat.h getopt.h sys/time.h sys/types.h dirent.h])
#
# Set versioning detail
#
AC_SUBST([_MAJ], [version_major])
AC_SUBST([_MIN], [version_minor])
AC_SUBST([_SUB_MIN], [version_micro])
AC_SUBST([_BETA], [version_beta])
AC_SUBST([_RC], [version_rc])
AC_SUBST([_SCM], [version_scm])
AC_SUBST([LT_VER], [version_major.version_minor.version_micro])
AC_SUBST([MAN_RELEASE_DATE], [version_date])
AC_SUBST([MAN_RELEASE_VERSION], ["Version version_triplet"])
AC_DEFINE([_REVISION], ["version_triplet"], [The version information of the project])
AC_DEFINE([LT_CYGWIN_VER], ["-version_major-version_minor-version_micro.dll"], [The Cygwin DLL version string suffix])
#
# Initialize libtool
#
LT_INIT([win32-dll disable-static shared])
#
# Operating Systems
#
AIRCRACK_NG_MAC
AIRCRACK_NG_WINDOWS
AIRCRACK_NG_OS_DETECT
#
# Required
#
AIRCRACK_NG_CRYPTO
AIRCRACK_NG_ETHTOOL
AIRCRACK_NG_LIBNL
#
# Optional
#
AIRCRACK_NG_AIRPCAP
AIRCRACK_NG_EXPECT
AIRCRACK_NG_EXPERIMENTAL
AIRCRACK_NG_EXT_SCRIPTS
AIRCRACK_NG_HWLOC
AIRCRACK_NG_PCAP
AIRCRACK_NG_PCRE
AIRCRACK_NG_RFKILL
AIRCRACK_NG_SQLITE
AIRCRACK_NG_ZLIB
PKG_CHECK_MODULES([CMOCKA], [cmocka], [
CMOCKA_FOUND=yes
AC_SUBST([CMOCKA_CFLAGS])
AC_SUBST([CMOCKA_LIBS])
], [CMOCKA_FOUND=no])
#
# Extras, but needed
#
AIRCRACK_NG_LARGEFILE
AIRCRACK_NG_PTHREAD
AX_LIB_SOCKET_NSL
AC_CHECK_LIB([dl], [dlopen], [ LIBS="$LIBS -ldl" ], [:])
AC_CHECK_LIB([m], [sin], [ LIBS="$LIBS -lm" ], [:])
AIRCRACK_NG_COMPAT
saved_cflags="$CFLAGS"
CFLAGS=""
AC_CHECK_FUNCS([posix_memalign aligned_alloc memalign __mingw_aligned_malloc _aligned_malloc], break)
CFLAGS="$saved_cflags"
#
# Code Coverage Support
#
AIRCRACK_NG_CODE_COVERAGE
#
# Compiler set-up
#
AIRCRACK_NG_COMPILER_C
AIRCRACK_NG_COMPILER_CXX
#
# Processor feature selection/detection
#
AIRCRACK_NG_SIMD_C
AIRCRACK_NG_SIMD_CXX
#
# Optional analyzers
#
AIRCRACK_NG_ASAN
AIRCRACK_NG_DUMA
AIRCRACK_NG_JEMALLOC
AIRCRACK_NG_TCMALLOC
AIRCRACK_NG_TSAN
#
# Automake
#
AM_CONDITIONAL([HAVE_AIRPCAP_OR_PCAP], [test "$AIRPCAP" = yes -o "$PCAP_FOUND" = yes])
AM_CONDITIONAL([MULTIBIN], [test "$with_multibin" = yes])
AM_CONDITIONAL([ENABLE_INSTALLED_TESTS], [test "nope" = yes]) # for glib tests
AM_CONDITIONAL([CMOCKA], [test "$CMOCKA_FOUND" = yes])
AM_CONDITIONAL([STATIC_BUILD], [test "$enable_static" = yes])
AM_CONDITIONAL([EXPECT], [test "$EXPECT_FOUND" = yes])
#
# Save flags for build summary
#
summary_cflags="$CFLAGS"
summary_cxxflags="$CXXFLAGS"
summary_cppflags="$CPPFLAGS"
summary_libs="$LIBS"
#
# Set final flags for build
#
CFLAGS="$opt_cflags $CFLAGS"
CPPFLAGS="$opt_cppflags $CPPFLAGS"
CXXFLAGS="$opt_cxxflags $CXXFLAGS"
LDFLAGS="$opt_ldflags $LDFLAGS"
LIBS="$opt_libs $LIBS"
#
# Generate all build files
#
AC_CONFIG_FILES([
Makefile
AC_VERSION
include/aircrack-ng/version.h
manpages/airbase-ng.8
manpages/aircrack-ng.1
manpages/airdecap-ng.1
manpages/airdecloak-ng.1
manpages/aireplay-ng.8
manpages/airmon-ng.8
manpages/airodump-ng.8
manpages/airodump-ng-oui-update.8
manpages/airolib-ng.1
manpages/airserv-ng.8
manpages/airtun-ng.8
manpages/airventriloquist-ng.8
manpages/besside-ng.8
manpages/besside-ng-crawler.1
manpages/buddy-ng.1
manpages/easside-ng.8
manpages/ivstools.1
manpages/kstats.1
manpages/Makefile
manpages/makeivs-ng.1
manpages/packetforge-ng.1
manpages/tkiptun-ng.8
manpages/wesside-ng.8
manpages/wpaclean.1
scripts/Makefile
scripts/airdrop-ng/Makefile
scripts/airdrop-ng/doc/Makefile
scripts/airgraph-ng/Makefile
scripts/airgraph-ng/man/Makefile
scripts/versuck-ng/Makefile
test/test-env.sh
])
AC_OUTPUT
#
# Output a summary of the build to be performed
#
cat <<EOF
${PACKAGE} ${VERSION}
Build Environment:
Build Machine: ${build}
Host Machine: ${host}
Target Machine: ${target}
Install Prefix: ${prefix}
Compiler Environment:
C Compiler: ${CC}
C++ Compiler: ${CXX}
Python: ${PYTHON}
CFLAGS: ${summary_cflags}
CXXFLAGS: ${summary_cxxflags}
CPPFLAGS: ${summary_cppflags}
LDFLAGS: ${LDFLAGS}
LIBS: ${summary_libs}
Optimized CFLAGS: ${opt_cflags}
Optimized CXXFLAGS: ${opt_cxxflags}
Optimized CPPFLAGS: ${opt_cppflags}
Optimized LDFLAGS: ${opt_ldflags}
Optimized LIBS: ${opt_libs}
Target Environment:
OS: ${OS}
ASAN: ${asan}
CPU L1 cache-line size: ${CACHELINE_SIZE}
LTO ${with_lto:-no}
Crypto Libraries:
Crypto Engine: ${CRYPTO_TYPE}
Gcrypt: ${GCRYPT_LIBS}
OpenSSL: ${OPENSSL_LIBS}
Required Libraries:
Ethtool: ${ETHTOOL_FOUND}
Libnl: ${NLLIBNAME_FOUND}
Optional Libraries:
Airpcap: ${AIRPCAP}
Cmocka: ${CMOCKA_FOUND}
DUMA: ${DUMA}
Hwloc: ${HAVE_HWLOC}
Jemalloc: ${JEMALLOC}
Pcap: ${PCAP_FOUND}
Pcre: ${HAVE_PCRE}
Pcre2: ${HAVE_PCRE2} ${PCRE2_NOTE}
Sqlite: ${HAVE_SQLITE3}
Tcmalloc: ${TCMALLOC}
Zlib: ${HAVE_ZLIB}
Features:
CMAC Support: ${HAVE_CMAC}
Experimental Extra Scripts: ${EXT_SCRIPTS}
Experimental Features: ${EXPERIMENTAL}
EOF |
|
aircrack-ng/Dockerfile | ARG IMAGE_BASE=debian:unstable-slim
# hadolint ignore=DL3006
FROM ${IMAGE_BASE} AS builder
# Install dependencies for building
COPY docker_package_install.sh /
RUN sh /docker_package_install.sh builder
# Build Aircrack-ng
# hadolint ignore=DL3059
RUN mkdir -p /aircrack-ng /output
COPY . /aircrack-ng
WORKDIR /aircrack-ng
# hadolint ignore=SC2006
RUN set -x \
&& make distclean || : && \
autoreconf -vif && \
set -e; \
./configure --with-experimental --with-ext-scripts --enable-maintainer-mode --prefix=/usr/local && \
make -j3 && \
set +e && \
if ! make check -j3; then \
echo "Processor: $(uname -m)"; \
for file in `grep -l "(exit status: [1-9]" test/*.log`; do \
echo "[*] Test ${file}:"; \
cat "${file}"; \
done; \
exit 1; \
fi && \
set -e && \
make install DESTDIR=/output
# Stage 2
# hadolint ignore=DL3006
FROM ${IMAGE_BASE}
# Due to the behavior of buildx failing to copy to directories being
# a symlink (whereas docker build works), copy the content to /output
# then manually move all the files in /usr/local
# In Arch-based distros, /usr/local/share/man is a symlink
RUN mkdir /output
COPY --from=builder /output/usr /output
# And another workaround for Clear Linux where this directory does not exist
# hadolint ignore=SC2015
RUN set -x && \
[ -d /usr/local/share/man ] || \
mkdir -p /usr/local/share/man
RUN mv /output/local/share/man/* /usr/local/share/man/ && \
rmdir /output/local/share/man/ && \
cp -r /output/* /usr/ && \
rm -rf /output
COPY docker_package_install.sh /
# Install dependencies
RUN set -x \
&& sh /docker_package_install.sh stage2 \
&& rm /docker_package_install.sh \
&& aircrack-ng -u |
|
aircrack-ng/Dockerfile.release | ARG IMAGE_BASE=debian:unstable-slim
# hadolint ignore=DL3006
FROM ${IMAGE_BASE} AS builder
# https://docs.github.com/en/actions/learn-github-actions/environment-variables#default-environment-variables
# Tag name
ARG GITHUB_REF_NAME
# Install dependencies for building
COPY docker_package_install.sh /opt
RUN sh /opt/docker_package_install.sh builder
# Create git archive
# hadolint ignore=DL3059
RUN mkdir -p /aircrack-ng/git /aircrack-ng/archive /output
COPY . /aircrack-ng/git
WORKDIR /aircrack-ng/git
# hadolint ignore=DL4006,SC3040
RUN set -o pipefail && \
git archive --format=tar ${GITHUB_REF_NAME} \
| tar -xf - --directory /aircrack-ng/archive
# Build Aircrack-ng
WORKDIR /aircrack-ng/archive
RUN set -x \
&& make distclean || : && \
autoreconf -vif && \
set -e; \
./configure --with-experimental --with-ext-scripts --enable-maintainer-mode --without-opt --prefix=/usr && \
make -j3 && \
make check -j3 && \
make install DESTDIR=/output
# Stage 2
# hadolint ignore=DL3006
FROM ${IMAGE_BASE}
# Due to the behavior of buildx failing to copy to directories being
# a symlink (whereas docker build works), copy the content to /output
# then manually move all the files in /usr/local
# In Arch-based distros, /usr/local/share/man is a symlink
RUN mkdir /output
COPY --from=builder /output/usr /output
# And another workaround for Clear Linux where this directory does not exist
# hadolint ignore=SC2015
RUN set -x && \
[ -d /usr/local/share/man ] || \
mkdir -p /usr/local/share/man
RUN mv /output/local/share/man/* /usr/local/share/man/ && \
rmdir /output/local/share/man/ && \
cp -r /output/* /usr/ && \
rm -rf /output
COPY docker_package_install.sh /
# Install dependencies
RUN set -x \
&& sh /docker_package_install.sh stage2 \
&& rm /docker_package_install.sh \
&& aircrack-ng -u |
|
Shell Script | aircrack-ng/docker_package_install.sh | #!/bin/sh
echo "[*] Installing packages"
STEP=$1
if [ -z "$STEP" ]; then
echo "[!] Must specify 'builder' or 'stage2' as arguments"
exit 1
elif [ "$STEP" = 'builder' ]; then
echo "[*] Builder step"
elif [ "$STEP" = 'stage2' ]; then
echo "[*] Stage2 step"
fi
# Load OS info
# shellcheck source=/dev/null
. /etc/os-release
if [ "${ID}" = 'debian' ] || [ "${ID_LIKE}" = 'debian' ]; then
[ "${ID_LIKE}" = 'debian' ] && echo "[*] Detected debian-based distro: ${ID} (${VERSION_ID})"
[ "${ID}" = 'debian' ] && echo "[*] Detected debian (${VERSION_CODENAME}/${VERSION_ID})"
if [ "${STEP}" = 'builder' ]; then
apt-get update \
&& export DEBIAN_FRONTEND=noninteractive \
&& apt-get -y install --no-install-recommends \
build-essential autoconf automake libtool pkg-config libnl-3-dev libnl-genl-3-dev libssl-dev \
ethtool shtool rfkill zlib1g-dev libpcap-dev libsqlite3-dev libpcre2-dev libhwloc-dev \
libcmocka-dev hostapd wpasupplicant tcpdump screen iw usbutils expect gawk bear \
libtinfo5 python3-pip git && \
rm -rf /var/lib/apt/lists/*
elif [ "${STEP}" = 'stage2' ]; then
apt-get update && \
apt-get -y install --no-install-recommends \
libsqlite3-0 libssl3 hwloc libpcre2-posix3 libnl-3-200 libnl-genl-3-200 iw usbutils pciutils \
iproute2 ethtool kmod wget ieee-data python3 python3-graphviz rfkill && \
rm -rf /var/lib/apt/lists/*
fi
elif [ "${ID}" = 'arch' ] || [ "${ID_LIKE}" = 'arch' ]; then
[ "${ID}" = 'arch' ] && echo "[*] Detected Arch Linux"
[ "${ID_LIKE}" = 'arch' ] && echo "[*] Detected Arch-based Linux: ${NAME} (${ID})"
if [ "${STEP}" = 'builder' ]; then
pacman -Sy --noconfirm base-devel libnl openssl ethtool util-linux zlib libpcap sqlite pcre2 hwloc \
cmocka hostapd wpa_supplicant tcpdump screen iw usbutils pciutils expect git \
python python-setuptools
elif [ "${STEP}" = 'stage2' ]; then
pacman -Sy --noconfirm libnl openssl ethtool util-linux zlib libpcap sqlite pcre2 hwloc iw usbutils \
pciutils python-graphviz python
fi
elif [ "${ID}" = 'alpine' ]; then
echo "[*] Detected alpine"
if [ "${STEP}" = 'builder' ]; then
apk add --no-cache \
gcc g++ make autoconf automake libtool libnl3-dev openssl-dev ethtool libpcap-dev cmocka-dev \
hostapd wpa_supplicant tcpdump screen iw pkgconf util-linux sqlite-dev pcre2-dev linux-headers \
zlib-dev pciutils usbutils expect hwloc-dev git python3 expect gawk bear py3-pip
elif [ "${STEP}" = 'stage2' ]; then
apk add --no-cache \
libnl3 openssl ethtool libpcap util-linux sqlite-dev pcre2 zlib pciutils usbutils hwloc wget \
iproute2 kmod python3 py3-graphviz urfkill iw
fi
elif [ "${ID}" = 'fedora' ] || [ "${ID}" = 'almalinux' ] || [ "${ID}" = 'rocky' ] || [ "${ID}" = 'ol' ]; then
echo "[*] Distribution: ${NAME} (${VERSION_ID})"
LIBPCAP=libpcap-devel
CMOCKA=libcmocka-devel
dnf distrosync -y --refresh
if [ "${STEP}" = 'builder' ]; then
if [ "${ID}" = 'almalinux' ] || [ "${ID}" = 'rocky' ]; then
echo "[*] Install EPEL and enabling CRB"
dnf install epel-release dnf-plugins-core -y
dnf config-manager --set-enabled crb
dnf distrosync -y --refresh
elif [ "${ID}" = 'ol' ]; then
echo "[*] Install EPEL"
dnf install epel-release dnf-plugins-core -y
dnf install xz cmake gcc -y
LIBPCAP=libpcap
# We're installing cmocka manually, not present in repos
CMOCKA=""
dnf distrosync -y --refresh
cd /tmp || exit
curl https://cmocka.org/files/1.0/cmocka-1.0.1.tar.xz -o cmocka-1.0.1.tar.xz
tar -xf cmocka-1.0.1.tar.xz
cd cmocka-1.0.1 || exit
mkdir build
cd build || exit
cmake ..
make
make install
# Otherwise tests will fail because it cannot open the shared library
export LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib64
ldconfig
cd / || exit
fi
dnf install -y libtool pkgconfig sqlite-devel autoconf automake openssl-devel ${LIBPCAP} \
pcre2-devel rfkill libnl3-devel gcc gcc-c++ ethtool hwloc-devel ${CMOCKA} \
make file expect hostapd wpa_supplicant iw usbutils tcpdump screen zlib-devel \
expect python3-pip python3-setuptools git
elif [ "${STEP}" = 'stage2' ]; then
GRAPHVIZ=python3-graphviz
[ "${ID}" != 'fedora' ] && GRAPHVIZ=graphviz-python3
dnf install -y libnl3 openssl-libs zlib libpcap sqlite-libs pcre2 hwloc iw ethtool pciutils \
usbutils expect python3 ${GRAPHVIZ} iw util-linux ethtool kmod
fi
elif [ "${ID}" = 'opensuse-leap' ]; then
echo "[*] Detected openSUSE Leap"
if [ "${STEP}" = 'builder' ]; then
zypper install -y autoconf automake libtool pkg-config libnl3-devel libopenssl-1_1-devel zlib-devel \
libpcap-devel sqlite3-devel pcre2-devel hwloc-devel libcmocka-devel hostapd screen \
wpa_supplicant tcpdump iw gcc-c++ gcc ethtool pciutils usbutils expect python3-pip \
python3-setuptools git
elif [ "${STEP}" = 'stage2' ]; then
zypper install -y libnl3-200 libopenssl1_1 zlib libpcap sqlite3 libpcre2-8-0 hwloc iw ethtool pciutils \
usbutils expect python3 python3-graphviz iw util-linux ethtool kmod
fi
elif [ "${ID}" = 'gentoo' ]; then
echo "[*] Detected Gentoo"
if [ "${STEP}" = 'builder' ]; then
export EMERGE_DEFAULT_OPTS="--binpkg-respect-use=y --getbinpkg=y"
cat <<EOF >/etc/portage/binrepos.conf
[binhost]
priority = 9999
sync-uri = https://gentoo.osuosl.org/experimental/amd64/binpkg/default/linux/17.1/x86-64/
EOF
emerge --sync >/dev/null
emerge app-portage/elt-patches dev-db/sqlite dev-lang/python dev-libs/libbsd dev-libs/libnl dev-libs/libpcre2 \
dev-libs/openssl dev-vcs/git net-libs/libpcap net-wireless/iw net-wireless/lorcon sys-apps/hwloc \
net-wireless/wireless-tools sys-apps/ethtool sys-apps/hwdata sys-apps/pciutils sys-apps/usbutils \
sys-devel/autoconf sys-devel/automake sys-devel/gnuconfig sys-devel/libtool sys-libs/zlib
elif [ "${STEP}" = 'stage2' ]; then
export EMERGE_DEFAULT_OPTS="--binpkg-respect-use=y --getbinpkg=y"
cat <<EOF >/etc/portage/binrepos.conf
[binhost]
priority = 9999
sync-uri = https://gentoo.osuosl.org/experimental/amd64/binpkg/default/linux/17.1/x86-64/
EOF
emerge --sync >/dev/null
emerge dev-db/sqlite dev-lang/python dev-libs/libbsd dev-libs/libnl dev-libs/libpcre2 dev-libs/openssl \
net-libs/libpcap net-wireless/iw net-wireless/lorcon net-wireless/wireless-tools sys-apps/ethtool \
sys-apps/hwdata sys-apps/hwloc sys-apps/pciutils sys-apps/usbutils sys-libs/zlib app-portage/gentoolkit
eclean --deep distfiles && eclean --deep packages
emerge --depclean app-portage/gentoolkit
rm -fr /var/db/repos/gentoo /etc/portage/binrepos.conf
fi
elif [ "${ID}" = 'clear-linux-os' ]; then
echo "[*] Detected Clear Linux (${VERSION_ID})"
if [ "${STEP}" = 'builder' ]; then
# Build hostapd
swupd bundle-add wget c-basic devpkg-openssl devpkg-libnl
wget https://w1.fi/releases/hostapd-2.10.tar.gz
tar -zxf hostapd-2.10.tar.gz
cd hostapd-2.10/hostapd || exit 1
cp defconfig .config
make
make install
hostapd -v
# Install the rest of the packages
swupd bundle-add devpkg-libgcrypt devpkg-hwloc devpkg-libpcap
# Split it in multiple parts to avoid failure: "Error: Bundle too large by xxxxM"
swupd bundle-add devpkg-pcre2 devpkg-sqlite-autoconf git
swupd bundle-add ethtool network-basic software-testing
swupd bundle-add sysadmin-basic wpa_supplicant os-testsuite
elif [ "${STEP}" = 'stage2' ]; then
# Break it in multiple steps to avoid the issue mentioned above
swupd bundle-add libnl openssl devpkg-zlib devpkg-libpcap
swupd bundle-add sqlite devpkg-pcre2 hwloc network-basic ethtool
swupd bundle-add sysadmin-basic python-extras
fi
else
echo "[!] Unsupported distro: ${ID} - PR welcome"
exit 1
fi
# shellcheck disable=SC2181
if [ $? -ne 0 ]; then
echo '[!] ERROR, aborting'
exit 1
fi
exit 0 |
aircrack-ng/evalrev | #!/bin/sh
set -euf
DIR=${1:-}
CMD=${2:-}
SCM=""
if [ x$DIR = "x" ]
then
DIR="."
fi
if test -d "${DIR}/.git"; then
#
# Locate the closest annotated tag
#
REVISION="$(git describe --abbrev=0 --tags 2>/dev/null || echo unknown)"
#
# Determine if we are a development branch, if so then append the
# short SHA1.
#
EXACTLY="$(git describe --abbrev=0 --tags --exact-match 2>/dev/null || echo)"
if test -z "$EXACTLY"; then
REVISION="${REVISION}_rev-$(git rev-parse --verify --short HEAD)"
SCM="_rev-$(git rev-parse --verify --short HEAD)"
fi
elif test -d "${DIR}/.svn"; then
REVISION="_r$(svnversion $DIR 2> /dev/null | sed 's/[^0-9]*//g')"
SCM="_r$(svnversion $DIR 2> /dev/null | sed 's/[^0-9]*//g')"
if test x$REVISION = "x"; then
REVISION="_r$(svn info $DIR 2> /dev/null | grep -i revision | sed 's/[^0-9]*//g')"
SCM="_r$(svn info $DIR 2> /dev/null | grep -i revision | sed 's/[^0-9]*//g')"
fi
if test x$REVISION = "x"; then
if test -f "${DIR}/.svn/entries"; then
REVISION="_r$(cat ${DIR}/.svn/entries | grep -i revision | head -n 1 | sed 's/[^0-9]*//g')"
SCM="_r$(cat ${DIR}/.svn/entries | grep -i revision | head -n 1 | sed 's/[^0-9]*//g')"
fi
fi
if test x$REVISION = "x"; then
REVISION="_r1"
SCM="_r1"
fi
elif [ -n "${GITHUB_SHA}" ]; then
SHORT_SHA_REVISION="$(echo ${GITHUB_SHA} | cut -b 1-8)"
VERSION=$(cat ${DIR}/AC_VERSION 2>/dev/null)
REVISION="${VERSION}_rev-${SHORT_SHA_REVISION}"
SCM="_rev-${SHORT_SHA_REVISION}"
else
REVISION="$(cat ${DIR}/AC_VERSION 2>/dev/null)"
fi
if test "x$CMD" = "xscm"; then
echo $SCM
elif test "x$CMD" = "xquoted"; then
echo \"$REVISION\"
else
echo $REVISION
fi |
|
aircrack-ng/INSTALLING | == Building ==
=== Requirements ===
* Autoconf
* Automake
* Libtool
* shtool
* OpenSSL development package or libgcrypt development package.
* Airmon-ng (Linux) requires ethtool, usbutils, and often pciutils.
* On Windows, cygwin has to be used and it also requires w32api package.
* On Windows, if using clang, libiconv and libiconv-devel
* Linux: LibNetlink 1 or 3. It can be disabled by passing --disable-libnl to configure.
* pkg-config (pkgconf on FreeBSD, DragonFlyBSD, OpenBSD and NetBSD)
* FreeBSD, DragonFlyBSD, OpenBSD, NetBSD, Solaris and OS X with Macports: gmake
* Linux/Cygwin: make and Standard C++ Library development package (Debian: libstdc++-dev)
Note: Airmon-ng only requires pciutils if the system has a PCI/PCIe bus and it is populated.
Such bus can be present even if not physically visible. For example, it is present,
and populated on the Raspberry Pi 4, therefore pciutils is required on that device.
=== Optional stuff ===
* If you want SSID filtering with regular expression in airodump-ng
(--essid-regex) PCRE or PCRE2 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/ISO/SDK is required.
* In order to build besside-ng, besside-ng-crawler, easside-ng, tkiptun-ng and wesside-ng,
libpcap development package is required (on Cygwin, use the Airpcap SDK instead; see above)
* rfkill
* If you want Airodump-ng to log GPS coordinates, gpsd is needed
* For best performance on SMP machines, ensure the hwloc library and headers are installed. It is strongly recommended on high core count systems, it may give a serious speed boost
* CMocka for unit testing
* For integration testing on Linux only: tcpdump, HostAPd, WPA Supplicant and screen
=== Installing required and optional dependencies ===
Below are instructions for installing the basic requirements to build
`aircrack-ng` for a number of operating systems.
Note: CMocka, tcpdump, screen, HostAPd and WPA Supplicant should not be dependencies when packaging Aircrack-ng.
==== Linux ====
===== Arch Linux =====
`sudo pacman -Sy base-devel libnl openssl ethtool util-linux zlib libpcap sqlite pcre2 hwloc cmocka hostapd wpa_supplicant tcpdump screen iw usbutils pciutils`
===== Debian/Ubuntu =====
`sudo apt-get install build-essential autoconf automake libtool pkg-config libnl-3-dev libnl-genl-3-dev libssl-dev ethtool shtool rfkill zlib1g-dev libpcap-dev libsqlite3-dev libpcre2-dev libhwloc-dev libcmocka-dev hostapd wpasupplicant tcpdump screen iw usbutils`
==== Fedora ====
`sudo yum install libtool pkgconfig sqlite-devel autoconf automake openssl-devel libpcap-devel pcre2-devel rfkill libnl3-devel gcc gcc-c++ ethtool hwloc-devel libcmocka-devel make file expect hostapd wpa_supplicant iw usbutils tcpdump screen zlib-devel`
==== CentOS/RHEL 7 ====
`sudo yum install epel-release`
`sudo ./centos_autotools.sh`
# Remove older installation of automake/autoconf
`sudo yum remove autoconf automake`
`sudo yum install sqlite-devel openssl-devel libpcap-devel pcre2-devel rfkill libnl3-devel ethtool hwloc-devel libcmocka-devel make file expect hostapd wpa_supplicant iw usbutils tcpdump screen zlib-devel`
Note: autoconf, automake, libtool, and pkgconfig in the repositories are too old. The script centos_autotools.sh automatically installs dependencies to compile then install the tools.
==== CentOS/RHEL 8 ====
`sudo yum config-manager --set-enabled powertools`
`sudo yum install epel-release`
`sudo yum install git libtool pkgconfig sqlite-devel autoconf automake openssl-devel libpcap-devel pcre2-devel rfkill libnl3-devel gcc gcc-c++ ethtool hwloc-devel libcmocka-devel make file expect hostapd wpa_supplicant iw usbutils tcpdump screen zlib-devel`
===== openSUSE =====
`sudo zypper install autoconf automake libtool pkg-config libnl3-devel libopenssl-1_1-devel zlib-devel libpcap-devel sqlite3-devel pcre2-devel hwloc-devel libcmocka-devel hostapd wpa_supplicant tcpdump screen iw gcc-c++ gcc ethtool pciutils usbutils`
===== Mageia =====
`sudo urpmi autoconf automake libtool pkgconfig libnl3-devel libopenssl-devel zlib-devel libpcap-devel sqlite3-devel pcre2-devel hwloc-devel libcmocka-devel hostapd wpa_supplicant tcpdump screen iw gcc-c++ gcc make`
===== Alpine =====
`sudo apk add gcc g++ make autoconf automake libtool libnl3-dev openssl-dev ethtool libpcap-dev cmocka-dev hostapd wpa_supplicant tcpdump screen iw pkgconf util-linux sqlite-dev pcre2-dev linux-headers zlib-dev pciutils usbutils`
Note: Community repository needs to be enabled for iw
==== Clear Linux ====
`sudo swupd bundle-add c-basic devpkg-openssl devpkg-libnl devpkg-hwloc devpkg-libpcap devpkg-pcre2 devpkg-sqlite-autoconf ethtool wget network-basic software-testing sysadmin-basic wpa_supplicant`
Note: hostapd must be compiled manually, it is not present in the repository
==== BSD ====
===== FreeBSD =====
`pkg install pkgconf shtool libtool gcc9 automake autoconf pcre2 sqlite3 openssl gmake hwloc cmocka`
===== DragonflyBSD =====
`pkg install pkgconf shtool libtool gcc8 automake autoconf pcre2 sqlite3 libgcrypt gmake cmocka`
===== OpenBSD =====
`pkg_add pkgconf shtool libtool gcc automake autoconf pcre2 sqlite3 openssl gmake cmocka`
===== NetBSD =====
`pkg_add pkgconf libtool gcc7 automake autoconf pcre2 sqlite3 openssl gmake cmocka`
==== macOS ====
XCode, Xcode command line tools and HomeBrew are required.
`brew install autoconf automake libtool openssl shtool pkg-config hwloc pcre2 sqlite3 libpcap cmocka`
==== Windows ====
===== Cygwin =====
Cygwin requires the full path to the `setup.exe` utility, in order to
automate the installation of the necessary packages. In addition, it
requires the location of your installation, a path to the cached
packages download location, and a mirror URL.
An example of automatically installing all the dependencies
is as follows:
`c:\cygwin\setup-x86.exe -qnNdO -R C:/cygwin -s http://cygwin.mirror.constant.com -l C:/cygwin/var/cache/setup -P autoconf -P automake -P bison -P gcc-core -P gcc-g++ -P mingw-runtime -P mingw-binutils -P mingw-gcc-core -P mingw-gcc-g++ -P mingw-pthreads -P mingw-w32api -P libtool -P make -P python -P gettext-devel -P gettext -P intltool -P libiconv -P pkg-config -P git -P wget -P curl -P libpcre2-devel -P libssl-devel -P libsqlite3-devel`
===== MSYS2 =====
`pacman -Sy autoconf automake-wrapper libtool msys2-w32api-headers msys2-w32api-runtime gcc pkg-config git python openssl-devel openssl libopenssl msys2-runtime-devel gcc binutils make pcre2-devel libsqlite-devel`
=== Docker containers ===
We have two repositories on DockerHub:
- aircrackng/release (https://hub.docker.com/r/aircrackng/release): Each release
- aircrackng/git (https://hub.docker.com/r/aircrackng/git): every commit in the git repository
Base command for the git version:
`sudo docker run --rm -it aircrackng/git`
Available platforms/CPU architectures:
- linux/386 (base image: debian:unstable-slim)
- linux/amd64 (base image: debian:unstable-slim)
- linux/arm/v5 (base image: debian:unstable-slim)
- linux/arm/v6 (base image: alpine:3)
- linux/arm/v7 (base image: debian:unstable-slim)
- linux/arm64/v8 (base image: debian:unstable-slim)
- linux/mips64le (base image: debian:unstable-slim)
- linux/ppc64le (base image: debian:unstable-slim)
- linux/riscv64 (base image: debian:unstable-slim)
- linux/s390x (base image: debian:unstable-slim)
=== Compiling ===
To build `aircrack-ng`, the Autotools build system is utilized. Autotools replaces
the older method of compilation.
NOTE: If utilizing a developer version, eg: one checked out from source control,
you will need to run a pre-`configure` script. The script to use is one of the
following: `autoreconf -i` or `env NOCONFIGURE=1 ./autogen.sh`.
First, `./configure` the project for building with the appropriate options specified
for your environment:
`./configure <options>`
TIP: If the above fails, please see above about developer source control versions.
Next, compile the project (respecting if `make` or `gmake` is needed):
* Compilation:
`make`
* Compilation on *BSD or Solaris:
`gmake`
Finally, the additional targets listed below may be of use in your environment:
* Execute all unit testing:
`make check`
* Execute all integration testing (requires root):
`make integration`
* Installing:
`make install`
* Uninstall:
`make uninstall`
==== `./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. 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, 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.
* with-ext-scripts: needed to build `airoscript-ng`, `versuck-ng`, `airgraph-ng` and
`airdrop-ng`.
Note: Each script has its own dependencies.
* 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 underruns.
Dependency (Debian): duma
* disable-libnl: Set up the project to be compiled without libnl (1 or 3). Linux option only.
* without-opt: Do not enable -O3 optimizations.
* enable-shared: Make a 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.
* with-static-simd=<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.
===== Examples =====
* Configure and compiling:
`./configure --with-experimental`
`make`
* Compiling with gcrypt:
`./configure --with-gcrypt`
`make`
* Installing:
`make install`
* Installing (strip binaries):
`make install-strip`
* Installing, with external scripts:
`./configure --with-experimental --with-ext-scripts`
`make`
`make install`
* Testing (with sqlite, experimental and pcre2)
`./configure --with-experimental`
`make`
`make check`
* Compiling on OS X with macports (and all options):
`./configure --with-experimental`
`gmake`
* Compiling on macOS running on M1/AARCH64 and Homebrew:
`autoreconf -vif`
`env CPPFLAGS="-Wno-deprecated-declarations" ./configure --with-experimental`
`make`
`make check`
* Compiling on OS X 10.10 with XCode 7.1 and Homebrew:
`env CC=gcc-4.9 CXX=g++-4.9 ./configure`
`make`
`make check`
*NOTE*: Older XCode ships with a version of LLVM that does not support CPU feature
detection; which causes the `./configure` to fail. To work around this older LLVM,
it is required that a different compile suite is used, such as GCC or a newer LLVM
from Homebrew.
If you wish to use OpenSSL from Homebrew, you may need to specify the location
to its installation. To figure out where OpenSSL lives, run:
`brew --prefix openssl`
Use the output above as the DIR for `--with-openssl=DIR` in the `./configure` line:
`env CC=gcc-4.9 CXX=g++-4.9 ./configure --with-openssl=DIR`
`make`
`make check`
* Compiling on FreeBSD with gcc9
`env CC=gcc9 CXX=g++9 MAKE=gmake ./configure`
`gmake`
* Compiling on Cygwin with Airpcap (assuming Airpcap devpack is unpacked in Aircrack-ng directory)
```
cp -vfp Airpcap_Devpack/bin/x86/airpcap.dll src
cp -vfp Airpcap_Devpack/bin/x86/airpcap.dll src/aircrack-osdep
cp -vfp Airpcap_Devpack/bin/x86/airpcap.dll src/aircrack-crypto
cp -vfp Airpcap_Devpack/bin/x86/airpcap.dll src/aircrack-util
dlltool -D Airpcap_Devpack/bin/x86/airpcap.dll -d build/airpcap.dll.def -l Airpcap_Devpack/bin/x86/libairpcap.dll.a
autoreconf -i
./configure --with-experimental --with-airpcap=$(pwd)
make
```
* Compiling on DragonflyBSD with gcrypt using GCC 8
```
autoreconf -i
env CC=gcc8 CXX=g++8 MAKE=gmake ./configure --with-experimental --with-gcrypt
gmake
```
* Compiling on OpenBSD (with autoconf 2.69 and automake 1.16)
```
export AUTOCONF_VERSION=2.69
export AUTOMAKE_VERSION=1.16
autoreconf -i
env MAKE=gmake ./configure
gmake
```
* Compiling and debugging aircrack-ng
```
export CFLAGS='-O0 -g'
export CXXFLAGS='-O0 -g'
./configure --with-experimental --enable-maintainer-mode --without-opt
make
LD_LIBRARY_PATH=.libs gdb --args ./aircrack-ng [PARAMETERS]
```
== IDE development ==
=== VS Code - devcontainers ===
A VS Code development environment is provided, as is, for rapid setup of a development environment. This additionally adds support for GitHub Codespaces.
==== Requirements ====
The first requirement is a working Docker Engine (https://docs.docker.com/engine/install/) environment.
Next, an installation of VS Code (https://code.visualstudio.com/) with the following extension(s):
- Remote - Containers: https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers by Microsoft.
Note: The "Remote - Containers" extension will refuse to work with OSS Code.
==== Usage ====
1. Clone this repository to your working folder:
```
$ git clone --recursive https://github.com/aircrack-ng/aircrack-ng.git
$ cd aircrack-ng
```
2. After cloning this repository, open the folder inside VS Code.
```
$ code .
```
IMPORTANT: You should answer "Yes", if it asks if the folder should be opened inside a remote container. If it does not ask, then press `Ctrl+Shift+P` and type `open in container`. This should bring up the correct command, for which pressing enter will run said command.
3. A number of warnings might appear about a missing `compile_commands.json` file. These are safe to ignore for a moment, as this file is automatically generated after the initial compilation.
4. Now build the entire project by pressing `Ctrl+R` and selecting `Build Full` from the pop-up menu that appears.
5. VS Code should detect the `compile_commands.json` file and ask if it should be used; selecting "Yes, always" will complete the initial setup of a fully working IDE.
IMPORTANT: If it doesn't detect the file, pressing `Ctrl+Shift+P` and typing `reload window` will bring up the selection to fully reload the environment.
6. At this point, nearly all features of VS Code will function; from Intellisense, auto-completion, live documentation, to code formatting. Additionally, there are pre-configured tasks for builds and tests, as well as an example GDB/LLDB configuration for debugging `aircrack-ng`.
== Packaging ==
Automatic detection of CPU optimization is done at run time. This behavior
**is** desirable when packaging Aircrack-ng (for a Linux or other distribution.)
Also, in some cases it may be desired to provide your own flags completely and
not having the suite auto-detect a number of optimizations. To do this, add
the additional flag `--without-opt` to the `./configure` line:
`./configure --without-opt`
== Using pre-compiled binaries ==
=== Linux/BSD ===
Aircrack-ng is available in most distributions repositories. However, it is not always up-to-date.
=== Windows ===
* Install the appropriate "monitor" driver for your card; standard drivers don't work for capturing data.
* Aircrack-ng suite is command line tools. So, you have to open a command-line
`Start menu -> Run... -> cmd.exe` then use them
* Run the executables without any parameters to have help
== Documentation ==
Some more information is present in the README file.
Documentation, tutorials, ... can be found on https://aircrack-ng.org
Support is available in the GitHub Discussions (https://github.com/aircrack-ng/aircrack-ng/discussions) and on IRC (in #aircrack-ng on Libera Chat).
Every tool has its own manpage. For aircrack-ng, `man aircrack-ng` |
|
aircrack-ng/LICENSE | GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License. |
|
aircrack-ng/LICENSE.OpenSSL | LICENSE ISSUES
==============
The OpenSSL toolkit stays under a dual license, i.e. both the conditions of
the OpenSSL License and the original SSLeay license apply to the toolkit.
See below for the actual license texts. Actually both licenses are BSD-style
Open Source licenses. In case of any license issues related to OpenSSL
please contact [email protected].
OpenSSL License
---------------
/* ====================================================================
* Copyright (c) 1998-2007 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
*
* 3. All advertising materials mentioning features or use of this
* software must display the following acknowledgment:
* "This product includes software developed by the OpenSSL Project
* for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
*
* 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
* endorse or promote products derived from this software without
* prior written permission. For written permission, please contact
* [email protected].
*
* 5. Products derived from this software may not be called "OpenSSL"
* nor may "OpenSSL" appear in their names without prior written
* permission of the OpenSSL Project.
*
* 6. Redistributions of any form whatsoever must retain the following
* acknowledgment:
* "This product includes software developed by the OpenSSL Project
* for use in the OpenSSL Toolkit (http://www.openssl.org/)"
*
* THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
* EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
* ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
* ====================================================================
*
* This product includes cryptographic software written by Eric Young
* ([email protected]). This product includes software written by Tim
* Hudson ([email protected]).
*
*/
Original SSLeay License
-----------------------
/* Copyright (C) 1995-1998 Eric Young ([email protected])
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young ([email protected]).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-commercial use as long as
* the following conditions are aheared to. The following conditions
* apply to all code found in this distribution, be it the RC4, RSA,
* lhash, DES, etc., code; not just the SSL code. The SSL documentation
* included with this distribution is covered by the same copyright terms
* except that the holder is Tim Hudson ([email protected]).
*
* Copyright remains Eric Young's, and as such any Copyright notices in
* the code are not to be removed.
* If this package is used in a product, Eric Young should be given attribution
* as the author of the parts of the library used.
* This can be in the form of a textual message at program startup or
* in documentation (online or textual) provided with the package.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* "This product includes cryptographic software written by
* Eric Young ([email protected])"
* The word 'cryptographic' can be left out if the rouines from the library
* being used are not cryptographic related :-).
* 4. If you include any Windows specific code (or a derivative thereof) from
* the apps directory (application code) you must include an acknowledgement:
* "This product includes software written by Tim Hudson ([email protected])"
*
* THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* The licence and distribution terms for any publically available version or
* derivative of this code cannot be changed. i.e. this code cannot simply be
* copied and put under another distribution licence
* [including the GNU Public Licence.]
*/ |
|
aircrack-ng/Makefile.am | # Aircrack-ng
#
# Copyright (C) 2017 Joseph Benden <[email protected]>
#
# Autotool support was written by: Joseph Benden <[email protected]>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
#
# In addition, as a special exception, the copyright holders give
# permission to link the code of portions of this program with the
# OpenSSL library under certain conditions as described in each
# individual source file, and distribute linked combinations
# including the two.
#
# You must obey the GNU General Public License in all respects
# for all of the code used other than OpenSSL.
#
# If you modify file(s) with this exception, you may extend this
# exception to your dnl version of the file(s), but you are not obligated
# to do so.
#
# If you dnl do not wish to do so, delete this exception statement from your
# version.
#
# If you delete this exception statement from all source files in the
# program, then also delete it here.
AM_MAKEFLAGS = --no-print-directory
ACLOCAL_AMFLAGS = -I build/m4/stubs -I build/m4
SUBDIRS = manpages \
scripts
AM_CPPFLAGS = -I$(abs_srcdir) \
-I$(abs_builddir)/include \
-I$(abs_srcdir)/include \
-I$(abs_builddir)/lib \
-I$(abs_srcdir)/lib \
-I$(abs_builddir)/lib/radiotap \
-I$(abs_srcdir)/lib/radiotap \
$(CRYPTO_INCLUDES) \
$(CODE_COVERAGE_CPPFLAGS)
CFLAGS += $(CODE_COVERAGE_CFLAGS)
CXXFLAGS += $(CODE_COVERAGE_CXXFLAGS)
LIBS += $(CODE_COVERAGE_LIBS)
COMMON_CFLAGS = $(PTHREAD_CFLAGS) $(CRYPTO_CFLAGS) $(ZLIB_CFLAGS)
COMMON_LDADD = $(PTHREAD_LIBS) $(CRYPTO_LDFLAGS) $(CRYPTO_LIBS) $(ZLIB_LIBS)
bin_PROGRAMS =
sbin_PROGRAMS =
noinst_LTLIBRARIES =
lib_LTLIBRARIES =
EXTRA_DIST = AC_VERSION
check_PROGRAMS =
TESTS =
INTEGRATION_TESTS =
LIBACCRYPTO_LIBS = libaccrypto.la
LIBAIRCRACK_CE_WEP_LIBS = $(LIBACCRYPTO_LIBS) libaircrack-ce-wep.la
LIBAIRCRACK_LIBS = libaircrack.la
LIBAIRCRACK_OSDEP_LIBS= libaircrack-osdep.la
if CYGWIN
LIBAIRCRACK_OSDEP_LIBS+= -liphlpapi -lsetupapi
endif
LIBCOWPATTY_LIBS = libcowpatty.la
LIBPTW_LIBS = libptw.la
LIBRADIOTAP_LIBS = libradiotap.la
LIBAIRCRACK_CE_WPA_LIBS = $(LIBACCRYPTO_LIBS) libaircrack-ce-wpa.la
LIBAIRCRACK_CE_WPA_X86_AVX512_LIBS = $(LIBACCRYPTO_LIBS) libaircrack-ce-wpa-x86-avx512.la
LIBAIRCRACK_CE_WPA_X86_AVX2_LIBS = $(LIBACCRYPTO_LIBS) libaircrack-ce-wpa-x86-avx2.la
LIBAIRCRACK_CE_WPA_X86_AVX_LIBS = $(LIBACCRYPTO_LIBS) libaircrack-ce-wpa-x86-avx.la
LIBAIRCRACK_CE_WPA_X86_SSE2_LIBS = $(LIBACCRYPTO_LIBS) libaircrack-ce-wpa-x86-sse2.la
LIBAIRCRACK_CE_WPA_ARM_NEON_LIBS = $(LIBACCRYPTO_LIBS) libaircrack-ce-wpa-arm-neon.la
LIBAIRCRACK_CE_WPA_PPC_ALTIVEC_LIBS = $(LIBACCRYPTO_LIBS) libaircrack-ce-wpa-ppc-altivec.la
LIBAIRCRACK_CE_WPA_PPC_POWER8_LIBS = $(LIBACCRYPTO_LIBS) libaircrack-ce-wpa-ppc-power8.la
LIBAIRCRACK_CE_WPA_PATH = $(abs_top_builddir)/
include $(top_srcdir)/Makefile.integration.mk
include $(top_srcdir)/include/Makefile.inc
include $(top_srcdir)/lib/Makefile.inc
include $(top_srcdir)/src/Makefile.inc
include $(top_srcdir)/test/Makefile.inc
include $(top_srcdir)/aminclude_static.am
clean-local: code-coverage-clean
distclean-local: code-coverage-dist-clean
dist-hook:
$(AM_V_GEN)echo $(VERSION) > $(distdir)/AC_VERSION |
|
aircrack-ng/Makefile.integration.mk | INTEGRATION_TEST_SUITE_LOG = integration-test-suite.log
am__set_INTEGRATION_TESTS_bases = \
bases='$(INTEGRATION_TEST_LOGS)'; \
bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
bases=`echo $$bases`
am__integration_test_logs1 = $(INTEGRATION_TESTS:=.log)
INTEGRATION_TEST_LOGS = $(am__integration_test_logs1:.log=.log)
# Leading 'am--fnord' is there to ensure the list of targets does not
# expand to empty, as could happen e.g. with make check TESTS=''.
am--fnord $(INTEGRATION_TEST_LOGS) $(INTEGRATION_TEST_LOGS:.log=.trs): $(am__force_recheck)
$(INTEGRATION_TEST_SUITE_LOG): $(INTEGRATION_TEST_LOGS)
@$(am__set_INTEGRATION_TESTS_bases); \
am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
redo_bases=`for i in $$bases; do \
am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
done`; \
if test -n "$$redo_bases"; then \
redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
if $(am__make_dryrun); then :; else \
rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
fi; \
fi; \
if test -n "$$am__remaking_logs"; then \
echo "fatal: making $(INTEGRATION_TEST_SUITE_LOG): possible infinite" \
"recursion detected" >&2; \
elif test -n "$$redo_logs"; then \
am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
fi; \
if $(am__make_dryrun); then :; else \
st=0; \
errmsg="fatal: making $(INTEGRATION_TEST_SUITE_LOG): failed to create"; \
for i in $$redo_bases; do \
test -f $$i.trs && test -r $$i.trs \
|| { echo "$$errmsg $$i.trs" >&2; st=1; }; \
test -f $$i.log && test -r $$i.log \
|| { echo "$$errmsg $$i.log" >&2; st=1; }; \
done; \
test $$st -eq 0 || exit 1; \
fi
@$(am__sh_e_setup); $(am__tty_colors); $(am__set_INTEGRATION_TESTS_bases); \
ws='[ ]'; \
results=`for b in $$bases; do echo $$b.trs; done`; \
test -n "$$results" || results=/dev/null; \
all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
if test `expr $$fail + $$xpass + $$error` -eq 0; then \
success=true; \
else \
success=false; \
fi; \
br='==================='; br=$$br$$br$$br$$br; \
result_count () \
{ \
if test x"$$1" = x"--maybe-color"; then \
maybe_colorize=yes; \
elif test x"$$1" = x"--no-color"; then \
maybe_colorize=no; \
else \
echo "$@: invalid 'result_count' usage" >&2; exit 4; \
fi; \
shift; \
desc=$$1 count=$$2; \
if test $$maybe_colorize = yes && test $$count -gt 0; then \
color_start=$$3 color_end=$$std; \
else \
color_start= color_end=; \
fi; \
echo "$${color_start}# $$desc $$count$${color_end}"; \
}; \
create_testsuite_report () \
{ \
result_count $$1 "TOTAL:" $$all "$$brg"; \
result_count $$1 "PASS: " $$pass "$$grn"; \
result_count $$1 "SKIP: " $$skip "$$blu"; \
result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
result_count $$1 "FAIL: " $$fail "$$red"; \
result_count $$1 "XPASS:" $$xpass "$$red"; \
result_count $$1 "ERROR:" $$error "$$mgn"; \
}; \
{ \
echo "$(PACKAGE_STRING): $(subdir)/$(INTEGRATION_TEST_SUITE_LOG)" | \
$(am__rst_title); \
create_testsuite_report --no-color; \
echo; \
echo ".. contents:: :depth: 2"; \
echo; \
for b in $$bases; do echo $$b; done \
| $(am__create_global_log); \
} >$(INTEGRATION_TEST_SUITE_LOG).tmp || exit 1; \
mv $(INTEGRATION_TEST_SUITE_LOG).tmp $(INTEGRATION_TEST_SUITE_LOG); \
if $$success; then \
col="$$grn"; \
else \
col="$$red"; \
test x"$$VERBOSE" = x || cat $(INTEGRATION_TEST_SUITE_LOG); \
fi; \
echo "$${col}$$br$${std}"; \
echo "$${col}Integration test-suite summary for $(PACKAGE_STRING)$${std}"; \
echo "$${col}$$br$${std}"; \
create_testsuite_report --maybe-color; \
echo "$$col$$br$$std"; \
if $$success; then :; else \
echo "$${col}See $(subdir)/$(INTEGRATION_TEST_SUITE_LOG)$${std}"; \
if test -n "$(PACKAGE_BUGREPORT)"; then \
echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
fi; \
echo "$$col$$br$$std"; \
fi; \
$$success || exit 1
integration-TESTS:
@list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
@list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
@test -z "$(INTEGRATION_TEST_SUITE_LOG)" || rm -f $(INTEGRATION_TEST_SUITE_LOG)
@set +e; $(am__set_INTEGRATION_TESTS_bases); \
log_list=`for i in $$bases; do echo $$i.log; done`; \
trs_list=`for i in $$bases; do echo $$i.trs; done`; \
log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
for b in $$bases; do \
p='$$b$(EXEEXT)'; \
$(am__check_pre) $(LOG_DRIVER) --test-name "$$b" \
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$b" $(AM_TESTS_FD_REDIRECT); \
done; \
$(MAKE) $(AM_MAKEFLAGS) $(INTEGRATION_TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
exit $$?;
integration:
$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) $(integration_PROGRAMS)
$(MAKE) $(AM_MAKEFLAGS) integration-TESTS
mostlyclean-local:
-test -z "$(INTEGRATION_TEST_LOGS)" || rm -f $(INTEGRATION_TEST_LOGS)
-test -z "$(INTEGRATION_TEST_LOGS:.log=.trs)" || rm -f $(INTEGRATION_TEST_LOGS:.log=.trs)
-test -z "$(INTEGRATION_TEST_SUITE_LOG)" || rm -f $(INTEGRATION_TEST_SUITE_LOG) |
|
aircrack-ng/README | Documentation, tutorials, ... can be found on https://www.aircrack-ng.org
See also manpages and the forum (GitHub Discussions).
Installing
==========
This version has more dependencies/libraries required than previous versions to be compiled.
See INSTALLING file for more information
OpenWrt Devices
===============
You can use airodump-ng on OpenWrt devices. You'll have to use specify
prism0 as interface. Airodump-ng will automatically create it.
Rq: Aireplay DOESN'T work on OpenWrt (2.4 kernel) with broadcom chipset since the driver doesn't support injection. It *may* work with 2.6 kernels >= 2.6.24 (kamikaze 8.09+ custom-built).
Known bugs:
===========
Drivers
-------
Madwifi-ng
----------
The cause of most of these problems (1, 2 and 3) is that Madwifi-ng cannot easily change the rate in monitor mode.
Technically, when changing rate while in monitor mode, the raw socket gets invalidated and we have to get it again.
Madwifi-ng is getting replaced by several drivers: ath5k, ath9k and ar9170.
Problem 1: No client can associate to an airbase soft AP.
Solution: Use a more recent driver. Madwifi-ng has been deprecated for years.
Problem 2: When changing rate while you are capturing packet makes airodump-ng stall
Solution 2: Restart airodump-ng or change rate before starting it.
Problem 3: After some time it stops capturing packets and you're really sure no network manager are running at all.
Solution 3: That's a known bug in the driver, it may happen at any time (the time before it fails can vary a lot:
from 5 minutes to 50 or even more). Try (as root) unloading completely the driver with 'madwifi-unload'
and then run 'modprobe ath_pci autocreate=monitor'.
Problem 4: When creating a new VAP airodump-ng takes up to 10-15 seconds to see the first packet
Solution 4: It's the behavior of madwifi-ng, don't worry (... be happy ;)).
Orinoco
-------
Problem: BSSID is not reported correctly or is 00:00:00:00:00:00 or signal is not reported correctly.
Solution: None. Consider replacing your card, orinoco is really really old.
Aircrack-ng
-----------
Aireplay-ng
-----------
Problem: Fakeauth on a WRT54G with WEP (shared authentication) doesn't work.
Solution: None at this time (we'll try to fix it in an upcoming release).
Airolib-ng
----------
Problem: On windows only, opening/creating a database doesn't work when airolib-ng is in directories containing
special characters like 'ç', 'é', 'è', 'à', ... (directories containing spaces are not affected).
Reason: It's a SQLite issue.
Solution: Rename the directory or move the database into another directory.
Airodump-ng
-----------
Problem: Airodump-ng stop working after some time.
Solution 1: You may have a network manager running that puts back the card in managed mode.
You'll have to disable it (the fastest solution is killing the process) then restart airodump-ng.
Solution 2: See Problem 3 of Madwifi-ng.
Problem: On windows, it doesn't display a list of adapters like the old 0.X
Solution: It requires you to develop your own DLL.
Problem: Handshake is not captured/detected
Reason: You might be too far and your signal is bad (or too close with a signal too strong).
Another possibility is that Airodump-ng didn't detect the handshake properly due to
being far apart in the capture.
Solution 1: Check out our tutorial 'WPA Packet Capture Explained' in the wiki.
Solution 2: Try running Aircrack-ng on your capture, it might detect the capture.
Solution 3: Check out our wpaclean tool.
Note: It will be fixed in an upcoming release.
Cygwin
------
Problem: /usr/include/sys/reent.h:14:20: fatal error: stddef.h: No such file or directory
Solution: It happens because the gcc and g++ version are different. Make sure they are the same.
Sample files
============
wep.open.system.authentication.cap:
It shows a connection (authentication then association) to a WEP network (open authentication).
wep.shared.key.authentication.cap:
It shows a connection (authentication then association to a WEP network (shared authentication).
The difference with open authentication is that the client has to encrypt a challenge text
and send it back (encrypted) to the AP to prove it has the right key.
wpa.cap:
This is a sample file with a WPA handshake. It is located in the test/ directory of the install files.
The passphrase is 'biscotte'. Use the password file (password.lst) which is in the same directory.
wpa2.eapol.cap:
This is a sample file with a WPA2 handshake.
It is located in the test/ directory of the install files.
The passphrase is '12345678'. Use the password file (password.lst) which is in the same directory.
test.ivs (http://download.aircrack-ng.org/wiki-files/other/test.ivs):
This is a 128 bit WEP key file.
The key is AE:5B:7F:3A:03:D0:AF:9B:F6:8D:A5:E2:C7.
wep_64_ptw.cap (http://dl.aircrack-ng.org/ptw.cap):
This is a 64 bit WEP key file suitable for the PTW method.
The key is '1F:1F:1F:1F:1F'.
wpa-psk-linksys.cap:
This is a sample file with a WPA1 handshake along with some encrypted packets.
Useful for testing with airdecap-ng. The password is 'dictionary'.
wpa2-psk-linksys.cap:
This is a sample file with a WPA2 handshake along with some encrypted packets.
Useful for testing with airdecap-ng. The password is 'dictionary'.
wps2.0.pcap:
This is a test file with WPS 2.0 beacon.
password.lst and password-2.lst:
This is a sample wordlist for WPA key cracking. More wordlists can be found at
https://www.aircrack-ng.org/doku.php?id=faq#where_can_i_find_good_wordlists
password.db
This is a sample airolib-ng database for WPA key cracking.
pingreply.c
Replies to all ping requests. Useful for testing sniffing/injecting packets with airtun-ng.
Chinese-SSID-Name.pcap
Contains a beacon with an SSID displayed in Chinese.
verify_inject.py
Testing DNS requests using airtun-ng.
n-02.cap:
This is a test file with 802.11X-2004 AES-128-CMAC handshake.
Useful for testing with aircrack-ng. The password is 'bo$$password'.
test-pmkid.pcap:
This is a test file with PMKID. Passphrase for 'WLAN-771698' is 'SP-91862D361'
test1.pcap:
This is another test file with PMKID. Passphrase for the network
'ogogo' is '15211521'
StayAlfred.hccapx:
Hashcat HCCAPx file with WPA handshake.
Passphrase for 'StayAlfred' ESSID is 'staytogether'
wpa3-psk.pcap:
WPA3 PSK SAE authentication. Passphrase for the network
'WPA3-Network' is 'abcdefgh'
More sample pcap are available from Wireshark:
https://wiki.wireshark.org/SampleCaptures#Wifi_.2F_Wireless_LAN_captures_.2F_802.11 |
|
Markdown | aircrack-ng/README.md | # Aircrack-ng
## Badges
### GitHub CI
[![Alma Linux CI](https://github.com/aircrack-ng/aircrack-ng/actions/workflows/almalinux.yml/badge.svg?event=push)](https://github.com/aircrack-ng/aircrack-ng/actions/workflows/almalinux.yml)
[![Alpine Linux](https://github.com/aircrack-ng/aircrack-ng/actions/workflows/alpine.yml/badge.svg?event=push)](https://github.com/aircrack-ng/aircrack-ng/actions/workflows/alpine.yml)
[![DragonFlyBSD CI](https://github.com/aircrack-ng/aircrack-ng/actions/workflows/dragonflybsd.yml/badge.svg?event=push)](https://github.com/aircrack-ng/aircrack-ng/actions/workflows/dragonflybsd.yml)
[![FreeBSD CI](https://github.com/aircrack-ng/aircrack-ng/actions/workflows/freebsd.yml/badge.svg?event=push)](https://github.com/aircrack-ng/aircrack-ng/actions/workflows/freebsd.yml)
[![Kali Linux CI](https://github.com/aircrack-ng/aircrack-ng/actions/workflows/kali.yml/badge.svg?event=push)](https://github.com/aircrack-ng/aircrack-ng/actions/workflows/kali.yml)
[![Linux CI](https://github.com/aircrack-ng/aircrack-ng/actions/workflows/linux.yml/badge.svg?event=push)](https://github.com/aircrack-ng/aircrack-ng/actions/workflows/linux.yml)
[![Linux PCRE CI](https://github.com/aircrack-ng/aircrack-ng/actions/workflows/linux-pcre.yml/badge.svg?event=push)](https://github.com/aircrack-ng/aircrack-ng/actions/workflows/linux-pcre.yml)
[![macOS CI](https://github.com/aircrack-ng/aircrack-ng/actions/workflows/macos.yml/badge.svg?event=push)](https://github.com/aircrack-ng/aircrack-ng/actions/workflows/macos.yml)
[![NetBSD CI](https://github.com/aircrack-ng/aircrack-ng/actions/workflows/netbsd.yml/badge.svg?event=push)](https://github.com/aircrack-ng/aircrack-ng/actions/workflows/netbsd.yml)
[![OpenBSD CI](https://github.com/aircrack-ng/aircrack-ng/actions/workflows/openbsd.yml/badge.svg?event=push)](https://github.com/aircrack-ng/aircrack-ng/actions/workflows/openbsd.yml)
[![Windows CI](https://github.com/aircrack-ng/aircrack-ng/actions/workflows/windows.yml/badge.svg?event=push)](https://github.com/aircrack-ng/aircrack-ng/actions/workflows/windows.yml)
### Others
[![Clang Scan-build](https://github.com/aircrack-ng/aircrack-ng/actions/workflows/scanbuild.yml/badge.svg)](https://github.com/aircrack-ng/aircrack-ng/actions/workflows/scanbuild.yml)
[![Codespell](https://github.com/aircrack-ng/aircrack-ng/actions/workflows/codespell.yml/badge.svg)](https://github.com/aircrack-ng/aircrack-ng/actions/workflows/codespell.yml)
[![Coverity Scan](https://github.com/aircrack-ng/aircrack-ng/actions/workflows/coverity.yml/badge.svg)](https://github.com/aircrack-ng/aircrack-ng/actions/workflows/coverity.yml)
[![Docker (git) push to DockerHub](https://github.com/aircrack-ng/aircrack-ng/actions/workflows/docker.yml/badge.svg?event=push)](https://github.com/aircrack-ng/aircrack-ng/actions/workflows/docker.yml)
[![Markdown link](https://github.com/aircrack-ng/aircrack-ng/actions/workflows/markdown-link.yml/badge.svg?event=push)](https://github.com/aircrack-ng/aircrack-ng/actions/workflows/markdown-link.yml)
[![PVS-Studio Analysis](https://github.com/aircrack-ng/aircrack-ng/actions/workflows/pvs-studio.yml/badge.svg?event=push)](https://github.com/aircrack-ng/aircrack-ng/actions/workflows/pvs-studio.yml)
[![Style & Consistency](https://github.com/aircrack-ng/aircrack-ng/actions/workflows/style.yml/badge.svg?event=push)](https://github.com/aircrack-ng/aircrack-ng/actions/workflows/style.yml)
### Repository versions
![Arch Linux package](https://img.shields.io/archlinux/v/community/x86_64/aircrack-ng)
![Debian package](https://img.shields.io/debian/v/aircrack-ng/testing?label=debian%20testing)
![Docker Image Version (latest by date)](https://img.shields.io/docker/v/aircrackng/git?color=blue&label=Docker%20Tag%20%7C%20git)
![Fedora package](https://img.shields.io/fedora/v/aircrack-ng)
![homebrew version](https://img.shields.io/homebrew/v/aircrack-ng)
![Ubuntu package](https://img.shields.io/ubuntu/v/aircrack-ng/bionic?label=Ubuntu%2018.04)
![Ubuntu package](https://img.shields.io/ubuntu/v/aircrack-ng/focal?label=Ubuntu%2020.04)
![Ubuntu package](https://img.shields.io/ubuntu/v/aircrack-ng/jammy?label=Ubuntu%2022.04)
![Ubuntu package](https://img.shields.io/ubuntu/v/aircrack-ng/kinetic?label=Ubuntu%2022.10)
![Ubuntu package](https://img.shields.io/ubuntu/v/aircrack-ng/lunar?label=Ubuntu%2023.04)
## Description
Aircrack-ng is a complete suite of tools to assess WiFi network security.
It focuses on different areas of WiFi security:
* Monitoring: Packet capture and export of data to text files for further processing by third party tools.
* Attacking: Replay attacks, deauthentication, fake access points and others via packet injection.
* Testing: Checking WiFi cards and driver capabilities (capture and injection).
* Cracking: WEP and WPA PSK (WPA 1 and 2).
All tools are command line which allows for heavy scripting. A lot of GUIs have taken advantage of this feature. It works primarily on Linux but also Windows, macOS, FreeBSD, OpenBSD, NetBSD, as well as Solaris and even eComStation 2.
# Building
## Requirements
* Autoconf
* Automake
* Libtool
* shtool
* OpenSSL development package or libgcrypt development package.
* Airmon-ng (Linux) requires ethtool, usbutils, and often pciutils.
* On Windows, cygwin has to be used and it also requires w32api package.
* On Windows, if using clang, libiconv and libiconv-devel
* Linux: LibNetlink 1 or 3. It can be disabled by passing --disable-libnl to configure.
* pkg-config (pkgconf on FreeBSD, DragonFlyBSD, OpenBSD and NetBSD)
* FreeBSD, DragonFlyBSD, OpenBSD, NetBSD, Solaris and OS X with Macports: gmake
* Linux/Cygwin: make and Standard C++ Library development package (Debian: libstdc++-dev)
Note: Airmon-ng only requires pciutils if the system has a PCI/PCIe bus and it is populated.
Such bus can be present even if not physically visible. For example, it is present,
and populated on the Raspberry Pi 4, therefore pciutils is required on that device.
## Optional stuff
* If you want SSID filtering with regular expression in airodump-ng
(--essid-regex) PCRE or PCRE2 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/ISO/SDK is required.
* In order to build `besside-ng`, `besside-ng-crawler`, `easside-ng`, `tkiptun-ng` and `wesside-ng`,
libpcap development package is required (on Cygwin, use the Airpcap SDK instead; see above)
* rfkill
* If you want Airodump-ng to log GPS coordinates, gpsd is needed
* For best performance on SMP machines, ensure the hwloc library and headers are installed. It is strongly recommended on high core count systems, it may give a serious speed boost
* CMocka and expect for testing
* For integration testing on Linux only: tcpdump, HostAPd, WPA Supplicant and screen
## Installing required and optional dependencies
Below are instructions for installing the basic requirements to build
`aircrack-ng` for a number of operating systems.
**Note**: CMocka, tcpdump, screen, HostAPd and WPA Supplicant should not be dependencies when packaging Aircrack-ng.
### Linux
#### Arch Linux
sudo pacman -Sy base-devel libnl openssl ethtool util-linux zlib libpcap sqlite pcre2 hwloc cmocka hostapd wpa_supplicant tcpdump screen iw usbutils pciutils expect
#### Debian/Ubuntu
sudo apt-get install build-essential autoconf automake libtool pkg-config libnl-3-dev libnl-genl-3-dev libssl-dev ethtool shtool rfkill zlib1g-dev libpcap-dev libsqlite3-dev libpcre2-dev libhwloc-dev libcmocka-dev hostapd wpasupplicant tcpdump screen iw usbutils expect
#### Fedora
sudo yum install libtool pkgconfig sqlite-devel autoconf automake openssl-devel libpcap-devel pcre2-devel rfkill libnl3-devel gcc gcc-c++ ethtool hwloc-devel libcmocka-devel make file expect hostapd wpa_supplicant iw usbutils tcpdump screen zlib-devel expect
#### CentOS/RHEL 7
sudo yum install epel-release
sudo ./centos_autotools.sh
# Remove older installation of automake/autoconf
sudo yum remove autoconf automake
sudo yum install sqlite-devel openssl-devel libpcap-devel pcre2-devel rfkill libnl3-devel ethtool hwloc-devel libcmocka-devel make file expect hostapd wpa_supplicant iw usbutils tcpdump screen zlib-devel
**Note**: autoconf, automake, libtool, and pkgconfig in the repositories are too old. The script centos_autotools.sh automatically installs dependencies to compile then install the tools.
#### CentOS/RHEL 8
sudo yum config-manager --set-enabled powertools
sudo yum install epel-release
sudo yum install libtool pkgconfig sqlite-devel autoconf automake openssl-devel libpcap-devel pcre2-devel rfkill libnl3-devel gcc gcc-c++ ethtool hwloc-devel libcmocka-devel make file expect hostapd wpa_supplicant iw usbutils tcpdump screen zlib-devel
#### openSUSE
sudo zypper install autoconf automake libtool pkg-config libnl3-devel libopenssl-1_1-devel zlib-devel libpcap-devel sqlite3-devel pcre2-devel hwloc-devel libcmocka-devel hostapd wpa_supplicant tcpdump screen iw gcc-c++ gcc ethtool pciutils usbutils expect
#### Mageia
sudo urpmi autoconf automake libtool pkgconfig libnl3-devel libopenssl-devel zlib-devel libpcap-devel sqlite3-devel pcre2-devel hwloc-devel libcmocka-devel hostapd wpa_supplicant tcpdump screen iw gcc-c++ gcc make expect
#### Alpine
sudo apk add gcc g++ make autoconf automake libtool libnl3-dev openssl-dev ethtool libpcap-dev cmocka-dev hostapd wpa_supplicant tcpdump screen iw pkgconf util-linux sqlite-dev pcre2-dev linux-headers zlib-dev pciutils usbutils expect
**Note**: Community repository needs to be enabled for iw
#### Clear Linux
sudo swupd bundle-add c-basic devpkg-openssl devpkg-libgcrypt devpkg-libnl devpkg-hwloc devpkg-libpcap devpkg-pcre2 devpkg-sqlite-autoconf ethtool wget network-basic software-testing sysadmin-basic wpa_supplicant os-testsuite
**Note**: hostapd must be compiled manually, it is not present in the repository
### BSD
#### FreeBSD
pkg install pkgconf shtool libtool gcc9 automake autoconf pcre2 sqlite3 openssl gmake hwloc cmocka
#### DragonflyBSD
pkg install pkgconf shtool libtool gcc8 automake autoconf pcre2 sqlite3 libgcrypt gmake cmocka
#### OpenBSD
pkg_add pkgconf shtool libtool gcc automake autoconf pcre2 sqlite3 openssl gmake cmocka
#### NetBSD
pkg_add pkgconf libtool gcc7 automake autoconf pcre2 sqlite3 openssl gmake cmocka
### macOS
XCode, Xcode command line tools and HomeBrew are required.
brew install autoconf automake libtool openssl shtool pkg-config hwloc pcre2 sqlite3 libpcap cmocka
### Windows
#### Cygwin
Cygwin requires the full path to the `setup.exe` utility, in order to
automate the installation of the necessary packages. In addition, it
requires the location of your installation, a path to the cached
packages download location, and a mirror URL.
An example of automatically installing all the dependencies
is as follows:
c:\cygwin\setup-x86.exe -qnNdO -R C:/cygwin -s http://cygwin.mirror.constant.com -l C:/cygwin/var/cache/setup -P autoconf -P automake -P bison -P gcc-core -P gcc-g++ -P mingw-runtime -P mingw-binutils -P mingw-gcc-core -P mingw-gcc-g++ -P mingw-pthreads -P mingw-w32api -P libtool -P make -P python -P gettext-devel -P gettext -P intltool -P libiconv -P pkg-config -P git -P wget -P curl -P libpcre2-devel -P libssl-devel -P libsqlite3-devel
#### MSYS2
pacman -Sy autoconf automake-wrapper libtool msys2-w32api-headers msys2-w32api-runtime gcc pkg-config git python openssl-devel openssl libopenssl msys2-runtime-devel gcc binutils make pcre2-devel libsqlite-devel
## Docker containers
We have two repositories on DockerHub:
- [aircrackng/release](https://hub.docker.com/r/aircrackng/release): Each release
- [aircrackng/git](https://hub.docker.com/r/aircrackng/git): every commit in the git repository
Base command for the `git` version:
`sudo docker run --rm -it aircrackng/git`
Available platforms/CPU architectures:
- linux/386 (base image: debian:unstable-slim)
- linux/amd64 (base image: debian:unstable-slim)
- linux/arm/v5 (base image: debian:unstable-slim)
- linux/arm/v6 (base image: alpine:3)
- linux/arm/v7 (base image: debian:unstable-slim)
- linux/arm64/v8 (base image: debian:unstable-slim)
- linux/mips64le (base image: debian:unstable-slim)
- linux/ppc64le (base image: debian:unstable-slim)
- linux/riscv64 (base image: debian:unstable-slim)
- linux/s390x (base image: debian:unstable-slim)
## Compiling
To build `aircrack-ng`, the Autotools build system is utilized. Autotools replaces
the older method of compilation.
**NOTE**: If utilizing a developer version, eg: one checked out from source control,
you will need to run a pre-`configure` script. The script to use is one of the
following: `autoreconf -i` or `env NOCONFIGURE=1 ./autogen.sh`.
First, `./configure` the project for building with the appropriate options specified
for your environment:
./configure <options>
**TIP**: If the above fails, please see above about developer source control versions.
Next, compile the project (respecting if `make` or `gmake` is needed):
* Compilation:
`make`
* Compilation on *BSD or Solaris:
`gmake`
Finally, the additional targets listed below may be of use in your environment:
* Execute all unit testing:
`make check`
* Execute all integration testing (requires root):
`make integration`
* Installing:
`make install`
* Uninstall:
`make uninstall`
### `./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. 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`, `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.
* **with-ext-scripts**: needed to build `airoscript-ng`, `versuck-ng`, `airgraph-ng` and
`airdrop-ng`.
Note: Each script has its own dependencies.
* **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 underruns.
Dependency (Debian): duma
* **disable-libnl**: Set up the project to be compiled without libnl (1 or 3). Linux option only.
* **without-opt**: Do not enable -O3 optimizations.
* **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.
* **with-static-simd=<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.
#### Examples:
* Configure and compiling:
```
./configure --with-experimental
make
```
* Compiling with gcrypt:
```
./configure --with-gcrypt
make
```
* Installing:
`make install`
* Installing (strip binaries):
`make install-strip`
* Installing, with external scripts:
```
./configure --with-experimental --with-ext-scripts
make
make install
```
* Testing (with sqlite, experimental and pcre2)
```
./configure --with-experimental
make
make check
```
* Compiling on OS X with macports (and all options):
```
./configure --with-experimental
gmake
```
* Compiling on macOS running on M1/AARCH64 and Homebrew:
```
autoreconf -vif
env CPPFLAGS="-Wno-deprecated-declarations" ./configure --with-experimental
make
make check
```
* Compiling on OS X 10.10 with XCode 7.1 and Homebrew:
```
env CC=gcc-4.9 CXX=g++-4.9 ./configure
make
make check
```
*NOTE*: Older XCode ships with a version of LLVM that does not support CPU feature
detection; which causes the `./configure` to fail. To work around this older LLVM,
it is required that a different compile suite is used, such as GCC or a newer LLVM
from Homebrew.
If you wish to use OpenSSL from Homebrew, you may need to specify the location
to its installation. To figure out where OpenSSL lives, run:
`brew --prefix openssl`
Use the output above as the DIR for `--with-openssl=DIR` in the `./configure` line:
```
env CC=gcc-4.9 CXX=g++-4.9 ./configure --with-openssl=DIR
make
make check
```
* Compiling on FreeBSD with gcc9
```
env CC=gcc9 CXX=g++9 MAKE=gmake ./configure
gmake
```
* Compiling on Cygwin with Airpcap (assuming Airpcap devpack is unpacked in Aircrack-ng directory)
```
cp -vfp Airpcap_Devpack/bin/x86/airpcap.dll src
cp -vfp Airpcap_Devpack/bin/x86/airpcap.dll src/aircrack-osdep
cp -vfp Airpcap_Devpack/bin/x86/airpcap.dll src/aircrack-crypto
cp -vfp Airpcap_Devpack/bin/x86/airpcap.dll src/aircrack-util
dlltool -D Airpcap_Devpack/bin/x86/airpcap.dll -d build/airpcap.dll.def -l Airpcap_Devpack/bin/x86/libairpcap.dll.a
autoreconf -i
./configure --with-experimental --with-airpcap=$(pwd)
make
```
* Compiling on DragonflyBSD with gcrypt using GCC 8
```
autoreconf -i
env CC=gcc8 CXX=g++8 MAKE=gmake ./configure --with-experimental --with-gcrypt
gmake
```
* Compiling on OpenBSD (with autoconf 2.69 and automake 1.16)
```
export AUTOCONF_VERSION=2.69
export AUTOMAKE_VERSION=1.16
autoreconf -i
env MAKE=gmake CC=cc CXX=c++ ./configure
gmake
```
* Compiling and debugging aircrack-ng
```
export CFLAGS='-O0 -g'
export CXXFLAGS='-O0 -g'
./configure --with-experimental --enable-maintainer-mode --without-opt
make
LD_LIBRARY_PATH=.libs gdb --args ./aircrack-ng [PARAMETERS]
```
# IDE development
## VS Code - devcontainers
A VS Code development environment is provided, as is, for rapid setup of a development environment. This additionally adds support for GitHub Codespaces.
### Requirements
The first requirement is a working [Docker Engine](https://docs.docker.com/engine/install/) environment.
Next, an installation of [VS Code](https://code.visualstudio.com/) with the following extension(s):
- [`Remote - Containers`](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers) by Microsoft.
> The "Remote - Containers" extension will refuse to work with OSS Code.
### Usage
1. Clone this repository to your working folder:
```
$ git clone --recursive https://github.com/aircrack-ng/aircrack-ng.git
$ cd aircrack-ng
```
2. After cloning this repository, open the folder inside VS Code.
```
$ code .
```
> IMPORTANT: You should answer "Yes", if it asks if the folder should be opened inside a remote container. If it does not ask, then press `Ctrl+Shift+P` and type `open in container`. This should bring up the correct command, for which pressing enter will run said command.
3. A number of warnings might appear about a missing `compile_commands.json` file. These are safe to ignore for a moment, as this file is automatically generated after the initial compilation.
4. Now build the entire project by pressing `Ctrl+R` and selecting `Build Full` from the pop-up menu that appears.
5. VS Code should detect the `compile_commands.json` file and ask if it should be used; selecting "Yes, always" will complete the initial setup of a fully working IDE.
> IMPORTANT: If it doesn't detect the file, pressing `Ctrl+Shift+P` and typing `reload window` will bring up the selection to fully reload the environment.
6. At this point, nearly all features of VS Code will function; from Intellisense, auto-completion, live documentation, to code formatting. Additionally, there are pre-configured tasks for builds and tests, as well as an example GDB/LLDB configuration for debugging `aircrack-ng`.
# Packaging
Automatic detection of CPU optimization is done at run time. This behavior
**is** desirable when packaging Aircrack-ng (for a Linux or other distribution.)
Also, in some cases it may be desired to provide your own flags completely and
not having the suite auto-detect a number of optimizations. To do this, add
the additional flag `--without-opt` to the `./configure` line:
`./configure --without-opt`
# Using pre-compiled binaries
## Linux/BSD
Aircrack-ng is available in most distributions repositories. However, it is not always up-to-date.
## Windows
* Install the appropriate "monitor" driver for your card; standard drivers don't work for capturing data.
* Aircrack-ng suite is command line tools. So, you have to open a command-line
`Start menu -> Run... -> cmd.exe` then use them
* Run the executables without any parameters to have help
# Documentation
Some more information is present in the [README](README) file.
Documentation, tutorials, ... can be found on https://aircrack-ng.org
Support is available in the [GitHub Discussions](https://github.com/aircrack-ng/aircrack-ng/discussions) and on IRC (in #aircrack-ng on Libera Chat).
Every tool has its own manpage. For aircrack-ng, `man aircrack-ng`
# Infrastructure sponsors |
End of preview. Expand
in Dataset Viewer.
- Downloads last month
- 40