new: detection and parsing of deauthentication frames as wifi.deauthentication events

This commit is contained in:
Simone Margaritelli 2021-03-31 00:47:56 +02:00
commit 240c4c3219
4 changed files with 57 additions and 1 deletions

View file

@ -9,6 +9,14 @@ type ClientEvent struct {
Client *network.Station
}
type DeauthEvent struct {
RSSI int8 `json:"rssi"`
Address1 string `json:"address1"`
Address2 string `json:"address2"`
Address3 string `json:"address3"`
Reason string `json:"reason"`
}
type ProbeEvent struct {
FromAddr string `json:"mac"`
FromVendor string `json:"vendor"`