mirror of
https://github.com/bettercap/bettercap
synced 2025-07-30 11:40:33 -07:00
fix: make 802.11 packet parsing and validation more robust (fixes #167)
This commit is contained in:
parent
98d7fb5b86
commit
8f84b9d72c
3 changed files with 212 additions and 149 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue