10-24-2020, 02:14 PM
Please specify the "invalid channel message" (exact output of hcxdumptool).
hcxtools - solution for capturing wlan traffic and conversion to hashcat formats
|
10-24-2020, 02:14 PM
Please specify the "invalid channel message" (exact output of hcxdumptool).
hcxdumptool -i wlan0 -c xx
unknown channel selected
Have you modified the default channel list as mentioned here:
https://hashcat.net/forum/thread-6661-po...l#pid50505 You want channel 74 ( -c 74). First hcxdumptool check if desired channel is in channel list here: https://github.com/ZerBea/hcxdumptool/bl...ol.c#L6430 The allowed channel are here: https://github.com/ZerBea/hcxdumptool/bl...ool.c#L226 channel 74 is not in this list, so you receive an error. The default frequencies are here: https://github.com/ZerBea/hcxdumptool/bl...ol.c#L6464 They depend on standard 802.11 as mentioned here: https://en.wikipedia.org/wiki/List_of_WLAN_channels If you have patched your firmware and/or your driver the values inside this functions must match to the values of your patched firmware/driver!
After some more investigation, I found this in ath9k/common-init.c:
https://git.kernel.org/pub/scm/linux/ker...?h=v5.8.16 Code: /* Some 2 GHz radios are actually tunable on 2312-2732 It's time to play around with an Atheros device: Code: $ lsusb hcxdumptool showing available channels as coded in ath9k/common-init.c: Code: static const struct ieee80211_channel ath9k_2ghz_chantable[] = { By latest commit, I added support for additional 2.4GHz channels 15...33 (ath9k driver modification mandatory) Code: -c <digit> : set channel (1,2,3, ...) Channellist according to The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali) channel patch: https://github.com/0x90/The-Distribution...penCL-Well (Kali)-scripts/blob/master/patches/ath9k-htc-channels-unlock.patch Code: CHAN2G(2407, 14)
10-24-2020, 06:32 PM
hi zerbea, i can send you the patch i used for my spectrum
10-24-2020, 06:41 PM
Thanks, but I don't need it.
Please test latest git head. I need the exact output of hcxdumptool -i interface -C
10-24-2020, 06:53 PM
so i should switch radio? i need work with 2.4 ghz?
10-24-2020, 07:38 PM
No, not necessary. I'll dive into the driver code and rewrite hcxdumptool channel behavior. First on 2.4GHz - maybe I need some additional information on 5GHz later on. Thanks
10-24-2020, 07:56 PM
ok talk later i need go now. anyway last git show
hcxdumptool -i wlan0 -C initialization... interface is already in monitor mode available channels: 1 / 2412MHz (26 dBm) 2 / 2417MHz (26 dBm) 3 / 2422MHz (26 dBm) 4 / 2427MHz (26 dBm) 5 / 2432MHz (26 dBm) 6 / 2437MHz (26 dBm) 7 / 2442MHz (26 dBm) 8 / 2447MHz (26 dBm) 9 / 2452MHz (26 dBm) 10 / 2457MHz (26 dBm) 11 / 2462MHz (26 dBm) 12 / 2467MHz (26 dBm) 13 / 2472MHz (26 dBm) 14 / 2484MHz (26 dBm)
10-24-2020, 08:54 PM
Ok, thanks.
By latest commit, default channels are not longer hard coded. Instead hcxdumptool take the channel from -c option and see if the driver is able to set it. |
« Next Oldest | Next Newest »
|