scan

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllInterface

func GetAllInterface() []net.Interface

func Port

func Port(ips []string, port uint, c chan string)

func PortRange

func PortRange(ips []string, min uint, max uint, c chan string)

func Ports

func Ports(c chan string, ips []string, ports ...uint)

func Scan

func Scan(iface *net.Interface) ([]string, error)

scan scans an individual interface's local network for machines using ARP requests/replies.

scan loops forever, sending packets out regularly. It returns an error if it's ever unable to write a packet.

func ScanAllIP

func ScanAllIP() []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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