mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
fix: modules that require net.recon can now specify it as a dependency
This commit is contained in:
parent
5ef330f80b
commit
36e5fe8bdb
5 changed files with 30 additions and 0 deletions
|
@ -38,6 +38,8 @@ func NewArpSpoofer(s *session.Session) *ArpSpoofer {
|
|||
waitGroup: &sync.WaitGroup{},
|
||||
}
|
||||
|
||||
mod.SessionModule.Requires("net.recon")
|
||||
|
||||
mod.AddParam(session.NewStringParameter("arp.spoof.targets", session.ParamSubnet, "", "Comma separated list of IP addresses, MAC addresses or aliases to spoof, also supports nmap style IP ranges."))
|
||||
|
||||
mod.AddParam(session.NewStringParameter("arp.spoof.whitelist", "", "", "Comma separated list of IP addresses, MAC addresses or aliases to skip while spoofing."))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue