mirror of
https://github.com/bettercap/bettercap
synced 2025-07-30 19:50:06 -07:00
Issue #157: wifi.recon can now select one or multiple channels (comma separated) and show only the selected channels.
This commit is contained in:
parent
0e2e7344f8
commit
054ce2a1bf
3 changed files with 99 additions and 19 deletions
|
@ -211,3 +211,11 @@ func Dot11InformationElementRSNInfoDecode(buf []byte) (rsn RSNInfo, err error) {
|
|||
|
||||
return
|
||||
}
|
||||
|
||||
func Dot11InformationElementIDDSSetDecode(buf []byte) (channel int, err error) {
|
||||
if err = canParse("DSSet.channel", buf, 1); err == nil {
|
||||
channel = int(buf[0])
|
||||
}
|
||||
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue