mirror of
https://github.com/bettercap/bettercap
synced 2025-08-22 06:23:18 -07:00
add channel hop attack
This commit is contained in:
parent
ade832f004
commit
37e20f38a6
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ func NewWiFiModule(s *session.Session) *WiFiModule {
|
||||||
}
|
}
|
||||||
channel,_:=strconv.Atoi( args[1])
|
channel,_:=strconv.Atoi( args[1])
|
||||||
if channel>180 || channel<1{
|
if channel>180 || channel<1{
|
||||||
return fmt.Errorf("%s is not a valid channel number")
|
return fmt.Errorf("%d is not a valid channel number",channel)
|
||||||
}
|
}
|
||||||
packet_count,_:=strconv.Atoi( args[2])
|
packet_count,_:=strconv.Atoi( args[2])
|
||||||
if packet_count>65535{
|
if packet_count>65535{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue