mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 04:59:25 -07:00
fix: using 'OPEN' as default if no encryption is detcted (fixes #57)
This commit is contained in:
parent
7e07b85acb
commit
ee2e66a20a
1 changed files with 2 additions and 2 deletions
|
@ -138,8 +138,8 @@ func (w *WiFiRecon) getRow(station *network.WiFiStation) []string {
|
||||||
|
|
||||||
ssid := station.ESSID()
|
ssid := station.ESSID()
|
||||||
encryption := station.Encryption
|
encryption := station.Encryption
|
||||||
if encryption == "OPEN" {
|
if encryption == "OPEN" || encryption == "" {
|
||||||
encryption = core.Green(encryption)
|
encryption = core.Green("OPEN")
|
||||||
}
|
}
|
||||||
sent := humanize.Bytes(station.Sent)
|
sent := humanize.Bytes(station.Sent)
|
||||||
recvd := humanize.Bytes(station.Received)
|
recvd := humanize.Bytes(station.Received)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue