12-05-2023, 01:03 PM
(12-05-2023, 12:55 PM)yuXfar Wrote: I tried creating a filter with the help of hcxdumptool --help
tcpdump -s 65535 -y IEEE802_11_RADIO wlan addr3 112233445566 -ddd > filter.bpf
I only changed 112233445566 to my mac address then hit enter
then still BPC is unset
Something is wrong with your work flow. Please check the command lines.
Added cat filter.bpf to see that has been really compiled.
Code:
$ tcpdump -s 65535 -y IEEE802_11_RADIO wlan addr3 112233445566 -ddd > filter.bpf
$ cat filter.bpf
$ hcxdumptool -i INTERFACE --bpf=filter.bpf -F -rds=1