fix: fixed wifi.client.handshake event json serialization

This commit is contained in:
evilsocket 2019-03-14 17:11:45 +01:00
commit 73710ba7d3
No known key found for this signature in database
GPG key ID: 1564D7F30393A456
3 changed files with 10 additions and 12 deletions

View file

@ -1,8 +1,6 @@
package wifi
import (
"net"
"github.com/bettercap/bettercap/network"
)
@ -20,9 +18,9 @@ type ProbeEvent struct {
}
type HandshakeEvent struct {
File string
NewPackets int
AP net.HardwareAddr
Station net.HardwareAddr
PMKID []byte
File string `json:"file"`
NewPackets int `json:"new_packets"`
AP string `json:"ap"`
Station string `json:"station"`
PMKID []byte `json:"pmkid"`
}