Documentation ¶
Index ¶
- type NmapRunner
- func NewNmapCheck(target string, s state.State, timing int, progress bool, ...) NmapRunner
- func NewNmapTCPCheck(target string, s state.State, timing int, progress bool, tcpPorts []string) NmapRunner
- func NewNmapUDPCheck(target string, s state.State, timing int, progress bool, udpPorts []string) NmapRunner
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.
Click to show internal directories.
Click to hide internal directories.