Debian Codegraph @

modules/wifi/wifi_events.go

raw symbols SCIP
1 package wifi
2
3 import (
4 "github.com/bettercap/bettercap/network"
5 )
6
7 type ClientEvent struct {
8 AP *network.AccessPoint
9 Client *network.Station
10 }
11
12 type DeauthEvent struct {
13 RSSI int8 `json:"rssi"`
14 AP *network.AccessPoint `json:"ap"`
15 Address1 string `json:"address1"`
16 Address2 string `json:"address2"`
17 Address3 string `json:"address3"`
18 Reason string `json:"reason"`
19 }
20
21 type ProbeEvent struct {
22 FromAddr string `json:"mac"`
23 FromVendor string `json:"vendor"`
24 FromAlias string `json:"alias"`
25 SSID string `json:"essid"`
26 RSSI int8 `json:"rssi"`
27 }
28
29 type HandshakeEvent struct {
30 File string `json:"file"`
31 NewPackets int `json:"new_packets"`
32 AP string `json:"ap"`
33 Station string `json:"station"`
34 Half bool `json:"half"`
35 Full bool `json:"full"`
36 PMKID []byte `json:"pmkid"`
37 }