Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunPortScan ¶
func RunPortScan(ctx context.Context, config discoverfern.DiscoverPortConfig) (*discoverfern.DiscoverPortReport, error)
RunPortScan performs a port scan on the specified target using the provided configuration. It returns a report containing discovered open ports and any errors encountered during the process.
Types ¶
type TopPortsConfig ¶ added in v0.0.68
type TopPortsConfig struct {
Description string `json:"description"`
PortLists map[string]string `json:"port_lists"`
}
TopPortsConfig represents the simple JSON structure for port lists
Click to show internal directories.
Click to hide internal directories.