mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 21:13:18 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
43941b0a3f
commit
b8056e2026
3 changed files with 27 additions and 78 deletions
|
@ -70,12 +70,6 @@ func (mod *WiFiModule) discoverAccessPoints(radiotap *layers.RadioTap, dot11 *la
|
|||
ap.EachClient(func(mac string, station *network.Station) {
|
||||
station.Handshake.SetBeacon(packet)
|
||||
})
|
||||
} else {
|
||||
// every time we detect a new ap, see if we have
|
||||
// its handshakes in our pcap already
|
||||
for _, h := range mod.shakesHistory {
|
||||
mod.discoverHandshakes(h.Radiotap, h.Dot11, h.Packet, true)
|
||||
}
|
||||
}
|
||||
} else {
|
||||
mod.Debug("skipping %s with %d dBm", from.String(), radiotap.DBMAntennaSignal)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue