From faee64a2c02893be129aa31e161cef5b0da3f70f Mon Sep 17 00:00:00 2001 From: Krypton Date: Wed, 16 Jul 2025 21:01:15 +0200 Subject: [PATCH] fix: Consistency and small typo --- modules/wifi/wifi.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/wifi/wifi.go b/modules/wifi/wifi.go index 0cd0338f..2a000f4b 100644 --- a/modules/wifi/wifi.go +++ b/modules/wifi/wifi.go @@ -265,8 +265,8 @@ func NewWiFiModule(s *session.Session) *WiFiModule { mod.AddHandler(probe) - channelSwitchAnnounce := session.NewModuleHandler("wifi.channel_switch_announce bssid channel ", `wifi\.channel_switch_announce ((?:[a-fA-F0-9:]{11,}))\s+((?:[0-9]+))`, - "Start a 802.11 channel hop attack, all client will be force to change the channel lead to connection down.", + channelSwitchAnnounce := session.NewModuleHandler("wifi.channel_switch_announce BSSID CHANNEL ", `wifi\.channel_switch_announce ((?:[a-fA-F0-9:]{11,}))\s+((?:[0-9]+))`, + "Start a 802.11 channel hop attack, all client will be forced to change the channel lead to connection down.", func(args []string) error { bssid, err := net.ParseMAC(args[0]) if err != nil {