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
|
@ -34,6 +34,8 @@ func NewDNSSpoofer(s *session.Session) *DNSSpoofer {
|
|||
waitGroup: &sync.WaitGroup{},
|
||||
}
|
||||
|
||||
mod.SessionModule.Requires("net.recon")
|
||||
|
||||
mod.AddParam(session.NewStringParameter("dns.spoof.hosts",
|
||||
"",
|
||||
"",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue