misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
evilsocket 2019-01-24 17:20:05 +01:00
commit 282b58c024
No known key found for this signature in database
GPG key ID: 1564D7F30393A456
5 changed files with 68 additions and 70 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", "clients", "seen", "sent", "rcvd"}, "rssi")
[]string{"rssi", "bssid", "essid", "channel", "encryption", "clients", "seen", "sent", "rcvd"}, "rssi asc")
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.",