Aircrack-ng 源码安装


Airacrak-ng 源码安装


实验环境

[email protected]:/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


安装过程

[email protected]:/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.

[email protected]:/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-config或libn1-3

[email protected]:/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

[email protected]:/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

[email protected]:/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这个库。

[email protected]:/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这个库

[email protected]:/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

 

[email protected]:/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 编译成功

[email protected]:/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‘

 

[email protected]:/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).

时间: 2024-10-02 04:18:45

Aircrack-ng 源码安装的相关文章

centos7.2源码安装openssl1.0.2

centos7.2默认是安装了opensll软件包的,但是部署个别服务时,由于版本太低.会影响服务的正常部署.只能使用源码安装提高openssl软件版本. 因为之前有openssl软件包,所以要先移除之前版本: 删除旧版本: yum remove -y openssl openssl-devel 源码安装openssl需要perl环境编译,如果没有perl环境还是需要安装: yum -y install perl perl-devel 现在新版本openssl: wget https://www

centos6.5 64 源码安装redis服务,建立可远程连接的redis数据库

安装环境:centos6.5 64位 使用的包:redis-2.8.19.tar.gz  tcl8.6.3-src.tar.gz 包的下载链接:http://downloads.sourceforge.net/tcl/tcl8.6.3-src.tar.gz http://download.redis.io/releases/redis-2.8.19.tar.gz 本次安装的目录/home/hadoop/redis为任意目录 代码实现: 1,安装需要的支持环境 su root cd /home/h

ubuntu php5.6源码安装

今天又花了一天时间装了php,感觉php的源码安装也挺麻烦的,整个过程各种报错. 下篇文章准备整合所有查找到的报错和解决方法. php和nginx一样,在安装前需要装一堆的依赖.有libmcrypt.mcrypt.mhash.其实远不止这三个包,在后面的configure和make中还会陆陆续续安装一些依赖. 1.安装libmcrypt.mcrypt.mhash(整个过程都在/usr/local/src/php目录下) #创建/usr/local/src/php目录并进入mkdir /usr/l

LinuxMint下的Orionode源码安装

1. Orionode介绍 Eclipse-orion是Eclipse项目下面的一个子项目,orion是一个在在线版的代码编辑环境.其介绍参考http://wiki.eclipse.org/Orion. Eclipse-orion是使用Java语言开发的, Orionode则是使用Node.js开发的一个简易版orion.关于orionode跟orion的特性差异请查考http://wiki.eclipse.org/Orion/Node/Getting_started. 2. Node.js和n

nsq 学习(一)源码安装nsq

1.源码安装nsq go get github.com/tools/godep go get github.com/bmizerany/assert godep get github.com/bitly/nsq/... godep执行之后,如果报错: godep: outdated Godeps missing source code This dependency list was created with an old version of godep. To work around thi

bash-scripts源码安装lamp(apache、php及部分扩展、mysql)

安装包版本:httpd-2.2.29.tar.gzzlib-1.2.8.tar.gzapr-util-1.5.4.tar.gzapr-1.5.1.tar.gzlibpng-1.6.17.tar.gzjpegsrc.v9a.tar.gzlibgd-gd-2.1.1.tar.gzphp-5.6.7.tar.gzfreetype-2.5.5.tar.gzlibmcrypt-2.5.8.tar.gzlibxml2-2.9.2.tar.gzmysql-5.6.23.tar.gz ======安装包下载网站

php源码安装

我是将下载好的软件包放到虚拟机 /home目录下,虚拟机是centos6.4 如果想了解nginx源码安装http://blog.csdn.net/zkg510168343/article/details/43703635 mysql源码安装 http://blog.csdn.net/zkg510168343/article/details/43284071 PHP安装前准备,软件包下载地址 libmcrypt包 http://sourceforge.net/projects/mcrypt/fi

PHP-5.3.27源码安装及nginx-fastcgi配置

源码安装php cat /etc/redhat-release uname -rm wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-6.repo yum install -y zlib-devel libxml2-devel libjpeg-turbo-devel freetype-devel libpng-devel gd-devel libcurl-devel libxslt-devel opens

Python源码安装cx_Oracle

最近线上有个数据表一个月竟然没有数据,都没有监控,老大让我做一个监控,让Python写脚本监控oracle数据是否正常. 一.涉及软件包 1.cx_Oracle 下载地址:http://sourceforge.net/projects/cx-oracle/files/?source=navbar 我下载的是最新版的cx_Oracle-5.1.2.tar.gz 2.Oracle_client 使用cx_Oracle必须要安装Oracle_client端,或者你已经安装了Oracle数据库 下载地址

CentOS6.5源码安装MySQL5.6.35

接上一篇文章使用RPM包安装MySQL,确实很方便.但是安装后却不知道各文件保存在哪个文件夹下!尝试使用源码安装~本文主要参考:CentOS 6.4下编译安装MySQL 5.6.14 一.卸载旧版本 1.使用下面的命令检查是否安装有mysql [[email protected] tools]# rpm -qa|grep -i mysql 2.有的话就卸载 [[email protected] tools]# yum remove MySQL-server-5.6.35-1.el6.i686 [