mirror of
https://github.com/bettercap/bettercap
synced 2025-08-20 21:43:18 -07:00
fix: fixed a bug of the probe and recon algos which prevented targets from being removed once offline
This commit is contained in:
parent
fa2ada828b
commit
73f887087a
4 changed files with 12 additions and 32 deletions
|
@ -60,8 +60,6 @@ func (p *Prober) shouldProbe(ip net.IP) bool {
|
|||
return false
|
||||
} else if addr == p.Session.Gateway.IpAddress {
|
||||
return false
|
||||
} else if p.Session.Targets.Has(addr) == true {
|
||||
return false
|
||||
}
|
||||
return true
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue