mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 13:09:49 -07:00
Fix arp.spoof incorrect handling
This commit is contained in:
parent
44391125c2
commit
fca3e29b06
1 changed files with 7 additions and 1 deletions
|
@ -50,7 +50,13 @@ func NewArpSpoofer(s *session.Session) *ArpSpoofer {
|
||||||
return p.Start()
|
return p.Start()
|
||||||
}))
|
}))
|
||||||
|
|
||||||
p.AddHandler(session.NewModuleHandler("arp.spoof/ban off", "arp\\.(spoof|ban) off",
|
p.AddHandler(session.NewModuleHandler("arp.spoof off", "",
|
||||||
|
"Stop ARP spoofer.",
|
||||||
|
func(args []string) error {
|
||||||
|
return p.Stop()
|
||||||
|
}))
|
||||||
|
|
||||||
|
p.AddHandler(session.NewModuleHandler("arp.ban off", "",
|
||||||
"Stop ARP spoofer.",
|
"Stop ARP spoofer.",
|
||||||
func(args []string) error {
|
func(args []string) error {
|
||||||
return p.Stop()
|
return p.Stop()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue