Documentation ¶
Overview ¶
Packge result contains the types used to represent the finshed evaluation
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Host ¶
type Host struct { Ip string // IP address of the host Dns string // Reverse DNS name of the host Ports []Port // Available ports Tags []string // Tags of the host }
Host scan result
type Port ¶
type Port struct { Number int // Numeric port representation Version string // Optional, version string if discovered State string // State of port either open, closed or filtered Name string // Name according to /etc/services RuleResults map[string]bool // Rule evaluation results ServiceId string // Discovered ServiceID from catalog }
Port represents a discovered port on a scanned host
type ResultHosts ¶
type ResultHosts []Host
Array of scan results
func (ResultHosts) PrintOpenPorts ¶
func (results ResultHosts) PrintOpenPorts()
Click to show internal directories.
Click to hide internal directories.