fix: fixed a bug of the probe and recon algos which prevented targets from being removed once offline

This commit is contained in:
evilsocket 2018-02-01 19:45:09 +01:00
commit 73f887087a
4 changed files with 12 additions and 32 deletions

View file

@ -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
}