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:
evilsocket 2018-08-17 14:57:44 +02:00
commit 49beed239f
No known key found for this signature in database
GPG key ID: 1564D7F30393A456
4 changed files with 39 additions and 14 deletions

View file

@ -43,3 +43,7 @@ func (s Station) BSSID() string {
func (s *Station) ESSID() string {
return s.Hostname
}
func (s *Station) Channel() int {
return Dot11Freq2Chan(s.Frequency)
}