linux:aircrack-ng

aircrack-ng - WiFi ネットワークのセキュリティを評価するための完全なツールスイート


本家: Aircrack-ng 翻訳
ソースコード: aircrack-ng/aircrack-ng: WiFi security auditing tools suite

WiFi セキュリティのさまざまな領域に焦点を当てています。

  • モニタリング: パケットのキャプチャとデータのテキスト ファイルへのエクスポートにより、サードパーティ ツールによるさらなる処理が可能になります。
  • 攻撃: パケットインジェクションによるリプレイ攻撃、認証解除、偽のアクセスポイントなど
  • テスト: WiFi カードとドライバーの機能を確認する (キャプチャとインジェクション)
  • クラッキング: WEP および WPA PSK (WPA 1 および 2)

すべてのツールはコマンド ラインであり、大量のスクリプトを実行できます。多くの GUI がこの機能を利用しています。主に Linux 上で動作しますが、Windows、macOS、FreeBSD、OpenBSD、NetBSD、Solaris、さらには eComStation 2 でも動作します。

$ sudo dnf 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

メタデータの期限切れの最終確認: 1:56:49 時間前の 2023年09月27日 03時39分03秒 に実施しました。
依存関係が解決しました。
============================================================================================================
 パッケージ                     アーキテクチャー   バージョン                     リポジトリー        サイズ
============================================================================================================
インストール:
 autoconf                       noarch             2.71-5.fc38                    fedora              733 k
 automake                       noarch             1.16.5-11.fc38                 fedora              697 k
 ethtool                        x86_64             2:6.5-1.fc38                   updates             244 k
 expect                         x86_64             5.45.4-18.fc38                 fedora              252 k
 file                           x86_64             5.44-3.fc38                    fedora               49 k
 gcc                            x86_64             13.2.1-1.fc38                  updates              34 M
 gcc-c++                        x86_64             13.2.1-1.fc38                  updates              13 M
 hostapd                        x86_64             2.10-5.fc38                    fedora              667 k
 hwloc-devel                    x86_64             2.5.0-5.fc38                   fedora              345 k
 iw                             x86_64             5.19-1.fc38                    updates             116 k
 libcmocka-devel                x86_64             1.1.7-1.fc38                   fedora               23 k
 libnl3-devel                   x86_64             3.7.0-3.fc38                   fedora              100 k
 libpcap-devel                  x86_64             14:1.10.4-1.fc38               updates             158 k
 libtool                        x86_64             2.4.7-6.fc38                   fedora              601 k
 make                           x86_64             1:4.4.1-1.fc38                 updates             588 k
 openssl-devel                  x86_64             1:3.0.9-2.fc38                 updates             2.6 M
 pcre2-devel                    x86_64             10.42-1.fc38.1                 fedora              506 k
 pkgconf-pkg-config             x86_64             1.8.0-6.fc38                   fedora              9.6 k
 screen                         x86_64             4.9.0-3.fc38                   fedora              648 k
 sqlite-devel                   x86_64             3.40.1-2.fc38                  fedora              144 k
 tcpdump                        x86_64             14:4.99.4-1.fc38               updates             529 k
 usbutils                       x86_64             015-2.fc38                     fedora              117 k
 util-linux                     x86_64             2.38.1-4.fc38                  fedora              2.3 M
 wpa_supplicant                 x86_64             1:2.10-6.fc38                  fedora              1.6 M
 zlib-devel                     x86_64             1.2.13-3.fc38                  fedora               45 k

トランザクションの概要
============================================================================================================

ダウンロードサイズの合計: 60 M
インストール後のサイズ: 168 M
これでよろしいですか? [y/N]: y
パッケージのダウンロード:
(1/25): expect-5.45.4-18.fc38.x86_64.rpm                                    462 kB/s | 252 kB     00:00    
(2/25): autoconf-2.71-5.fc38.noarch.rpm                                     1.0 MB/s | 733 kB     00:00    
(3/25): file-5.44-3.fc38.x86_64.rpm                                         272 kB/s |  49 kB     00:00    
(4/25): automake-1.16.5-11.fc38.noarch.rpm                                  867 kB/s | 697 kB     00:00    
(5/25): hwloc-devel-2.5.0-5.fc38.x86_64.rpm                                 1.1 MB/s | 345 kB     00:00    
(6/25): libcmocka-devel-1.1.7-1.fc38.x86_64.rpm                              86 kB/s |  23 kB     00:00    
(7/25): hostapd-2.10-5.fc38.x86_64.rpm                                      1.1 MB/s | 667 kB     00:00    
(8/25): libnl3-devel-3.7.0-3.fc38.x86_64.rpm                                315 kB/s | 100 kB     00:00    
(9/25): libtool-2.4.7-6.fc38.x86_64.rpm                                     1.4 MB/s | 601 kB     00:00    
(10/25): pcre2-devel-10.42-1.fc38.1.x86_64.rpm                              1.9 MB/s | 506 kB     00:00    
(11/25): pkgconf-pkg-config-1.8.0-6.fc38.x86_64.rpm                          43 kB/s | 9.6 kB     00:00    
(12/25): sqlite-devel-3.40.1-2.fc38.x86_64.rpm                              586 kB/s | 144 kB     00:00    
(13/25): usbutils-015-2.fc38.x86_64.rpm                                     361 kB/s | 117 kB     00:00    
(14/25): screen-4.9.0-3.fc38.x86_64.rpm                                     1.4 MB/s | 648 kB     00:00    
(15/25): zlib-devel-1.2.13-3.fc38.x86_64.rpm                                 86 kB/s |  45 kB     00:00    
(16/25): ethtool-6.5-1.fc38.x86_64.rpm                                      997 kB/s | 244 kB     00:00    
(17/25): wpa_supplicant-2.10-6.fc38.x86_64.rpm                              1.5 MB/s | 1.6 MB     00:01    
(18/25): util-linux-2.38.1-4.fc38.x86_64.rpm                                1.5 MB/s | 2.3 MB     00:01    
(19/25): iw-5.19-1.fc38.x86_64.rpm                                          457 kB/s | 116 kB     00:00    
(20/25): libpcap-devel-1.10.4-1.fc38.x86_64.rpm                             506 kB/s | 158 kB     00:00    
(21/25): make-4.4.1-1.fc38.x86_64.rpm                                       1.1 MB/s | 588 kB     00:00    
(22/25): openssl-devel-3.0.9-2.fc38.x86_64.rpm                              1.8 MB/s | 2.6 MB     00:01    
(23/25): tcpdump-4.99.4-1.fc38.x86_64.rpm                                   1.4 MB/s | 529 kB     00:00    
(24/25): gcc-c++-13.2.1-1.fc38.x86_64.rpm                                   2.5 MB/s |  13 MB     00:05    
(25/25): gcc-13.2.1-1.fc38.x86_64.rpm                                       2.4 MB/s |  34 MB     00:14    
------------------------------------------------------------------------------------------------------------
合計                                                                        3.3 MB/s |  60 MB     00:18     
トランザクションの確認を実行中
トランザクションの確認に成功しました。
トランザクションのテストを実行中
トランザクションのテストに成功しました。
トランザクションを実行中
  準備             :                                                                                    1/1 
  インストール中 : pkgconf-pkg-config-1.8.0-6.fc38.x86_64                                            1/50 
  インストール中 : autoconf-2.71-5.fc38.noarch                                                       2/50 
  インストール中 : automake-1.16.5-11.fc38.noarch                                                    3/50 
  インストール中 : make-1:4.4.1-1.fc38.x86_64                                                        4/50 
  インストール中 : gcc-13.2.1-1.fc38.x86_64                                                          5/50 
  scriptletの実行中: gcc-13.2.1-1.fc38.x86_64                                                          5/50 
  インストール中 : libtool-2.4.7-6.fc38.x86_64                                                       6/50 
  インストール中 : gcc-c++-13.2.1-1.fc38.x86_64                                                      7/50 
  インストール中 : hwloc-devel-2.5.0-5.fc38.x86_64                                                   8/50 
  インストール中 : libcmocka-devel-1.1.7-1.fc38.x86_64                                               9/50 
  インストール中 : libnl3-devel-3.7.0-3.fc38.x86_64                                                 10/50 
  インストール中 : pcre2-devel-10.42-1.fc38.1.x86_64                                                11/50 
  インストール中 : sqlite-devel-3.40.1-2.fc38.x86_64                                                12/50 
  インストール中 : zlib-devel-1.2.13-3.fc38.x86_64                                                  13/50 
  インストール中 : libpcap-devel-14:1.10.4-1.fc38.x86_64                                            14/50 
  インストール中 : openssl-devel-1:3.0.9-2.fc38.x86_64                                              15/50 
  scriptletの実行中: tcpdump-14:4.99.4-1.fc38.x86_64                                                  16/50 
  インストール中 : tcpdump-14:4.99.4-1.fc38.x86_64                                                  16/50 
  インストール中 : iw-5.19-1.fc38.x86_64                                                            17/50 
  インストール中 : ethtool-2:6.5-1.fc38.x86_64                                                      18/50 
  インストール中 : wpa_supplicant-1:2.10-6.fc38.x86_64                                              19/50 
  scriptletの実行中: wpa_supplicant-1:2.10-6.fc38.x86_64                                              19/50 
  インストール中 : util-linux-2.38.1-4.fc38.x86_64                                                  20/50 
  インストール中 : usbutils-015-2.fc38.x86_64                                                       21/50 
  scriptletの実行中: screen-4.9.0-3.fc38.x86_64                                                       22/50 
  インストール中 : screen-4.9.0-3.fc38.x86_64                                                       22/50 
  インストール中 : hostapd-2.10-5.fc38.x86_64                                                       23/50 
  scriptletの実行中: hostapd-2.10-5.fc38.x86_64                                                       23/50 
  インストール中 : file-5.44-3.fc38.x86_64                                                          24/50 
  インストール中 : expect-5.45.4-18.fc38.x86_64                                                     25/50 
  整理             : libtool-2.4.7-6.fc38.x86_64                                                      26/50 
  整理             : openssl-devel-1:3.0.9-2.fc38.x86_64                                              27/50 
  整理             : sqlite-devel-3.40.1-2.fc38.x86_64                                                28/50 
  整理             : automake-1.16.5-11.fc38.noarch                                                   29/50 
  整理             : libpcap-devel-14:1.10.4-1.fc38.x86_64                                            30/50 
  整理             : zlib-devel-1.2.13-3.fc38.x86_64                                                  31/50 
  整理             : pcre2-devel-10.42-1.fc38.1.x86_64                                                32/50 
  整理             : libnl3-devel-3.7.0-3.fc38.x86_64                                                 33/50 
  整理             : libcmocka-devel-1.1.7-1.fc38.x86_64                                              34/50 
  整理             : hwloc-devel-2.5.0-5.fc38.x86_64                                                  35/50 
  整理             : gcc-c++-13.2.1-1.fc38.x86_64                                                     36/50 
  整理             : pkgconf-pkg-config-1.8.0-6.fc38.x86_64                                           37/50 
  整理             : autoconf-2.71-5.fc38.noarch                                                      38/50 
  整理             : gcc-13.2.1-1.fc38.x86_64                                                         39/50 
  整理             : make-1:4.4.1-1.fc38.x86_64                                                       40/50 
  整理             : tcpdump-14:4.99.4-1.fc38.x86_64                                                  41/50 
  整理             : iw-5.19-1.fc38.x86_64                                                            42/50 
  整理             : ethtool-2:6.5-1.fc38.x86_64                                                      43/50 
  scriptletの実行中: wpa_supplicant-1:2.10-6.fc38.x86_64                                              44/50 
  整理             : wpa_supplicant-1:2.10-6.fc38.x86_64                                              44/50 
  整理             : util-linux-2.38.1-4.fc38.x86_64                                                  45/50 
  整理             : usbutils-015-2.fc38.x86_64                                                       46/50 
  整理             : screen-4.9.0-3.fc38.x86_64                                                       47/50 
  scriptletの実行中: hostapd-2.10-5.fc38.x86_64                                                       48/50 
  整理             : hostapd-2.10-5.fc38.x86_64                                                       48/50 
  scriptletの実行中: hostapd-2.10-5.fc38.x86_64                                                       48/50 
  整理             : file-5.44-3.fc38.x86_64                                                          49/50 
  整理             : expect-5.45.4-18.fc38.x86_64                                                     50/50 
  scriptletの実行中: expect-5.45.4-18.fc38.x86_64                                                     50/50 
  検証             : autoconf-2.71-5.fc38.noarch                                                       1/50 
  検証             : autoconf-2.71-5.fc38.noarch                                                       2/50 
  検証             : automake-1.16.5-11.fc38.noarch                                                    3/50 
  検証             : automake-1.16.5-11.fc38.noarch                                                    4/50 
  検証             : expect-5.45.4-18.fc38.x86_64                                                      5/50 
  検証             : expect-5.45.4-18.fc38.x86_64                                                      6/50 
  検証             : file-5.44-3.fc38.x86_64                                                           7/50 
  検証             : file-5.44-3.fc38.x86_64                                                           8/50 
  検証             : hostapd-2.10-5.fc38.x86_64                                                        9/50 
  検証             : hostapd-2.10-5.fc38.x86_64                                                       10/50 
  検証             : hwloc-devel-2.5.0-5.fc38.x86_64                                                  11/50 
  検証             : hwloc-devel-2.5.0-5.fc38.x86_64                                                  12/50 
  検証             : libcmocka-devel-1.1.7-1.fc38.x86_64                                              13/50 
  検証             : libcmocka-devel-1.1.7-1.fc38.x86_64                                              14/50 
  検証             : libnl3-devel-3.7.0-3.fc38.x86_64                                                 15/50 
  検証             : libnl3-devel-3.7.0-3.fc38.x86_64                                                 16/50 
  検証             : libtool-2.4.7-6.fc38.x86_64                                                      17/50 
  検証             : libtool-2.4.7-6.fc38.x86_64                                                      18/50 
  検証             : pcre2-devel-10.42-1.fc38.1.x86_64                                                19/50 
  検証             : pcre2-devel-10.42-1.fc38.1.x86_64                                                20/50 
  検証             : pkgconf-pkg-config-1.8.0-6.fc38.x86_64                                           21/50 
  検証             : pkgconf-pkg-config-1.8.0-6.fc38.x86_64                                           22/50 
  検証             : screen-4.9.0-3.fc38.x86_64                                                       23/50 
  検証             : screen-4.9.0-3.fc38.x86_64                                                       24/50 
  検証             : sqlite-devel-3.40.1-2.fc38.x86_64                                                25/50 
  検証             : sqlite-devel-3.40.1-2.fc38.x86_64                                                26/50 
  検証             : usbutils-015-2.fc38.x86_64                                                       27/50 
  検証             : usbutils-015-2.fc38.x86_64                                                       28/50 
  検証             : util-linux-2.38.1-4.fc38.x86_64                                                  29/50 
  検証             : util-linux-2.38.1-4.fc38.x86_64                                                  30/50 
  検証             : wpa_supplicant-1:2.10-6.fc38.x86_64                                              31/50 
  検証             : wpa_supplicant-1:2.10-6.fc38.x86_64                                              32/50 
  検証             : zlib-devel-1.2.13-3.fc38.x86_64                                                  33/50 
  検証             : zlib-devel-1.2.13-3.fc38.x86_64                                                  34/50 
  検証             : ethtool-2:6.5-1.fc38.x86_64                                                      35/50 
  検証             : ethtool-2:6.5-1.fc38.x86_64                                                      36/50 
  検証             : gcc-13.2.1-1.fc38.x86_64                                                         37/50 
  検証             : gcc-13.2.1-1.fc38.x86_64                                                         38/50 
  検証             : gcc-c++-13.2.1-1.fc38.x86_64                                                     39/50 
  検証             : gcc-c++-13.2.1-1.fc38.x86_64                                                     40/50 
  検証             : iw-5.19-1.fc38.x86_64                                                            41/50 
  検証             : iw-5.19-1.fc38.x86_64                                                            42/50 
  検証             : libpcap-devel-14:1.10.4-1.fc38.x86_64                                            43/50 
  検証             : libpcap-devel-14:1.10.4-1.fc38.x86_64                                            44/50 
  検証             : make-1:4.4.1-1.fc38.x86_64                                                       45/50 
  検証             : make-1:4.4.1-1.fc38.x86_64                                                       46/50 
  検証             : openssl-devel-1:3.0.9-2.fc38.x86_64                                              47/50 
  検証             : openssl-devel-1:3.0.9-2.fc38.x86_64                                              48/50 
  検証             : tcpdump-14:4.99.4-1.fc38.x86_64                                                  49/50 
  検証             : tcpdump-14:4.99.4-1.fc38.x86_64                                                  50/50 

インストール済み:
  autoconf-2.71-5.fc38.noarch                          automake-1.16.5-11.fc38.noarch                       
  ethtool-2:6.5-1.fc38.x86_64                          expect-5.45.4-18.fc38.x86_64                         
  file-5.44-3.fc38.x86_64                              gcc-13.2.1-1.fc38.x86_64                             
  gcc-c++-13.2.1-1.fc38.x86_64                         hostapd-2.10-5.fc38.x86_64                           
  hwloc-devel-2.5.0-5.fc38.x86_64                      iw-5.19-1.fc38.x86_64                                
  libcmocka-devel-1.1.7-1.fc38.x86_64                  libnl3-devel-3.7.0-3.fc38.x86_64                     
  libpcap-devel-14:1.10.4-1.fc38.x86_64                libtool-2.4.7-6.fc38.x86_64                          
  make-1:4.4.1-1.fc38.x86_64                           openssl-devel-1:3.0.9-2.fc38.x86_64                  
  pcre2-devel-10.42-1.fc38.1.x86_64                    pkgconf-pkg-config-1.8.0-6.fc38.x86_64               
  screen-4.9.0-3.fc38.x86_64                           sqlite-devel-3.40.1-2.fc38.x86_64                    
  tcpdump-14:4.99.4-1.fc38.x86_64                      usbutils-015-2.fc38.x86_64                           
  util-linux-2.38.1-4.fc38.x86_64                      wpa_supplicant-1:2.10-6.fc38.x86_64                  
  zlib-devel-1.2.13-3.fc38.x86_64                     

完了しました!

$ git clone --depth 1 https://github.com/aircrack-ng/aircrack-ng.git

Cloning into 'aircrack-ng'...
remote: Enumerating objects: 811, done.
remote: Counting objects: 100% (811/811), done.
remote: Compressing objects: 100% (632/632), done.
remote: Total 811 (delta 209), reused 473 (delta 128), pack-reused 0
Receiving objects: 100% (811/811), 6.69 MiB | 3.36 MiB/s, done.
Resolving deltas: 100% (209/209), done.

$ cd aircrack-ng
$ autoreconf -i

libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build/m4/stubs'.
libtoolize: copying file 'build/m4/stubs/libtool.m4'
libtoolize: copying file 'build/m4/stubs/ltoptions.m4'
libtoolize: copying file 'build/m4/stubs/ltsugar.m4'
libtoolize: copying file 'build/m4/stubs/ltversion.m4'
libtoolize: copying file 'build/m4/stubs/lt~obsolete.m4'
configure.ac:84: installing './compile'
configure.ac:57: installing './config.guess'
configure.ac:57: installing './config.sub'
configure.ac:68: installing './install-sh'
configure.ac:68: installing './missing'
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'

$ ./configure

checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... (cached) yes
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking dependency style of g++... gcc3
checking whether g++ supports C++17 features with -std=gnu++17... yes
checking dependency style of gcc... gcc3
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for an ANSI C-conforming const... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for locale.h... yes
checking for stdio.h... (cached) yes
checking for stdarg.h... yes
checking for fcntl.h... yes
checking for malloc.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for getopt.h... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking for dirent.h... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... g++ -std=gnu++17 -E
checking for ld used by g++ -std=gnu++17... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ -std=gnu++17 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ -std=gnu++17 option to produce PIC... -fPIC -DPIC
checking if g++ -std=gnu++17 PIC flag -fPIC -DPIC works... yes
checking if g++ -std=gnu++17 static flag -static works... no
checking if g++ -std=gnu++17 supports -c -o file.o... yes
checking if g++ -std=gnu++17 supports -c -o file.o... (cached) yes
checking whether the g++ -std=gnu++17 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking Default static library search path...  		/usr/lib/gcc/x86_64-redhat-linux/13/ /usr/lib/gcc/x86_64-redhat-linux/13/../../../../x86_64-redhat-linux/lib/x86_64-redhat-linux/13/ /usr/lib/gcc/x86_64-redhat-linux/13/../../../../x86_64-redhat-linux/lib/../lib64/ /usr/lib/gcc/x86_64-redhat-linux/13/../../../x86_64-redhat-linux/13/ /usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64/ /lib/x86_64-redhat-linux/13/ /lib/../lib64/ /usr/lib/x86_64-redhat-linux/13/ /usr/lib/../lib64/ /usr/lib/gcc/x86_64-redhat-linux/13/../../../../x86_64-redhat-linux/lib/ /usr/lib/gcc/x86_64-redhat-linux/13/../../../ /lib/ /usr/lib/ 		/opt/lib/x86_64-redhat-linux 		/opt/lib 		/usr/local/lib/x86_64-redhat-linux 		/usr/local/lib 		/usr/lib/x86_64-redhat-linux 		/usr/lib 		/lib 		/opt/lib/x86_64-redhat-linux 		/opt/lib 	
checking for OPENSSL_init in -lcrypto... yes
checking for openssl/crypto.h... yes
checking whether compiling and linking against OpenSSL works... yes
checking whether gcrypt is enabled... 
checking for OpenSSL or libgcrypt... OpenSSL
checking for openssl/cmac.h... yes
checking whether OpenSSL supports MD5... yes
checking whether OpenSSL supports AES... yes
checking whether OpenSSL supports ARCFOUR... no
checking whether OpenSSL supports CMAC... no
checking whether OpenSSL supports SHA-1... yes
checking whether OpenSSL supports SHA-256... yes
checking for ethtool... /usr/sbin//ethtool
checking for LIBNL3X... yes
checking for expect... /usr/bin//expect
checking for python... python
checking for greadlink... no
checking for readlink... readlink
checking for HWLOC... yes
checking pcap header directories... /usr/include/pcap
checking for pcap.h... yes
checking for pcap_open_live in -lpcap... yes
checking for PCRE... no
checking for PCRE2... yes
checking for rfkill... /usr/sbin//rfkill
checking for SQLite3 header... found; /usr/include/sqlite3.h
checking for sqlite3.h... yes
checking for sqlite3_open in -lsqlite3... yes
checking for SQLite3 library version >= 3.0.0... yes
checking for ZLIB... yes
checking for CMOCKA... yes
checking size of off_t... 8
checking for long file names... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking size of off_t... (cached) 8
checking size of off_t... 8
checking for long file names... (cached) yes
checking for special C compiler options needed for large files... (cached) no
checking for _FILE_OFFSET_BITS value needed for large files... (cached) no
checking for _LARGEFILE_SOURCE value needed for large files... (cached) no
checking size of off_t... (cached) 8
checking how to run the C preprocessor... gcc -E
checking whether gcc is Clang... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for pthread_create in -lpthread... yes
checking for pthread_setaffinity_np... yes
checking for library containing gethostbyname... none required
checking for library containing socket... none required
checking for dlopen in -ldl... yes
checking for sin in -lm... yes
checking for bsd/string.h... no
checking for strlcpy in -lbsd... no
checking for strlcpy... no
checking for strlcat... no
checking for posix_memalign... yes
checking whether to build with code coverage support... no
checking for C compiler vendor... gnu
checking for C compiler version... 13.2.1
checking CFLAGS for maximum warnings... -Wall
checking CXXFLAGS for maximum warnings... -Wall
checking whether C compiler accepts -O3... yes
checking whether C compiler accepts -std=gnu99... yes
checking whether C compiler accepts -fcommon... yes
checking whether C compiler accepts -Wstrict-overflow=2... yes
checking whether C compiler accepts -fvisibility=hidden... yes
checking for C++ compiler vendor... gnu
checking for C++ compiler version... 13.2.1
checking CFLAGS for maximum warnings... (cached) -Wall
checking CXXFLAGS for maximum warnings... (cached) -Wall
checking whether C++ compiler accepts -O3... yes
checking whether C++ compiler accepts -fvisibility=hidden... yes
checking for C compiler vendor... (cached) gnu
checking for C compiler version... (cached) 13.2.1
checking whether C compiler accepts -mavx2... yes
checking whether C compiler accepts -mavx... yes
checking whether C compiler accepts -msse2... yes
checking whether C compiler accepts -mmmx... yes
checking for C++ compiler vendor... (cached) gnu
checking for C++ compiler version... (cached) 13.2.1
checking whether C++ compiler accepts -mavx2... yes
checking whether C++ compiler accepts -mavx... yes
checking whether C++ compiler accepts -msse2... yes
checking whether C++ compiler accepts -mmmx... yes
checking for malloc in -lduma... no
checking for C compiler vendor... (cached) gnu
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating AC_VERSION
config.status: creating include/aircrack-ng/version.h
config.status: creating manpages/airbase-ng.8
config.status: creating manpages/aircrack-ng.1
config.status: creating manpages/airdecap-ng.1
config.status: creating manpages/airdecloak-ng.1
config.status: creating manpages/aireplay-ng.8
config.status: creating manpages/airmon-ng.8
config.status: creating manpages/airodump-ng.8
config.status: creating manpages/airodump-ng-oui-update.8
config.status: creating manpages/airolib-ng.1
config.status: creating manpages/airserv-ng.8
config.status: creating manpages/airtun-ng.8
config.status: creating manpages/airventriloquist-ng.8
config.status: creating manpages/besside-ng.8
config.status: creating manpages/besside-ng-crawler.1
config.status: creating manpages/buddy-ng.1
config.status: creating manpages/easside-ng.8
config.status: creating manpages/ivstools.1
config.status: creating manpages/kstats.1
config.status: creating manpages/Makefile
config.status: creating manpages/makeivs-ng.1
config.status: creating manpages/packetforge-ng.1
config.status: creating manpages/tkiptun-ng.8
config.status: creating manpages/wesside-ng.8
config.status: creating manpages/wpaclean.1
config.status: creating scripts/Makefile
config.status: creating scripts/airdrop-ng/Makefile
config.status: creating scripts/airdrop-ng/doc/Makefile
config.status: creating scripts/airgraph-ng/Makefile
config.status: creating scripts/airgraph-ng/man/Makefile
config.status: creating scripts/versuck-ng/Makefile
config.status: creating test/test-env.sh
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

aircrack-ng 1.7.0_rev-e82138c

  Build Environment:
    Build Machine:               x86_64-pc-linux-gnu
    Host Machine:                x86_64-pc-linux-gnu
    Target Machine:              x86_64-pc-linux-gnu

    Install Prefix:              /usr/local

  Compiler Environment:
    C Compiler:                  gcc
    C++ Compiler:                g++ -std=gnu++17
    Python:                      python

    CFLAGS:                      
    CXXFLAGS:                    
    CPPFLAGS:                    
    LDFLAGS:                      
    LIBS:                         -ldl -lm

    Optimized CFLAGS:            -DEXPENSIVE_TESTS  -Wall -O3 -std=gnu99 -fcommon -Wstrict-overflow=2 -fvisibility=hidden
    Optimized CXXFLAGS:           -Wall -O3 -fvisibility=hidden
    Optimized CPPFLAGS:          
    Optimized LDFLAGS:           
    Optimized LIBS:              

  Target Environment:
    OS:                          linux
    ASAN:                        no
    CPU L1 cache-line size:      64
    LTO                          no

  Crypto Libraries:
    Crypto Engine:               openssl
    Gcrypt:                      
    OpenSSL:                     -lssl -lcrypto

  Required Libraries:
    Ethtool:                     yes, found /usr/sbin//ethtool
    Libnl:                       yes, found libnl-3.0

  Optional Libraries:
    Airpcap:                     no
    Cmocka:                      yes
    DUMA:                        no
    Hwloc:                       yes
    Jemalloc:                    no
    Pcap:                        yes
    Pcre:                        no
    Pcre2:                       yes 
    Sqlite:                      yes
    Tcmalloc:                    no
    Zlib:                        yes

  Features:
    CMAC Support:                yes
    Experimental Extra Scripts:  no
    Experimental Features:       yes

$ make airodump-ng

  CC       src/airodump-ng/airodump_ng-airodump-ng.o
  CC       src/airodump-ng/airodump_ng-dump_write.o
  CC       lib/osdep/libaircrack_osdep_la-osdep.lo
  CC       lib/osdep/libaircrack_osdep_la-network.lo
  CC       lib/osdep/libaircrack_osdep_la-file.lo
  CC       lib/osdep/libaircrack_osdep_la-linux.lo
  CC       lib/osdep/libaircrack_osdep_la-linux_tap.lo
  CC       lib/osdep/libaircrack_osdep_la-common.lo
  CC       lib/radiotap/radiotap.lo
  CCLD     libradiotap.la
  CCLD     libaircrack-osdep.la
  CC       lib/crypto/libaccrypto_la-crypto.lo
  CC       lib/crypto/libaccrypto_la-md5.lo
  CC       lib/crypto/libaccrypto_la-mac-hmac-md5-generic.lo
  CC       lib/crypto/libaccrypto_la-sha1.lo
  CC       lib/crypto/libaccrypto_la-sha1-git.lo
  CC       lib/crypto/libaccrypto_la-mac-hmac-sha1-generic.lo
  CC       lib/crypto/libaccrypto_la-sha256.lo
  CC       lib/crypto/libaccrypto_la-mac-hmac-sha256-generic.lo
  CC       lib/crypto/libaccrypto_la-arcfour-generic.lo
  CC       lib/crypto/libaccrypto_la-md5-openssl.lo
  CC       lib/crypto/libaccrypto_la-sha1-openssl.lo
  CC       lib/crypto/libaccrypto_la-sha256-openssl.lo
  CC       lib/crypto/libaccrypto_la-aes-128-cbc-openssl.lo
  CC       lib/crypto/libaccrypto_la-mac-omac1-generic.lo
  CCLD     libaccrypto.la
  CC       lib/ce-wep/libaircrack_ce_wep_la-uniqueiv.lo
  CCLD     libaircrack-ce-wep.la
  CC       lib/libac/adt/libaircrack_la-avl_tree.lo
  CC       lib/libac/adt/libaircrack_la-circular_buffer.lo
  CC       lib/libac/adt/libaircrack_la-circular_queue.lo
  CC       lib/libac/cpu/libaircrack_la-simd_cpuid.lo
  CC       lib/libac/support/libaircrack_la-fragments.lo
  CC       lib/libac/support/libaircrack_la-common.lo
  CC       lib/libac/support/libaircrack_la-communications.lo
  CC       lib/libac/support/libaircrack_la-crypto_engine_loader.lo
  CC       lib/libac/support/libaircrack_la-mcs_index_rates.lo
  CC       lib/libac/tui/libaircrack_la-console.lo
  CC       lib/libac/utf8/libaircrack_la-verifyssid.lo
  CC       lib/libac/support/libaircrack_la-strlcat.lo
  CC       lib/libac/support/libaircrack_la-strlcpy.lo
  CC       lib/libac/cpu/libaircrack_la-trampoline_x86.lo
  CC       lib/libac/cpu/libaircrack_la-cpuset_hwloc.lo
  CCLD     libaircrack.la
  CCLD     airodump-ng

$ ll air*

-rwxr-xr-x 1 tomoyan tomoyan 6367  9月 27 05:47 airodump-ng

$ iw dev

phy#0
	Interface wlp2s0
		ifindex 3
		wdev 0x1
		addr 1a:2b:3c:4d:5e:6f
		type monitor
		channel 12 (2467 MHz), width: 20 MHz (no HT), center1: 2467 MHz
		txpower 20.00 dBm
		multicast TXQ:
			qsz-byt	qsz-pkt	flows	drops	marks	overlmt	hashcol	tx-bytes	tx-packets
			0	0	0	0	0	0	0	0		0

$ sudo ./airodump-ng wlp2s0 --essid-regex '^(?!Tomoyan).*'

 CH  2 ][ Elapsed: 6 s ][ 2023-09-27 05:53 

 BSSID              PWR  Beacons    #Data, #/s  CH   MB   ENC CIPHER  AUTH ESSID

 39:99:98:F1:5E:FE  -75        3        0    0  10  130   WPA2 CCMP   PSK  dhr01-40761f-g                  
 F0:F7:F2:B4:77:70  -77        5        0    0   6  360   WPA2 CCMP   PSK  <length:  0>                    
 F0:F7:D2:B4:77:70  -77        5        0    0   6  360   WPA2 CCMP   PSK  <length:  0>                    
 EB:F7:D2:B4:77:54  -79        3        0    0  11  360   WPA2 CCMP   PSK  <length:  0>                    
 25:5E:38:F8:78:B4  -96        2        0    0   6  130   WPA2 CCMP   PSK  HUMAX-7825A                     
 50:E9:6A:37:8F:24  -78        4        0    0   5  130   WPA2 CCMP   PSK  <length: 21>                    
 DD:86:08:10:0D:BA  -62       14        0    0   6  130   WPA2 CCMP   PSK  46A5002433C5_2                  
 E4:1F:1C:15:A0:C7  -86        4        0    0   5  130   WPA2 CCMP   PSK  L01_E41F1C15C7A0                
 64:36:00:25:2B:99  -96        8        0    0  11  195   WPA2 CCMP   PSK  rs500k-692b64-1                 
 CB:A4:38:97:21:35  -84       15        0    0   5  360   WPA2 CCMP   PSK  elecom-3421cb                   
 CB:A4:3A:97:21:35  -84       13        0    0   5  360   WPA2 CCMP   PSK  elecom-s-3421cb                 
 C3:72:30:F7:CD:A3  -96        6        0    0   6  195   WPA2 CCMP   PSK  C37230F7A1CD-2G                 
 CC:C0:00:00:2F:CD  -96       10        0    0  10  270   OPN              iXpand-CCCD                     
 06:82:10:66:51:2C  -82        3        0    0   3  270   WPA2 CCMP   PSK  aterm-678e8f-g                  
 E5:8E:00:01:40:40  -78       23        0    0   3  130   WPA2 CCMP   PSK  logitec-4340e5                  
 28:BD:AC:C4:BD:94  -54       17        0    0  11  720   WPA2 CCMP   PSK  28BDACC497BD-2G                 
 F0:FA:C8:C2:33:94  -71       23        0    0  11   65   WPA2 CCMP   PSK  HUAWEI P30 lite_44D3            
 33:B9:5E:41:5E:C9  -67        6        0    0   8  360   WPA2 CCMP   PSK  <length:  0>                    
 32:8C:58:27:98:58  -83       19        1    0   5  130   WPA2 CCMP   PSK  iNet-7006331DDC35               
 F0:F7:E2:B4:77:70  -87       11        0    0   6  360   WPA2 CCMP   PSK  JCOM_EFFB                       
 C3:BB:74:22:7A:69  -79       18        0    0   7  360   WPA2 CCMP   PSK  C3BB7422687A-2G                 
 33:B9:5A:41:5E:C9  -67       24        0    0   8  360   WPA2 CCMP   PSK  <length:  0>                    
 DB:95:34:68:58:A9  -70       12        0    0   6  195   WPA2 CCMP   PSK  DB953468A758-2G                 
 33:B9:56:41:5E:C9  -67       17        0    0   8  360   WPA2 CCMP   PSK  IO-Guest-c85e33                 
 33:B9:52:41:5E:C9  -67       20        0    0   8  360   WPA2 CCMP   PSK  IODATA-c85e33                   
 0C:B9:50:41:2E:88  -94       21        0    0   6  270   WPA2 CCMP   PSK  IODATA-882e0c-2G                
 D8:99:D8:0F:D6:FE  -77        8        0    0   1  195   WPA2 CCMP   PSK  D899D80FFCD6-2G                 
 45:36:02:25:2B:A9  -87        5        0    0   1  195   WPA2 CCMP   PSK  rs500k-492b45-2                 
 F4:36:02:25:5B:58  -75       15        0    0   1  195   WPA2 CCMP   PSK  rs500k-e85bf4-2                 
 E5:8E:00:01:40:41  -78       27        0    0   3   54e  WEP  WEP         logitec2nd-4340e5               
 F4:36:00:25:5B:58  -76        6        0    0   1  195   WPA2 CCMP   PSK  rs500k-e85bf4-1                 
 2F:99:5C:61:C4:3F  -80        4        2    0   1  360   WPA2 CCMP   PSK  2F995C613EC4-2G                 
 98:37:94:09:15:B1  -80        7        0    0   1  130   WPA2 CCMP   PSK  HUMAX-4598A                     
 7E:5E:38:F8:6B:B5  -71       11        0    0   1  130   WPA2 CCMP   PSK  HUMAX-8B7EA                     
 70:DA:6C:E4:56:D6  -89        6        0    0   1  130   WPA2 CCMP   PSK  ntcm1-24eb8e-g                  
 45:36:00:25:2B:A9  -88       10        0    0   1  195   WPA2 CCMP   PSK  rs500k-492b45-1                 
 98:05:90:F3:00:1E  -84       11        1    0   1  130   WPA2 CCMP   PSK  HUMAX-10981                     
 BE:8B:E4:26:A4:F8  -80       22        0    0  10  360   WPA2 CCMP   PSK  BE8BE426F7A4-2G                 

Quitting...

※出力結果の固有IDはランダムに改竄しているので、実在するものとは異なります。

  • linux/aircrack-ng.txt
  • 最終更新: 2023/09/30 07:41
  • by ともやん