mirror of
https://github.com/bettercap/bettercap
synced 2025-08-20 13:33:21 -07:00
new: new wifi.assoc command to perform a RSN PMKID clientless attack (closes #436)
This commit is contained in:
parent
0ec645afd3
commit
acbc6d28dd
7 changed files with 279 additions and 6 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue