mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
Wifi 5GHz support added to wifi.recon
This commit is contained in:
parent
420ab9e26c
commit
813561cbda
7 changed files with 70 additions and 21 deletions
|
@ -41,3 +41,9 @@ func SetInterfaceChannel(iface string, channel int) error {
|
|||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
//! TODO Get the list of the available frequencies supported by the network card
|
||||
func GetSupportedFrequencies(iface string) ([]int, error) {
|
||||
freqs := []int{2412, 2417, 2422, 2427, 2432, 2437, 2442, 2447, 2452, 2457, 2462, 2467, 2472, 2484}
|
||||
return freqs, nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue