哈哈哈,搞定OPENWRT上REAVER不能PIN了。降libpcap到1.1.1版本就行了

本文描述了在OpenWrt系统中使用wash和reaver工具时遇到的问题及解决办法。wash工具无法正常扫描WiFi网络,而reaver在进行WiFi Protected Setup攻击时频繁出现关联失败和交易失败的警告。通过更新libpcap库到1.1.1版本并重新编译,可以解决这些问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

一些关键点:

在package找到libpcap的目录,用1.1.1版本的替换掉。

然后重新编译

如提示找不到libpcap动态库,就做个链接或COPY。

===========================================================

问题的现象是:

wash -i mon0 -C,一下就退出了

root@OpenWrt:~# wash -i mon0 -C

Wash v1.4 WiFi Protected Setup Scan Tool
Copyright (c) 2011, Tactical Network Solutions, Craig Heffner <cheffner@tacnetsol.com>

BSSID              Channel  RSSI  WPS Version  WPS Locked  ESSID
--------------------------------------------------------------------------------------



root@OpenWrt:~#
===========================================
REAVER也不正常


root@OpenWrt:~# reaver -i mon0 -b 11:11:11:11:11:11 -a -S -vv

Reaver v1.4 WiFi Protected Setup Attack Tool
Copyright (c) 2011, Tactical Network Solutions, Craig Heffner <cheffner@tacnetsol.com>

[+] Waiting for beacon from 11:11:11:11:11:11
[!] WARNING: Failed to associate with 11:11:11:11:11:11 (ESSID: (null))
[!] WARNING: Failed to associate with 11:11:11:11:11:11 (ESSID: (null))
[!] WARNING: Failed to associate with 11:11:11:11:11:11 (ESSID: (null))
[!] WARNING: Failed to associate with 11:11:11:11:11:11 (ESSID: (null))
[!] WARNING: Failed to associate with 11:11:11:11:11:11 (ESSID: (null))
[!] WARNING: Failed to associate with 11:11:11:11:11:11 (ESSID: (null))
[!] WARNING: Failed to associate with 11:11:11:11:11:11 (ESSID: (null))
[!] WARNING: Failed to associate with 11:11:11:11:11:11 (ESSID: (null))
[+] Switching mon0 to channel 1
[!] WARNING: Failed to associate with 11:11:11:11:11:11 (ESSID: some_ssid)
[!] WARNING: Failed to associate with 11:11:11:11:11:11 (ESSID: some_ssid)
[!] WARNING: Failed to associate with 11:11:11:11:11:11 (ESSID: some_ssid)
[+] Associated with 11:11:11:11:11:11 (ESSID: some_ssid)
[+] Trying pin 12345670
[!] WARNING: Failed to associate with 11:11:11:11:11:11 (ESSID: some_ssid)
[!] WARNING: Failed to associate with 11:11:11:11:11:11 (ESSID: some_ssid)
[+] Sending EAPOL START request
[+] Sending WSC NACK
[!] WPS transaction failed (code: 0x04), re-trying last pin
[+] Trying pin 12345670
[+] Sending EAPOL START request
[+] Sending WSC NACK
[!] WPS transaction failed (code: 0x04), re-trying last pin
[+] Trying pin 12345670
[+] Sending EAPOL START request
[+] Sending WSC NACK
[!] WPS transaction failed (code: 0x04), re-trying last pin
[+] Trying pin 12345670
[+] Sending EAPOL START request
[+] Sending WSC NACK
[!] WPS transaction failed (code: 0x04), re-trying last pin
[+] Trying pin 12345670
[!] WARNING: Failed to associate with 11:11:11:11:11:11 (ESSID: some_ssid)

[+] Sending EAPOL START request
[+] Sending WSC NACK
[!] WPS transaction failed (code: 0x04), re-trying last pin
^C
[+] Nothing done, nothing to save.
root@OpenWrt:~#

评论 13
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值