mirror of
https://github.com/bettercap/bettercap
synced 2025-07-13 16:43:49 -07:00
26 lines
552 B
Go
26 lines
552 B
Go
package wifi
|
|
|
|
import (
|
|
"github.com/bettercap/bettercap/network"
|
|
)
|
|
|
|
type ClientEvent struct {
|
|
AP *network.AccessPoint
|
|
Client *network.Station
|
|
}
|
|
|
|
type ProbeEvent struct {
|
|
FromAddr string `json:"mac"`
|
|
FromVendor string `json:"vendor"`
|
|
FromAlias string `json:"alias"`
|
|
SSID string `json:"essid"`
|
|
RSSI int8 `json:"rssi"`
|
|
}
|
|
|
|
type HandshakeEvent struct {
|
|
File string `json:"file"`
|
|
NewPackets int `json:"new_packets"`
|
|
AP string `json:"ap"`
|
|
Station string `json:"station"`
|
|
PMKID []byte `json:"pmkid"`
|
|
}
|