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

This commit is contained in:
evilsocket 2019-03-18 22:16:32 +01:00
parent a5116d3533
commit 09c09e647b
No known key found for this signature in database
GPG key ID: 1564D7F30393A456
3 changed files with 4 additions and 4 deletions

View file

@ -261,7 +261,7 @@ func NewWiFiModule(s *session.Session) *WiFiModule {
"false",
"If true, wifi.show will also show the devices manufacturers."))
mod.AddHandler(session.NewModuleHandler("wifi.recon.channel", `wifi\.recon\.channel[\s]+([0-9]+(?:[, ]+[0-9]+)*|clear)`,
mod.AddHandler(session.NewModuleHandler("wifi.recon.channel CHANNEL", `wifi\.recon\.channel[\s]+([0-9]+(?:[, ]+[0-9]+)*|clear)`,
"WiFi channels (comma separated) or 'clear' for channel hopping.",
func(args []string) (err error) {
freqs := []int{}