Merge branch 'master' of github.com:evilsocket/bettercap-ng

This commit is contained in:
Matrix86 2018-02-20 12:41:06 +01:00
commit 8825ecb8db
25 changed files with 343 additions and 166 deletions

View file

@ -322,7 +322,7 @@ func (w *WiFiRecon) startDeauth(apMac net.HardwareAddr, clMac net.HardwareAddr)
} else {
log.Info("Deauthing clients from AP %s ...", apMac.String())
// deauth every authenticated client
for _, station := range w.Session.WiFi.Stations {
for _, station := range w.Session.WiFi.List() {
if station.IsAP == false {
w.sendDeauthPacket(apMac, station.HW)
}