mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -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()
|
||||
encryption := station.Encryption
|
||||
if encryption == "OPEN" {
|
||||
encryption = core.Green(encryption)
|
||||
if encryption == "OPEN" || encryption == "" {
|
||||
encryption = core.Green("OPEN")
|
||||
}
|
||||
sent := humanize.Bytes(station.Sent)
|
||||
recvd := humanize.Bytes(station.Received)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue