mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
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:
parent
c304ca4696
commit
54607993ba
4 changed files with 75 additions and 42 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue