首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法安装空气裂纹

无法安装空气裂纹
EN

Ask Ubuntu用户
提问于 2012-05-25 09:26:52
回答 3查看 108.9K关注 0票数 15

每当我试图在终端中安装aircrack-ng时,都会出现以下错误:

代码语言:javascript
复制
Package aircrack-ng is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  iw

E: Package 'aircrack-ng' has no installation candidate"

我是Ubuntu的新手,所以不知道该怎么做。

EN

回答 3

Ask Ubuntu用户

发布于 2012-05-25 09:40:08

正如message所说,它已经从ubuntu存储库中删除了。您可以通过以下步骤安装它

代码语言:javascript
复制
sudo apt-get install build-essential
sudo apt-get install libssl-dev
wget http://download.aircrack-ng.org/aircrack-ng-1.1.tar.gz
tar -zxvf aircrack-ng-1.1.tar.gz
cd aircrack-ng-1.1

在aircrack 1.1目录中有一个名为common.mak的文件,请使用您最喜欢的编辑器打开该文件并向下滚动,直到您看到以下行:

代码语言:javascript
复制
CFLAGS ?= -g -W -Wall -Werror -O3

删除-Werror变量,这样行现在看起来如下所示。保存并退出。

代码语言:javascript
复制
CFLAGS ?= -g -W -Wall -O3

在终端中运行makesudo make install,以使aircrack-ng启动并运行。“

对于build-essential,请转到更新管理器>设置> ubuntu软件,查看是否选中了top。

票数 18
EN

Ask Ubuntu用户

发布于 2012-05-25 09:51:25

我把它放在PPA里是为了精确的。我这么做是为了另一个问题。如果您需要添加PPA的说明,则它们是这里

票数 7
EN

Ask Ubuntu用户

发布于 2014-05-29 10:06:00

Debian包可在这里获得:http://ubuntu2.cica.es/ubuntu/ubuntu/pool/universe/a/aircrack-ng/

您需要下载相应的包架构。

代码语言:javascript
复制
wget http://ubuntu2.cica.es/ubuntu/ubuntu/pool/universe/a/aircrack-ng/aircrack-ng_1.1-6_amd64.deb

dpkg -i aircrack-ng_1.1-6_amd64.deb

下面是help命令

代码语言:javascript
复制
root@chillax:/usr/local/src# aircrack-ng --help

  Aircrack-ng 1.1 - (C) 2006, 2007, 2008, 2009 Thomas d'Otreppe   Original work: Christophe Devine   http://www.aircrack-ng.org

  usage: aircrack-ng [options] <.cap / .ivs file(s)>

  Common options:

      -a <amode> : force attack mode (1/WEP, 2/WPA-PSK)
      -e <essid> : target selection: network identifier
      -b <bssid> : target selection: access point's MAC
      -p <nbcpu> : # of CPU to use  (default: all CPUs)
      -q         : enable quiet mode (no status output)
      -C <macs>  : merge the given APs to a virtual one
      -l <file>  : write key to file

  Static WEP cracking options:

      -c         : search alpha-numeric characters only
      -t         : search binary coded decimal chr only
      -h         : search the numeric key for Fritz!BOX
      -d <mask>  : use masking of the key (A1:XX:CF:YY)
      -m <maddr> : MAC address to filter usable packets
      -n <nbits> : WEP key length :  64/128/152/256/512
      -i <index> : WEP key index (1 to 4), default: any
      -f <fudge> : bruteforce fudge factor,  default: 2
      -k <korek> : disable one attack method  (1 to 17)
      -x or -x0  : disable bruteforce for last keybytes
      -x1        : last keybyte bruteforcing  (default)
      -x2        : enable last  2 keybytes bruteforcing
      -X         : disable  bruteforce   multithreading
      -y         : experimental  single bruteforce mode
      -K         : use only old KoreK attacks (pre-PTW)
      -s         : show the key in ASCII while cracking
      -M <num>   : specify maximum number of IVs to use
      -D         : WEP decloak, skips broken keystreams
      -P <num>   : PTW debug:  1: disable Klein, 2: PTW
      -1         : run only 1 try to crack key with PTW

  WEP and WPA-PSK cracking options:

      -w <words> : path to wordlist(s) filename(s)
      -r <DB>    : path to airolib-ng database
                   (Cannot be used with -w)

      --help     : Displays this usage screen

请看这里的更多信息:http://www.aircrack-ng.org/doku.php?id=downloads

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/142007

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档