package
Version:
v3.1.3
Opens a new window with list of versions in this module.
Published: Jul 26, 2024
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Scan struct {
IP string `json:"ip" table:"IP"`
Host string `json:"hostname" table:"HOSTNAME"`
Ports []int `json:"open_ports" table:"OPEN_PORTS"`
Up bool `json:"up" yaml:"up" table:"UP"`
}
NewScanner initializes a new port-scanner based on whether or not the user wants to scan all ports or just the well-known ports.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.