aircrack-ng: initial commit, v1.6

This commit is contained in:
Alexandr Savca 2020-11-24 12:16:40 +02:00
parent 6b00cef92f
commit 9efee8b05e
5 changed files with 223 additions and 0 deletions

120
aircrack-ng/.footprint Normal file
View File

@ -0,0 +1,120 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/aircrack-ng
-rwxr-xr-x root/root usr/bin/airdecap-ng
-rwxr-xr-x root/root usr/bin/airdecloak-ng
-rwxr-xr-x root/root usr/bin/airolib-ng
-rwxr-xr-x root/root usr/bin/ivstools
-rwxr-xr-x root/root usr/bin/kstats
-rwxr-xr-x root/root usr/bin/makeivs-ng
-rwxr-xr-x root/root usr/bin/packetforge-ng
-rwxr-xr-x root/root usr/bin/wpaclean
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/aircrack-ng/
drwxr-xr-x root/root usr/include/aircrack-ng/adt/
-rw-r--r-- root/root usr/include/aircrack-ng/adt/avl_tree.h
-rw-r--r-- root/root usr/include/aircrack-ng/adt/circular_buffer.h
-rw-r--r-- root/root usr/include/aircrack-ng/adt/circular_queue.h
-rw-r--r-- root/root usr/include/aircrack-ng/aircrack-ng.h
drwxr-xr-x root/root usr/include/aircrack-ng/ce-wep/
-rw-r--r-- root/root usr/include/aircrack-ng/ce-wep/uniqueiv.h
drwxr-xr-x root/root usr/include/aircrack-ng/ce-wpa/
-rw-r--r-- root/root usr/include/aircrack-ng/ce-wpa/aligned.h
-rw-r--r-- root/root usr/include/aircrack-ng/ce-wpa/arch.h
-rw-r--r-- root/root usr/include/aircrack-ng/ce-wpa/crypto_engine.h
-rw-r--r-- root/root usr/include/aircrack-ng/ce-wpa/jcommon.h
-rw-r--r-- root/root usr/include/aircrack-ng/ce-wpa/johnswap.h
-rw-r--r-- root/root usr/include/aircrack-ng/ce-wpa/memdbg.h
-rw-r--r-- root/root usr/include/aircrack-ng/ce-wpa/memory.h
-rw-r--r-- root/root usr/include/aircrack-ng/ce-wpa/misc.h
-rw-r--r-- root/root usr/include/aircrack-ng/ce-wpa/pseudo_intrinsics.h
-rw-r--r-- root/root usr/include/aircrack-ng/ce-wpa/simd-intrinsics-load-flags.h
-rw-r--r-- root/root usr/include/aircrack-ng/ce-wpa/simd-intrinsics.h
-rw-r--r-- root/root usr/include/aircrack-ng/ce-wpa/wpapsk.h
drwxr-xr-x root/root usr/include/aircrack-ng/cowpatty/
-rw-r--r-- root/root usr/include/aircrack-ng/cowpatty/cowpatty.h
drwxr-xr-x root/root usr/include/aircrack-ng/cpu/
-rw-r--r-- root/root usr/include/aircrack-ng/cpu/cpuset.h
-rw-r--r-- root/root usr/include/aircrack-ng/cpu/simd_cpuid.h
-rw-r--r-- root/root usr/include/aircrack-ng/cpu/trampoline.h
drwxr-xr-x root/root usr/include/aircrack-ng/crypto/
-rw-r--r-- root/root usr/include/aircrack-ng/crypto/crctable.h
-rw-r--r-- root/root usr/include/aircrack-ng/crypto/crypto.h
-rw-r--r-- root/root usr/include/aircrack-ng/crypto/gcrypt-openssl-wrapper.h
-rw-r--r-- root/root usr/include/aircrack-ng/crypto/sha1-git.h
-rw-r--r-- root/root usr/include/aircrack-ng/crypto/sha1-sse2.h
-rw-r--r-- root/root usr/include/aircrack-ng/defs.h
drwxr-xr-x root/root usr/include/aircrack-ng/osdep/
-rw-r--r-- root/root usr/include/aircrack-ng/osdep/byteorder.h
-rw-r--r-- root/root usr/include/aircrack-ng/osdep/channel.h
-rw-r--r-- root/root usr/include/aircrack-ng/osdep/common.h
-rw-r--r-- root/root usr/include/aircrack-ng/osdep/network.h
-rw-r--r-- root/root usr/include/aircrack-ng/osdep/osdep.h
-rw-r--r-- root/root usr/include/aircrack-ng/osdep/packed.h
drwxr-xr-x root/root usr/include/aircrack-ng/ptw/
-rw-r--r-- root/root usr/include/aircrack-ng/ptw/aircrack-ptw-lib.h
drwxr-xr-x root/root usr/include/aircrack-ng/support/
-rw-r--r-- root/root usr/include/aircrack-ng/support/common.h
-rw-r--r-- root/root usr/include/aircrack-ng/support/communications.h
-rw-r--r-- root/root usr/include/aircrack-ng/support/crypto_engine_loader.h
-rw-r--r-- root/root usr/include/aircrack-ng/support/fragments.h
-rw-r--r-- root/root usr/include/aircrack-ng/support/mcs_index_rates.h
-rw-r--r-- root/root usr/include/aircrack-ng/support/pcap_local.h
-rw-r--r-- root/root usr/include/aircrack-ng/support/station.h
drwxr-xr-x root/root usr/include/aircrack-ng/third-party/
-rw-r--r-- root/root usr/include/aircrack-ng/third-party/eapol.h
-rw-r--r-- root/root usr/include/aircrack-ng/third-party/ethernet.h
-rw-r--r-- root/root usr/include/aircrack-ng/third-party/hashcat.h
-rw-r--r-- root/root usr/include/aircrack-ng/third-party/ieee80211.h
-rw-r--r-- root/root usr/include/aircrack-ng/third-party/if_arp.h
-rw-r--r-- root/root usr/include/aircrack-ng/third-party/if_llc.h
drwxr-xr-x root/root usr/include/aircrack-ng/tui/
-rw-r--r-- root/root usr/include/aircrack-ng/tui/console.h
drwxr-xr-x root/root usr/include/aircrack-ng/utf8/
-rw-r--r-- root/root usr/include/aircrack-ng/utf8/verifyssid.h
-rw-r--r-- root/root usr/include/aircrack-ng/version.h
drwxr-xr-x root/root usr/lib/
-rwxr-xr-x root/root usr/lib/libaircrack-ce-wpa-1.6.0.so
-rwxr-xr-x root/root usr/lib/libaircrack-ce-wpa-x86-avx-1.6.0.so
-rwxr-xr-x root/root usr/lib/libaircrack-ce-wpa-x86-avx.la
lrwxrwxrwx root/root usr/lib/libaircrack-ce-wpa-x86-avx.so -> libaircrack-ce-wpa-x86-avx-1.6.0.so
-rwxr-xr-x root/root usr/lib/libaircrack-ce-wpa-x86-avx2-1.6.0.so
-rwxr-xr-x root/root usr/lib/libaircrack-ce-wpa-x86-avx2.la
lrwxrwxrwx root/root usr/lib/libaircrack-ce-wpa-x86-avx2.so -> libaircrack-ce-wpa-x86-avx2-1.6.0.so
-rwxr-xr-x root/root usr/lib/libaircrack-ce-wpa-x86-sse2-1.6.0.so
-rwxr-xr-x root/root usr/lib/libaircrack-ce-wpa-x86-sse2.la
lrwxrwxrwx root/root usr/lib/libaircrack-ce-wpa-x86-sse2.so -> libaircrack-ce-wpa-x86-sse2-1.6.0.so
-rwxr-xr-x root/root usr/lib/libaircrack-ce-wpa.la
lrwxrwxrwx root/root usr/lib/libaircrack-ce-wpa.so -> libaircrack-ce-wpa-1.6.0.so
-rwxr-xr-x root/root usr/lib/libaircrack-osdep-1.6.0.so
-rwxr-xr-x root/root usr/lib/libaircrack-osdep.la
lrwxrwxrwx root/root usr/lib/libaircrack-osdep.so -> libaircrack-osdep-1.6.0.so
drwxr-xr-x root/root usr/sbin/
-rwxr-xr-x root/root usr/sbin/airbase-ng
-rwxr-xr-x root/root usr/sbin/aireplay-ng
-rwxr-xr-x root/root usr/sbin/airmon-ng
-rwxr-xr-x root/root usr/sbin/airodump-ng
-rwxr-xr-x root/root usr/sbin/airodump-ng-oui-update
-rwxr-xr-x root/root usr/sbin/airserv-ng
-rwxr-xr-x root/root usr/sbin/airtun-ng
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/aircrack-ng.1.gz
-rw-r--r-- root/root usr/share/man/man1/airdecap-ng.1.gz
-rw-r--r-- root/root usr/share/man/man1/airdecloak-ng.1.gz
-rw-r--r-- root/root usr/share/man/man1/airolib-ng.1.gz
-rw-r--r-- root/root usr/share/man/man1/besside-ng-crawler.1.gz
-rw-r--r-- root/root usr/share/man/man1/ivstools.1.gz
-rw-r--r-- root/root usr/share/man/man1/kstats.1.gz
-rw-r--r-- root/root usr/share/man/man1/makeivs-ng.1.gz
-rw-r--r-- root/root usr/share/man/man1/packetforge-ng.1.gz
-rw-r--r-- root/root usr/share/man/man1/wpaclean.1.gz
drwxr-xr-x root/root usr/share/man/man8/
-rw-r--r-- root/root usr/share/man/man8/airbase-ng.8.gz
-rw-r--r-- root/root usr/share/man/man8/aireplay-ng.8.gz
-rw-r--r-- root/root usr/share/man/man8/airmon-ng.8.gz
-rw-r--r-- root/root usr/share/man/man8/airodump-ng-oui-update.8.gz
-rw-r--r-- root/root usr/share/man/man8/airodump-ng.8.gz
-rw-r--r-- root/root usr/share/man/man8/airserv-ng.8.gz
-rw-r--r-- root/root usr/share/man/man8/airtun-ng.8.gz

6
aircrack-ng/.signature Normal file
View File

@ -0,0 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF30wbzh+1yiJg7geT2LddQmtlxeDVfbltxuJXq6WEkt02sXL87Q+tPRc28EeNty4F+qn5GIpVrfsbu17Vpx3brg4=
SHA256 (Pkgfile) = 5f1ab5cd15bbabb02dc2dab957ef7289a072cd243909249b3ba5d7a764e20885
SHA256 (.footprint) = 089eb88607e4d7371c8e4e379d6e7d439a0bb60c36a2fbacae67ba814a44685f
SHA256 (aircrack-ng-1.6.tar.gz) = c9e7894ba30f5e45b8a20ec43b4599225ac739a795a5bdb98e3f1bbb854d54f7
SHA256 (add-manufacturer-col-to-client-list.patch) = e776b4699faad85b1ec4620a856a11fa06cd174228da6378a1dae8ea4c3cf994

28
aircrack-ng/Pkgfile Normal file
View File

@ -0,0 +1,28 @@
# Description: Complete suite of tools to assess WiFi network security
# URL: https://github.com/aircrack-ng/aircrack-ng
# Maintainer: Alexandr Savca, alexandrsavca89 at gmail dot com
# Depends on: ethtool hwloc libnl libpcap openssl
name=aircrack-ng
version=1.6
release=1
source=(https://github.com/$name/$name/archive/$version/$name-$version.tar.gz
add-manufacturer-col-to-client-list.patch)
build() {
cd $name-$version
#patch -p1 -i $SRC/add-manufacturer-col-to-client-list.patch
echo $version > ./VERSION
NOCONFIGURE=1 ./autogen.sh
./configure --prefix=/usr --libexecdir=/usr/lib
# remove default optimization flags
find . -name Makefile -exec \
sed -i -e '/CFLAGS =/s/-O3 //g' \
-e '/CXXFLAGS =/s/-O3 //g' {} \;
make V=1
make DESTDIR=$PKG install
}

5
aircrack-ng/README Normal file
View File

@ -0,0 +1,5 @@
README for aircrack-ng
NOTES
Run airodump-ng-oui-updater(8) to use --manufacturer option.

View File

@ -0,0 +1,64 @@
From 443614f91092ef713eb2dd37706c519427c7b120 Mon Sep 17 00:00:00 2001
From: Alexandr Savca <alexandrsavca89@gmail.com>
Date: Thu, 5 Mar 2020 01:26:31 +0200
Subject: [PATCH] airodump-ng.c: add manufacturer column to the client list
Be aware!
According to this thread:
>> https://github.com/aircrack-ng/aircrack-ng/issues/1023#issuecomment-372062743
this patch is not needed at all :=D
Patch on top of b9ee19bcf868d4f4f0197cb0d886d0ebe91a6636 (git)
---
src/airodump-ng/airodump-ng.c | 24 +++++++++++++++++++++++-
1 file changed, 23 insertions(+), 1 deletion(-)
diff --git a/src/airodump-ng/airodump-ng.c b/src/airodump-ng/airodump-ng.c
index 68353fb..0afb607 100644
--- a/src/airodump-ng/airodump-ng.c
+++ b/src/airodump-ng/airodump-ng.c
@@ -4044,9 +4044,17 @@ static void dump_print(int ws_row, int ws_col, int if_num)
if (lopt.show_sta)
{
- strcpy(strbuf,
+ if (lopt.show_manufacturer)
+ strcpy(strbuf,
+ " BSSID STATION "
+ " PWR Rate Lost Frames Notes Manufacturer "
+ " Probes");
+ else
+ strcpy(strbuf,
" BSSID STATION "
" PWR Rate Lost Frames Notes Probes");
+
+
strbuf[ws_col - 1] = '\0';
console_puts(strbuf);
CHECK_END_OF_SCREEN();
@@ -4151,6 +4159,20 @@ static void dump_print(int ws_row, int ws_col, int if_num)
? "PMKID"
: (st_cur->wpa.state == 7 ? "EAPOL" : ""));
+ if (lopt.show_manufacturer)
+ {
+ if (st_cur->manuf == NULL)
+ {
+ st_cur->manuf = get_manufacturer(st_cur->stmac[0],
+ st_cur->stmac[1],
+ st_cur->stmac[2]);
+
+ }
+ if (strstr(st_cur->manuf, "Unknown") == NULL)
+ printf(strlen(st_cur->manuf) > 32 ? " %s" : " %-32s",
+ st_cur->manuf);
+ }
+
if (ws_col > (columns_sta - 6))
{
memset(ssid_list, 0, sizeof(ssid_list));
--
2.25.0