ntScaner

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ScanMTURun

func ScanMTURun(ceilingSize int, DestAddr string, DestHost string) (err error)

func - ScanMTURun

func ScanTcpWorker

func ScanTcpWorker(TestPortChan <-chan *TcpScanPort, errChan chan<- error)

func TcpScanStat

func TcpScanStat(Ports *[]TcpScanPort) (countTested int, countSuccess int, countFail int)

func tcpScanStat

Types

type TcpScanPort

type TcpScanPort struct {
	ID       int
	Port     int
	Status   int // 0: Not_Requited (not visible), 1: Not_Check (Grey), 2: Success (Green), 3: Failed (Red)
	Timeout  int
	DestHost string
	DestAddr string
	// Status update
	AdditionalInfo string
}

Jump to

Keyboard shortcuts

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