hcxtools - solution for capturing wlan traffic and conversion to hashcat formats - Printable Version +- hashcat Forum (https://hashcat.net/forum) +-- Forum: Misc (https://hashcat.net/forum/forum-15.html) +--- Forum: User Contributions (https://hashcat.net/forum/forum-25.html) +--- Thread: hcxtools - solution for capturing wlan traffic and conversion to hashcat formats (/thread-6661.html) |
RE: hcxtools - solution for capturing wlan traffic and conversion to hashcat formats - ciccio17 - 10-25-2020 hi zerbea, last commit, i cannot make it work, the strange thing is that hcxdumptool cannot see all my channels, but it can see until channel 175, but it wont work on this channel too. and on 2.4 it cannot see -1 and -2. because i read about last commit i just compiled hcxdumptool with no modification. RE: hcxtools - solution for capturing wlan traffic and conversion to hashcat formats - ZerBea - 10-25-2020 There are no negative channel numbers. According to the driver patch the expanded 2.4GHz channels start at channel 14 and end at channel 33 Code: + CHAN2G(2312, 33), /* Channel -19 */ Running $ sudo hcxdumptool -i interface -C will give you an information of all available channels (hcxdumptool is able to set the channel and to get channel information via ioctl() system call) Also you should be able to set the channel $ sudo hcxdumptool -i interface -c channel Tested this with channel 14, which seems to be a bug within the patch: patch: CHAN2G(2407, 14), /* Channel 0 */ but 802.11 regular channel 14 frequency is 2484MHz Code: $ sudo hcxdumptool -i wlp39s0f3u1u1u2 -C Now we try to set channel 14: Code: $ sudo hcxdumptool -i wlp39s0f3u1u1u2 -c 14 example 2: Code: $ sudo hcxdumptool -i wlp39s0f3u1u1u2 -C Now we try to set a channel that the device doesn't support: Code: $ sudo hcxdumptool -i wlp39s0f3u1u1u2 -c 166 RE: hcxtools - solution for capturing wlan traffic and conversion to hashcat formats - ciccio17 - 10-25-2020 terminating... # hcxdumptool -i wlan0 -c xxx unknown channel selected RE: hcxtools - solution for capturing wlan traffic and conversion to hashcat formats - ZerBea - 10-25-2020 Please output of $ hcxdumptool -v because this error message "unknown channel selected" was removed Code: $ hcxdumptool -v RE: hcxtools - solution for capturing wlan traffic and conversion to hashcat formats - ciccio17 - 10-25-2020 you right i made a mess with all this version RE: hcxtools - solution for capturing wlan traffic and conversion to hashcat formats - ZerBea - 10-25-2020 No problem - and welcome to the world of a rolling release. RE: hcxtools - solution for capturing wlan traffic and conversion to hashcat formats - ciccio17 - 10-25-2020 yeahh it's working now, let me try on 2.4 ghz, but i think i need redo the patch for 2.4, we will see RE: hcxtools - solution for capturing wlan traffic and conversion to hashcat formats - ZerBea - 10-25-2020 You're welcome. Thanks for the tests. Using expanded channels is a huge improvement. Please double check the 2.4GHz patch due to channel 14 frequency mismatch (expanded frequency vs 802.11 standard frequency). Also you have to increase size of ATH9K_NUM_CHANNELS RE: hcxtools - solution for capturing wlan traffic and conversion to hashcat formats - ciccio17 - 10-25-2020 hi zerbea, i'm rigth that the The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali) patch does not go up to 2732 MHz, looks like it just go down to 2312? this is not easy to make work on my device until now. lol RE: hcxtools - solution for capturing wlan traffic and conversion to hashcat formats - ZerBea - 10-25-2020 Yes, you're right. Also the patch doesn't work on latest kernels. You have to modify the source by your own (e.g. on kernel 5.9.1): https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/net/wireless/ath/ath9k?h=v5.9.1 |