new: added native wifi handshakes capture from wifi.recon module

This commit is contained in:
evilsocket 2019-02-05 19:42:13 +01:00
commit a6cfb2413f
No known key found for this signature in database
GPG key ID: 1564D7F30393A456
9 changed files with 273 additions and 30 deletions

View file

@ -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(),
}
}