mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 21:13:18 -07:00
misc: wifi.deauth has been optimized by sorting frames to send by channel in order to minimize the amount of channel hops
This commit is contained in:
parent
148122e8fa
commit
49beed239f
4 changed files with 39 additions and 14 deletions
|
@ -73,7 +73,7 @@ func NewWiFiModule(s *session.Session) *WiFiModule {
|
|||
return err
|
||||
} else if ap, found := w.Session.WiFi.Get(bssid.String()); found {
|
||||
w.ap = ap
|
||||
w.stickChan = network.Dot11Freq2Chan(ap.Frequency)
|
||||
w.stickChan = ap.Channel()
|
||||
return nil
|
||||
}
|
||||
return fmt.Errorf("Could not find station with BSSID %s", args[0])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue