From 81e412e8709580a6a7014a97458c8581518854ea Mon Sep 17 00:00:00 2001 From: evilsocket Date: Sat, 17 Feb 2018 00:09:17 +0100 Subject: [PATCH] misc: small fix or general refactoring i did not bother commenting --- modules/wifi_recon.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/wifi_recon.go b/modules/wifi_recon.go index c3673f03..15cf4e1f 100644 --- a/modules/wifi_recon.go +++ b/modules/wifi_recon.go @@ -97,7 +97,7 @@ func NewWiFiRecon(s *session.Session) *WiFiRecon { })) 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 { return w.Show("essid") })) @@ -307,6 +307,7 @@ func (w *WiFiRecon) startDeauth() error { } return nil } + return errors.New("No base station or client set.") }