mirror of
https://github.com/bettercap/bettercap
synced 2025-07-16 10:03:39 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
a5116d3533
commit
09c09e647b
3 changed files with 4 additions and 4 deletions
|
@ -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{}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue