aircrack-ng / rtl8812au

RTL8812AU/21AU and RTL8814AU driver with monitor mode and frame injection
GNU General Public License v2.0
3.56k stars 782 forks source link

Issue with wash and reaver on RTL 8814AU #593

Open Sukhoimaster opened 4 years ago

Sukhoimaster commented 4 years ago

Im aware the issue has raised before. here #28

Did comment the 2 line as suggested @jcard0na and tried driver from forristal branch But seem to be bug somewhere...

using RTL8814au TPLINK Archer T9UH on kernel 5.4.0-kali2-amd64

Injection Test - Worked Monitor mode - Worked aireplay-ng - Worked

Did try brach ; -5.6.4.2 -5.7.0.0 both with @jcard0na solution at line 3926-3927

rtl8812au/core/rtw_recv.c


root@sonix:~# wash -i wlan1
[X] ERROR: pcap_activate status -1
[X] PCAP: generic error code
couldn't get pcap handle, exiting
root@sonix:~# aireplay-ng -9 wlan1
06:22:24  Trying broadcast probe requests...
06:22:24  Injection is working!
06:22:26  Found 6 APs

06:22:26  Trying directed probe requests...
06:22:26  34:E8:94:38:5C:73 - channel: 11 - 'gagakhitam 2.4Ghz'
06:22:27  Ping (min/avg/max): 8.326ms/32.672ms/61.193ms Power: -65.00
06:22:27  30/30: 100%

06:22:27  18:31:BF:54:B8:40 - channel: 11 - 'Alifnet-TIME2.4Ghz_RPT'
06:22:29  Ping (min/avg/max): 3.665ms/24.783ms/57.848ms Power: -86.00
06:22:29  22/30:  73%

06:22:29  34:E8:94:4B:06:A7 - channel: 11 - 'Shazny-TIME2.4Ghz'
06:22:31  Ping (min/avg/max): 3.353ms/27.878ms/41.622ms Power: -87.00
06:22:31  26/30:  86%

06:22:31  7C:8B:CA:D9:55:33 - channel: 11 - 'Notyourwifi_2.4'
06:22:33  Ping (min/avg/max): 5.690ms/29.657ms/63.090ms Power: -52.10
06:22:33  20/30:  66%

06:22:33  C4:71:54:DA:1A:B3 - channel: 11 - 'mahligai17'
06:22:39   0/30:   0%

06:22:39  34:E8:94:AF:26:93 - channel: 11 - 'lamaison-4G@unifi'
06:22:45   0/30:   0%

root@sonix:~# airmon-ng 

PHY     Interface       Driver          Chipset

phy0    wlan0           ath9k           Qualcomm Atheros AR9485 Wireless Network Adapter (rev 01)
phy1    wlan1           88XXau          TP-Link Archer T9UH v1 [Realtek RTL8814AU]

root@sonix:~# uname -a
Linux sonix 5.4.0-kali2-amd64 #1 SMP Debian 5.4.8-1kali1 (2020-01-06) x86_64 GNU/Linux
Sukhoimaster commented 4 years ago

Little update from what i've done. I think might be useful to narrow down in bug finding.

I managed to get wash -i wlan1 worked only with airmon-ng start wlan1 instead of sudo iw dev wlan0 set type monitor with build on 5.7.0 without comment line 3926-3927 on rtw_recv.c but the reaver still no good sign.

cedricbambooza commented 3 years ago