mirror of
https://github.com/bettercap/bettercap
synced 2025-08-21 14:03:17 -07:00
new: added native wifi handshakes capture from wifi.recon module
This commit is contained in:
parent
23f340d8eb
commit
a6cfb2413f
9 changed files with 273 additions and 30 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue