CentOS 7安装Aircrack-ng 无线攻击套件

  • 2017-11-10
  • 64
  • 0

This time i will show you, how to install Aircrack-ng on CentOS 7. My CentOS 7 (CentOS Linux release 7.2.1511 x64) is a virtual maschine on VirtualBox (5.0). As wireless USB Adapter i use TP-Link TL-WN822N.

Preparation

  • CentOS 7 VM created and started
  • SSH access (optional)

Add Wireless USB Adapter

# add epel repository 添加epel存储库
$ yum install -y epel-release
 
# install wireless-tools
$ yum install -y wireless-tools
 
# check wifi
$ iwconfig
$ ip addr

 

安装 Aircrack-ng

# install needed software
$ yum install -y git-svn libpcap-devel sqlite-devel gcc gcc-c++ libnl-devel openssl-devel usbutils pciutils rfkill
 
# get latests version (my was Aircrack-ng 1.2 rc3 r2799)
$ svn co http://svn.aircrack-ng.org/trunk/ aircrack-ng
 
# Compiling
$ cd aircrack-ng/
$ make install clean

Usage用法

# kill interfering processes
$ airmon-ng check kill
 
# set interface into monitor mode (my interface is wlp0s11u1)
$ airmon-ng start wlp0s11u1
 
# start packet capturing
$ airodump-ng wlp0s11u1mon
 
# stop monitor mode
$ airmon-ng stop wlp0s11u1mon

关闭Aircrack-ng后的出错情况

提示:RTNETLINK answers: Operation not possible due to RF-kill

$sudo ip link set wlp3s0 up
RTNETLINK answers: Operation not possible due to RF-kill

我执行了

$rfkill list all

最后用命令连接wifi:http://waylee.net/2017/11/05/kali-wifi/

最后发现:原来我禁用了wifi功能。

  1. 2016:  所謂「宅宅公主」,根本就是假掰女阿(0)
  2. 2016:  修改手機文件改成神經錯亂了 死機修復(0)

评论

偷偷告诉你,这还毛都没有 T T

发表评论