mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 21:13:18 -07:00
Added beacon packet to handshake cap file for PMKID assoc attack
This commit is contained in:
parent
4a96bf641a
commit
5302f7f3f3
2 changed files with 13 additions and 0 deletions
|
@ -67,6 +67,9 @@ func (mod *WiFiModule) discoverAccessPoints(radiotap *layers.RadioTap, dot11 *la
|
|||
}
|
||||
|
||||
if ap, isNew := mod.Session.WiFi.AddIfNew(ssid, bssid, frequency, radiotap.DBMAntennaSignal); !isNew {
|
||||
//set beacon packet on the access point station.
|
||||
//This is for it to be included in the saved handshake file for wifi.assoc
|
||||
ap.Station.Handshake.Beacon = packet
|
||||
ap.EachClient(func(mac string, station *network.Station) {
|
||||
station.Handshake.SetBeacon(packet)
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue