new: added wifi.show clients and encryption sorting

This commit is contained in:
evilsocket 2019-01-24 14:36:26 +01:00
parent 573cb17735
commit 58738b7723
No known key found for this signature in database
GPG key ID: 1564D7F30393A456
3 changed files with 43 additions and 36 deletions

View file

@ -148,7 +148,7 @@ func NewWiFiModule(s *session.Session) *WiFiModule {
}))
w.selector = ViewSelectorFor(&w.SessionModule, "wifi.show",
[]string{"rssi", "bssid", "essid", "channel", "encryption", "seen", "sent", "rcvd"}, "rssi")
[]string{"rssi", "bssid", "essid", "channel", "encryption", "clients", "seen", "sent", "rcvd"}, "rssi")
w.AddHandler(session.NewModuleHandler("wifi.recon.channel", `wifi\.recon\.channel[\s]+([0-9]+(?:[, ]+[0-9]+)*|clear)`,
"WiFi channels (comma separated) or 'clear' for channel hopping.",