fix: make 802.11 packet parsing and validation more robust (fixes #167)

This commit is contained in:
evilsocket 2018-03-11 15:36:51 +01:00
parent 98d7fb5b86
commit 8f84b9d72c
No known key found for this signature in database
GPG key ID: 1564D7F30393A456
3 changed files with 212 additions and 149 deletions

View file

@ -163,10 +163,12 @@ func (w *WiFiRecon) getRow(station *network.Station) []string {
encryption := station.Encryption
if len(station.Cipher) > 0 {
encryption = fmt.Sprintf("%s [%s,%s]", station.Encryption, station.Cipher, station.Authentication)
encryption = fmt.Sprintf("%s (%s, %s)", station.Encryption, station.Cipher, station.Authentication)
}
if encryption == "OPEN" || encryption == "" {
encryption = core.Green("OPEN")
ssid = core.Green(ssid)
bssid = core.Green(bssid)
}
sent := ""
if station.Sent > 0 {