Documentation
¶
Index ¶
Constants ¶
View Source
const ( TARGET_TYPE_IP = "IP" TARGET_TYPE_IP_LIST = "IP_LIST" TARGET_TYPE_IP_RANGE = "IP_RANGE" TARGET_TYPE_HOSTNAME = "HOSTNAME" PORT_TYPE_SINGLE = "SINGLE" PORT_TYPE_LIST = "LIST" PORT_TYPE_RANGE = "RANGE" AUTHENTICATION_STATUS_AUTHENTICATED = "AUTHENTICATED" AUTHENTICATION_STATUS_UNAUTHENTICATED = "UNAUTHENTICATED" AUTHENTICATION_STATUS_PARTIALLY_AUTHENTICATED = "PARTIALLY_AUTHENTICATED" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetworkScanner ¶
type NetworkScanner interface {
Scan(target TargetDescription) ([]ScanResult, error)
}
Interface for network scanner
type ScanResult ¶
type ScanResult struct { Host string IP net.IP TCPPorts []int UDPPorts []int Service string // Maybe we need to break this down into more fields (HTTP, Kubelete etc.) Authenticated string SecureProtocol bool // TLS/SSL SessionLayer string PresentationLayer string ApplicationLayer string }
Struct defining the result of the network scanner
Click to show internal directories.
Click to hide internal directories.