arpspoofing

package
v0.0.0-...-fbfabe4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PoisonAllDevices

func PoisonAllDevices(hosts []Host, gatewayIP net.IP, gatewayMAC net.HardwareAddr, myIP net.IP, iface *net.Interface, stopChan <-chan struct{}) error

func PoisonDevice

func PoisonDevice(targetIP, gatewayIP net.IP, targetMAC, gatewayMAC net.HardwareAddr, iface *net.Interface, stopChan <-chan struct{}) error

Types

type Host

type Host struct {
	IP  net.IP
	MAC net.HardwareAddr
}

Host represents a discovered network host

func ScanNetwork

func ScanNetwork() ([]Host, *net.Interface, net.IP, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL