本文主要是介绍Aircrack-ng 源码安装,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
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-config或libn1-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 |
这篇关于Aircrack-ng 源码安装的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!