Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMACFromIP ¶
GetMACFromIP attempts to get the MAC address for an IP using TCP/UDP connections
func IsReachable ¶
IsReachable checks if a host is reachable using various methods
func LookupVendor ¶
LookupVendor looks up the vendor for a MAC address
func NormalizeMACAddress ¶
NormalizeMACAddress converts a MAC address to a standard format
Types ¶
type Device ¶
type Device struct { IPAddress string Hostname []string // Multiple hostnames possible MDNSName string // mDNS discovered name MDNSServices map[string]string // Map of service type to service info MACAddress string Vendor string DeviceType string Interface string Status string // For showing discovery status OpenPorts []int // Separate ports from status }
Device represents a discovered network device
type Scanner ¶
type Scanner struct {
// contains filtered or unexported fields
}
Scanner handles network scanning operations
func (*Scanner) GetResults ¶
GetResults returns the channels for receiving scan results
func (*Scanner) GetWorkerStats ¶
func (s *Scanner) GetWorkerStats() map[int]WorkerStatus
GetWorkerStats returns a copy of current worker statistics
func (*Scanner) ScanNetwork ¶
ScanNetwork starts scanning the specified CIDR range
Click to show internal directories.
Click to hide internal directories.