Documentation
¶
Overview ¶
Package cli provides command-line interface commands for the Scanorama network scanner. This file implements the API server command for running a standalone API server without the full daemon functionality.
Package cli provides command-line interface commands for the Scanorama network scanner. This package implements the Cobra-based CLI structure with commands for scanning, discovery, host management, scheduling, and daemon operations.
Package cli provides command-line interface commands for the Scanorama network scanner. This package implements the Cobra-based CLI structure with commands for scanning, discovery, host management, scheduling, and daemon operations.
Package cli provides command-line interface commands for the Scanorama network scanner. This package implements the Cobra-based CLI structure with commands for scanning, discovery, host management, scheduling, and daemon operations.
Package cli provides command-line interface commands for the Scanorama network scanner. This package implements the Cobra-based CLI structure with commands for scanning, discovery, host management, scheduling, and daemon operations.
Package cli provides command-line interface commands for the Scanorama network scanner. This package implements the Cobra-based CLI structure with commands for scanning, discovery, host management, scheduling, and daemon operations.
Package cli provides command-line interface commands for the Scanorama network scanner. This package implements the Cobra-based CLI structure with commands for scanning, discovery, host management, scheduling, and daemon operations.
Package cli provides command-line interface commands for the Scanorama network scanner. This package implements the Cobra-based CLI structure with commands for scanning, discovery, host management, scheduling, and daemon operations.
Package cli provides command-line interface commands for the Scanorama network scanner. This package implements the Cobra-based CLI structure with commands for scanning, discovery, host management, scheduling, and daemon operations.
Package cli provides command-line interface commands for the Scanorama network scanner. This file implements the server command with lifecycle management.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func SetVersion ¶
func SetVersion(v, c, bt string)
SetVersion sets the version information (called from main).
Types ¶
type DatabaseOperation ¶
DatabaseOperation represents a function that operates on a database connection.
type DiscoveryJob ¶
DiscoveryJob represents a discovery job configuration.
type Host ¶
type Host struct {
IP string
Status string
OSFamily string
OSName string
LastSeen time.Time
FirstSeen time.Time
IsIgnored bool
OpenPorts int
TotalScans int
DiscoveryMethod string
}
Host represents a discovered host.
type HostFilters ¶
type HostFilters struct {
Status string
OSFamily string
LastSeenDur time.Duration
ShowIgnored bool
}
HostFilters represents the filters for querying hosts.
type ScanJob ¶
type ScanJob struct {
Name string
CronExpr string
Targets string
LiveHosts bool
Ports string
ScanType string
Profile string
Timeout int
OSFamily string
}
ScanJob represents a scan job configuration.