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

This commit is contained in:
evilsocket 2018-02-17 00:09:17 +01:00
commit 81e412e870

View file

@ -97,7 +97,7 @@ func NewWiFiRecon(s *session.Session) *WiFiRecon {
})) }))
w.AddHandler(session.NewModuleHandler("wifi.show", "", w.AddHandler(session.NewModuleHandler("wifi.show", "",
"Show current hosts list (default sorting by essid).", "Show current wireless stations list (default sorting by essid).",
func(args []string) error { func(args []string) error {
return w.Show("essid") return w.Show("essid")
})) }))
@ -307,6 +307,7 @@ func (w *WiFiRecon) startDeauth() error {
} }
return nil return nil
} }
return errors.New("No base station or client set.") return errors.New("No base station or client set.")
} }