new: new wifi.assoc command to perform a RSN PMKID clientless attack (closes #436)

This commit is contained in:
evilsocket 2019-02-07 18:27:14 +01:00
commit acbc6d28dd
No known key found for this signature in database
GPG key ID: 1564D7F30393A456
7 changed files with 279 additions and 6 deletions

View file

@ -124,3 +124,16 @@ func (ap *AccessPoint) NumHandshakes() int {
func (ap *AccessPoint) HasHandshakes() bool {
return ap.NumHandshakes() > 0
}
func (ap *AccessPoint) HasPMKID() bool {
ap.Lock()
defer ap.Unlock()
for _, c := range ap.clients {
if c.Handshake.HasPMKID() {
return true
}
}
return false
}