Replies: 2 comments 1 reply
-
That is an incorrect use of a BPF, because you can't cat or pipe filters. It is mandatory to use BOLEAN operators (and, or, not) and brackets to combine them inside a single line, e.g.: exclude two networks (00c0cab035be, More information is here: Moved to discussion, because it is not an issue |
Beta Was this translation helpful? Give feedback.
-
I know, BPF coding is hard core, but makes sense to learn it. You can build filter code for every purpose and store them to a directory. |
Beta Was this translation helpful? Give feedback.
-
hcxdumptool 6.3.5-3-g3725338 (C) 2024 ZeroBeat
running on Linux kernel 6.11.2-amd64
running GNU libc version 2.40
compiled by gcc 14.2.0
compiled with Linux API headers 6.11.2
compiled with GNU libc headers 2.40
enabled REALTIME DISPLAY
enabled GPS support
enabled BPF compiler
hcxdumptool --bpfc="wlan addr1 00c0cab035be or wlan addr2 00c0cab035be or wlan addr3 00c0cab035be" >> attack.bpf is working great. I don't see any other AP's or clients
excluding seems to be harder....
i tried
hcxdumptool --bpfc="not wlan addr1 00c0cab035be" >> protect.bpf
hcxdumptool --bpfc="not wlan addr2 00c0cab035be" >> protect.bpf
hcxdumptool --bpfc="not wlan addr3 00c0cab035be" >> protect.bpf
but it keeps showing
Beta Was this translation helpful? Give feedback.
All reactions