new: aliases can now be used along with MACs and IP ranges for the arp.spoof.targets variable (ref #204)

This commit is contained in:
evilsocket 2018-03-26 11:38:22 +02:00
commit 54607993ba
No known key found for this signature in database
GPG key ID: 1564D7F30393A456
4 changed files with 75 additions and 42 deletions

View file

@ -94,6 +94,10 @@ func (lan *LAN) List() (list []*Endpoint) {
return
}
func (lan *LAN) Aliases() *Aliases {
return lan.aliases
}
func (lan *LAN) WasMissed(mac string) bool {
if mac == lan.iface.HwAddress || mac == lan.gateway.HwAddress {
return false