mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 13:09:49 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
25f6380c01
commit
81e412e870
1 changed files with 2 additions and 1 deletions
|
@ -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.")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue