码迷,mamicode.com
首页 > 其他好文 > 详细

Aircrack-ng 源码安装

时间:2014-09-11 17:19:42      阅读:782      评论:0      收藏:0      [点我收藏+]

标签:style   blog   http   color   io   os   ar   strong   for   

Airacrak-ng 源码安装


实验环境

root@gnu:/home/kee# uname -a
Linux gnu 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux

安装方法

apt-get install build-essential libssl-dev pkg-config libnl-3-dev libnl-genl-3-dev
wget http://download.aircrack-ng.org/aircrack-ng-1.2-beta3.tar.gz
tar xvf aircrack-ng-1.2-beta3.tar.gz
cd aircrack-ng-1.2-beta3
make install

安装过程

root@gnu:/home/nixawk/share/aircrack-ng-1.2-beta3# make
/bin/sh: 1: pkg-config: not found
/bin/sh: 1: pkg-config: not found
/bin/sh: 1: pkg-config: not found
/bin/sh: 1: pkg-config: not found
common.mak:85: *** Cannot find development files for any supported version of libnl. install either libnl1 or libnl3..  Stop.
root@gnu:/home/nixawk/share/aircrack-ng-1.2-beta3# make clean
/bin/sh: 1: pkg-config: not found
/bin/sh: 1: pkg-config: not found
/bin/sh: 1: pkg-config: not found
/bin/sh: 1: pkg-config: not found
common.mak:85: *** Cannot find development files for any supported version of libnl. install either libnl1 or libnl3..  Stop.

下载源码后,解压,在aircrack-ng目录下编译,提示未找到pkg-config,未找到支持版本的libn1。分别安装pkg-configlibn1-3

root@gnu:/home/nixawk/share/aircrack-ng-1.2-beta3# apt-get install pkg-config
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  pkg-config
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
Need to get 59.5 kB of archives.
After this operation, 172 kB of additional disk space will be used.
Get:1 http://http.debian.net/debian/ wheezy/main pkg-config amd64 0.26-1 [59.5 kB]
Fetched 59.5 kB in 28s (2,111 B/s)    
Selecting previously unselected package pkg-config.
(Reading database ... 102399 files and directories currently installed.)
Unpacking pkg-config (from .../pkg-config_0.26-1_amd64.deb) ...
Processing triggers for man-db ...
Setting up pkg-config (0.26-1) ...

安装libnl3

root@gnu:/home/nixawk/share/aircrack-ng-1.2-beta3# apt-cache search libnl3
libnl-3-200-dbg - debug symbols for libnl3
libnl-3-dev - development library and headers for libnl-3
libnl-3-doc - API documentation for libnl3
root@gnu:/home/nixawk/share/aircrack-ng-1.2-beta3# apt-get install libnl-3-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  libnl3-doc
The following NEW packages will be installed:
  libnl-3-dev
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
Need to get 46.8 kB of archives.
After this operation, 281 kB of additional disk space will be used.
Get:1 http://http.debian.net/debian/ wheezy/main libnl-3-dev amd64 3.2.7-4 [46.8 kB]
Fetched 46.8 kB in 1s (31.4 kB/s)    
Selecting previously unselected package libnl-3-dev.
(Reading database ... 102411 files and directories currently installed.)
Unpacking libnl-3-dev (from .../libnl-3-dev_3.2.7-4_amd64.deb) ...
Setting up libnl-3-dev (3.2.7-4) ...

继续编译,下面提示/usr/bin/ld:cannot find -lnl-genl-3,意思应该是缺少n1-gen1-3这个库。

root@gnu:/home/nixawk/share/aircrack-ng-1.2-beta3# make
make -C src all
make[1]: Entering directory `/home/nixawk/share/aircrack-ng-1.2-beta3/src‘
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude   -c -o aircrack-ng.o aircrack-ng.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude   -c -o crypto.o crypto.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude   -c -o common.o common.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude   -c -o uniqueiv.o uniqueiv.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude   -c -o aircrack-ptw-lib.o aircrack-ptw-lib.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude  aircrack-ng.o crypto.o common.o uniqueiv.o aircrack-ptw-lib.o sha1-sse2.S -o aircrack-ng -lpthread -lssl -lcrypto  
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude   -c -o airdecap-ng.o airdecap-ng.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude  airdecap-ng.o crypto.o common.o -o airdecap-ng -lssl -lcrypto
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude   -c -o packetforge-ng.o packetforge-ng.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude  packetforge-ng.o common.o crypto.o -o packetforge-ng -lssl -lcrypto
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude   -c -o ivstools.o ivstools.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude  ivstools.o common.o crypto.o uniqueiv.o -o ivstools -lssl -lcrypto
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude   -c -o kstats.o kstats.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude  kstats.o -o kstats
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude   -c -o makeivs-ng.o makeivs-ng.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude  makeivs-ng.o common.o uniqueiv.o -o makeivs-ng
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude   -c -o airdecloak-ng.o airdecloak-ng.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude   -c -o osdep/radiotap/radiotap.o osdep/radiotap/radiotap.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude  airdecloak-ng.o common.o osdep/radiotap/radiotap.o -o airdecloak-ng
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude   -c -o wpaclean.o wpaclean.c
make -C osdep
make[2]: Entering directory `/home/nixawk/share/aircrack-ng-1.2-beta3/src/osdep‘
Building for Linux
make[3]: Entering directory `/home/nixawk/share/aircrack-ng-1.2-beta3/src/osdep‘
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -fPIC -I..    -c -o osdep.o osdep.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -fPIC -I..    -c -o network.o network.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -fPIC -I..    -c -o file.o file.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -fPIC -I..    -c -o linux.o linux.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -fPIC -I..    -c -o linux_tap.o linux_tap.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -fPIC -I..    -c -o common.o common.c
ar cru libosdep.a  osdep.o network.o file.o linux.o linux_tap.o radiotap/radiotap.o common.o
ranlib libosdep.a
touch .os.Linux
make[3]: Leaving directory `/home/nixawk/share/aircrack-ng-1.2-beta3/src/osdep‘
make[2]: Leaving directory `/home/nixawk/share/aircrack-ng-1.2-beta3/src/osdep‘
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude  wpaclean.o osdep/radiotap/radiotap.o -o wpaclean -Losdep -losdep -lnl-genl-3 -lnl-3  
/usr/bin/ld: cannot find -lnl-genl-3
collect2: error: ld returned 1 exit status
make[1]: *** [wpaclean] Error 1
make[1]: Leaving directory `/home/nixawk/share/aircrack-ng-1.2-beta3/src‘
make: *** [all] Error 2

安装nl-gen1-3这个库

root@gnu:/home/nixawk/share/aircrack-ng-1.2-beta3# apt-cache search nl-genl-3
libnl-genl-3-200 - library for dealing with netlink sockets - generic netlink
libnl-genl-3-dev - development library and headers for libnl-genl-3
 

root@gnu:/home/nixawk/share/aircrack-ng-1.2-beta3# apt-get install libnl-genl-3-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  libnl-genl-3-dev
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
Need to get 11.6 kB of archives.
After this operation, 57.3 kB of additional disk space will be used.
Get:1 http://http.debian.net/debian/ wheezy/main libnl-genl-3-dev amd64 3.2.7-4 [11.6 kB]
Fetched 11.6 kB in 1s (9,058 B/s)           
Selecting previously unselected package libnl-genl-3-dev.
(Reading database ... 102508 files and directories currently installed.)
Unpacking libnl-genl-3-dev (from .../libnl-genl-3-dev_3.2.7-4_amd64.deb) ...
Setting up libnl-genl-3-dev (3.2.7-4) ...


Aircrack-ng 编译成功

root@gnu:/home/nixawk/share/aircrack-ng-1.2-beta3# make
make -C src all
make[1]: Entering directory `/home/nixawk/share/aircrack-ng-1.2-beta3/src‘
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude   -c -o aircrack-ng.o aircrack-ng.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude   -c -o crypto.o crypto.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude   -c -o common.o common.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude   -c -o uniqueiv.o uniqueiv.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude   -c -o aircrack-ptw-lib.o aircrack-ptw-lib.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude  aircrack-ng.o crypto.o common.o uniqueiv.o aircrack-ptw-lib.o sha1-sse2.S -o aircrack-ng -lpthread -lssl -lcrypto  
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude   -c -o airdecap-ng.o airdecap-ng.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude  airdecap-ng.o crypto.o common.o -o airdecap-ng -lssl -lcrypto
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude   -c -o packetforge-ng.o packetforge-ng.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude  packetforge-ng.o common.o crypto.o -o packetforge-ng -lssl -lcrypto
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude   -c -o ivstools.o ivstools.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude  ivstools.o common.o crypto.o uniqueiv.o -o ivstools -lssl -lcrypto
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude   -c -o kstats.o kstats.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude  kstats.o -o kstats
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude   -c -o makeivs-ng.o makeivs-ng.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude  makeivs-ng.o common.o uniqueiv.o -o makeivs-ng
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude   -c -o airdecloak-ng.o airdecloak-ng.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude   -c -o osdep/radiotap/radiotap.o osdep/radiotap/radiotap.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude  airdecloak-ng.o common.o osdep/radiotap/radiotap.o -o airdecloak-ng
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude   -c -o wpaclean.o wpaclean.c
make -C osdep
make[2]: Entering directory `/home/nixawk/share/aircrack-ng-1.2-beta3/src/osdep‘
Building for Linux
make[3]: Entering directory `/home/nixawk/share/aircrack-ng-1.2-beta3/src/osdep‘
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -fPIC -I..    -c -o osdep.o osdep.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -fPIC -I..    -c -o network.o network.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -fPIC -I..    -c -o file.o file.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -fPIC -I..    -c -o linux.o linux.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -fPIC -I..    -c -o linux_tap.o linux_tap.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -fPIC -I..    -c -o common.o common.c
ar cru libosdep.a  osdep.o network.o file.o linux.o linux_tap.o radiotap/radiotap.o common.o
ranlib libosdep.a
touch .os.Linux
make[3]: Leaving directory `/home/nixawk/share/aircrack-ng-1.2-beta3/src/osdep‘
make[2]: Leaving directory `/home/nixawk/share/aircrack-ng-1.2-beta3/src/osdep‘
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude  wpaclean.o osdep/radiotap/radiotap.o -o wpaclean -Losdep -losdep -lnl-genl-3 -lnl-3  
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude   -c -o aireplay-ng.o aireplay-ng.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude  aireplay-ng.o common.o crypto.o osdep/radiotap/radiotap.o -o aireplay-ng -Losdep -losdep -lnl-genl-3 -lnl-3   -lssl -lcrypto
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude   -c -o airodump-ng.o airodump-ng.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude  airodump-ng.o common.o crypto.o uniqueiv.o osdep/radiotap/radiotap.o -o airodump-ng -Losdep -losdep -lnl-genl-3 -lnl-3   -lssl -lcrypto  -lpthread
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude   -c -o airserv-ng.o airserv-ng.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude  airserv-ng.o common.o osdep/radiotap/radiotap.o -o airserv-ng -Losdep -losdep -lnl-genl-3 -lnl-3  
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude   -c -o airtun-ng.o airtun-ng.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude  airtun-ng.o common.o crypto.o osdep/radiotap/radiotap.o -o airtun-ng -Losdep -losdep -lnl-genl-3 -lnl-3   -lssl -lcrypto
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude   -c -o airbase-ng.o airbase-ng.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude  airbase-ng.o common.o crypto.o osdep/radiotap/radiotap.o -o airbase-ng -Losdep -losdep -lnl-genl-3 -lnl-3   -lssl -lcrypto  -lpthread
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude   -c -o besside-ng.o besside-ng.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude  besside-ng.o crypto.o common.o osdep/radiotap/radiotap.o aircrack-ptw-lib.o -o besside-ng -Losdep -losdep -lnl-genl-3 -lnl-3   -lssl -lcrypto  -lz
make[1]: Leaving directory `/home/nixawk/share/aircrack-ng-1.2-beta3/src‘
 

root@gnu:/home/nixawk/share/aircrack-ng-1.2-beta3#make install
make -C src all
make[1]: Entering directory`/home/nixawk/share/aircrack-ng-1.2-beta3/src‘
make[1]: Nothing tobe done for `all‘.
make[1]: Leaving directory`/home/nixawk/share/aircrack-ng-1.2-beta3/src‘
make -C srcinstall
make[1]: Entering directory`/home/nixawk/share/aircrack-ng-1.2-beta3/src‘
make -C osdepinstall
make[2]: Entering directory`/home/nixawk/share/aircrack-ng-1.2-beta3/src/osdep‘
Building forLinux
make[3]: Entering directory`/home/nixawk/share/aircrack-ng-1.2-beta3/src/osdep‘
make[3]:`.os.Linux‘ is up to date.
make[3]: Leaving directory`/home/nixawk/share/aircrack-ng-1.2-beta3/src/osdep‘
make[2]:Leaving directory`/home/nixawk/share/aircrack-ng-1.2-beta3/src/osdep‘
install -d/usr/local/bin
install -m 755 aircrack-ng airdecap-ngpacketforge-ng ivstools kstats makeivs-ng airdecloak-ng wpaclean/usr/local/bin
install -d /usr/local/sbin
install -m 755aireplay-ng airodump-ng airserv-ng airtun-ng airbase-ng besside-ng/usr/local/sbin
make[1]: Leaving directory`/home/nixawk/share/aircrack-ng-1.2-beta3/src‘
make -C scriptsinstall
make[1]: Entering directory`/home/nixawk/share/aircrack-ng-1.2-beta3/scripts‘
install -m 755airodump-ng-oui-update /usr/local/sbin
install -m 755 airmon-ngairmon-zc airdriver-ng /usr/local/sbin
make[1]: Leaving directory`/home/nixawk/share/aircrack-ng-1.2-beta3/scripts‘
make -Cmanpages install
make[1]: Entering directory`/home/nixawk/share/aircrack-ng-1.2-beta3/manpages‘
makecleanfiles sqlite=true unstable=true
make[2]: Entering directory`/home/nixawk/share/aircrack-ng-1.2-beta3/manpages‘
rm -f/usr/local/share/man/man1/aircrack-ng.1
rm -f/usr/local/share/man/man1/airdecap-ng.1
rm -f/usr/local/share/man/man1/ivstools.1
rm -f/usr/local/share/man/man1/kstats.1
rm -f/usr/local/share/man/man1/makeivs-ng.1
rm -f/usr/local/share/man/man1/packetforge-ng.1
rm -f/usr/local/share/man/man1/airdecloak-ng.1
rm -f/usr/local/share/man/man1/wpaclean.1
rm -f/usr/local/share/man/man1/besside-ng-crawler.1
rm -f/usr/local/share/man/man1/airolib-ng.1
rm -f/usr/local/share/man/man1/buddy-ng.1
rm -f/usr/local/share/man/man8/airdriver-ng.8
rm -f/usr/local/share/man/man8/aireplay-ng.8
rm -f/usr/local/share/man/man8/airmon-ng.8
rm -f/usr/local/share/man/man8/airodump-ng.8
rm -f/usr/local/share/man/man8/airserv-ng.8
rm -f/usr/local/share/man/man8/airtun-ng.8
rm -f/usr/local/share/man/man8/airbase-ng.8
rm -f/usr/local/share/man/man8/airodump-ng-oui-update.8
rm -f/usr/local/share/man/man8/besside-ng.8
rm -f/usr/local/share/man/man8/tkiptun-ng.8
rm -f/usr/local/share/man/man8/easside-ng.8
rm -f/usr/local/share/man/man8/wesside-ng.8
rm -f/usr/local/share/man/man8/airmon-zc.8
make[2]: Leaving directory`/home/nixawk/share/aircrack-ng-1.2-beta3/manpages‘
install -d/usr/local/share/man/man1
install -d/usr/local/share/man/man8
install -m 644 aircrack-ng.1airdecap-ng.1 ivstools.1 kstats.1 makeivs-ng.1 packetforge-ng.1airdecloak-ng.1 wpaclean.1 besside-ng-crawler.1/usr/local/share/man/man1
install -m 644 airdriver-ng.8aireplay-ng.8 airmon-ng.8 airodump-ng.8 airserv-ng.8 airtun-ng.8airbase-ng.8 airodump-ng-oui-update.8 besside-ng.8/usr/local/share/man/man8
make[1]: Leaving directory`/home/nixawk/share/aircrack-ng-1.2-beta3/manpages‘

[*] Run‘airodump-ng-oui-update‘ as root (or with sudo) to install or updateAirodump-ng OUI file (Internet connection required).


bubuko.com,布布扣

Aircrack-ng 源码安装

标签:style   blog   http   color   io   os   ar   strong   for   

原文地址:http://blog.csdn.net/nixawk/article/details/39207529

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!