Scanner

package
v0.0.0-...-f3bca4f Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2019 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PortList = []int{22, 23}

PortList ...

Functions

func GetOutboundIP

func GetOutboundIP() string

GetOutboundIP ...

func Hosts

func Hosts(cidr string) ([]string, error)

Hosts ...

func ScanPort

func ScanPort(ip string, port int, timeout time.Duration)

ScanPort ...

func StartLocalScan

func StartLocalScan()

StartLocalScan ...

func StartTheRemoteScan

func StartTheRemoteScan()

StartTheRemoteScan ...

Types

type PortScanner

type PortScanner struct {
	// contains filtered or unexported fields
}

PortScanner ...

func (*PortScanner) Start

func (ps *PortScanner) Start(timeout time.Duration)

Start ...

Jump to

Keyboard shortcuts

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