new: added native wifi handshakes capture from wifi.recon module

This commit is contained in:
evilsocket 2019-02-05 19:42:13 +01:00
commit a6cfb2413f
No known key found for this signature in database
GPG key ID: 1564D7F30393A456
9 changed files with 273 additions and 30 deletions

View file

@ -96,3 +96,16 @@ func (ap *AccessPoint) Clients() (list []*Station) {
}
return
}
func (ap *AccessPoint) HasHandshakes() bool {
ap.Lock()
defer ap.Unlock()
for _, c := range ap.clients {
if c.Handshake.Complete() {
return true
}
}
return false
}