Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CommonPorts = []int{
21,
22,
25,
53,
80,
110,
143,
443,
465,
587,
993,
995,
3306,
5432,
6379,
8080,
8443,
9000,
11211,
}
CommonPorts defines the ports to scan
Functions ¶
This section is empty.
Types ¶
type ScanResult ¶
type ScanResult struct {
Services []Service
RuleCategories []string // Suricata rule categories to enable
}
ScanResult contains all detected services
func DeepScan ¶
func DeepScan(host string, ports []int) (*ScanResult, error)
DeepScan performs comprehensive service detection with protocol probes
func ScanLocalhost ¶
func ScanLocalhost() (*ScanResult, error)
ScanLocalhost scans localhost for running services
func (*ScanResult) GetServiceSummary ¶
func (sr *ScanResult) GetServiceSummary() string
GetServiceSummary returns a human-readable summary
Click to show internal directories.
Click to hide internal directories.