nmap

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: MIT Imports: 9 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NmapRunner

type NmapRunner interface {
	Run(ctx context.Context) (report *gonmap.NmapRun, rawOutput *[]byte, err error)
}

NmapRunner executes an Nmap.

func NewNmapCheck

func NewNmapCheck(target string, s state.State, timing int, progress bool, options map[string]string) NmapRunner

NewNmapCheck Creates a new base nmap check with some default options that are needed to parse * the results.

func NewNmapTCPCheck

func NewNmapTCPCheck(target string, s state.State, timing int, progress bool, tcpPorts []string) NmapRunner

NewNmapTCPCheck Creates a new nmap check. TCP Connect()

func NewNmapUDPCheck

func NewNmapUDPCheck(target string, s state.State, timing int, progress bool, udpPorts []string) NmapRunner

NewNmapUDPCheck Creates a new nmap check.

Jump to

Keyboard shortcuts

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