mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 18:57: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
|
@ -14,6 +14,7 @@ type Station struct {
|
|||
Cipher string `json:"cipher"`
|
||||
Authentication string `json:"authentication"`
|
||||
WPS map[string]string `json:"wps"`
|
||||
Handshake *Handshake `json:"-"`
|
||||
}
|
||||
|
||||
func cleanESSID(essid string) string {
|
||||
|
@ -35,6 +36,7 @@ func NewStation(essid, bssid string, frequency int, rssi int8) *Station {
|
|||
Frequency: frequency,
|
||||
RSSI: rssi,
|
||||
WPS: make(map[string]string),
|
||||
Handshake: NewHandshake(),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue