package
Version:
v0.0.0-...-9f58196
Opens a new window with list of versions in this module.
Published: Oct 25, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
DescribePort returns a service string if it matches a known
port, otherwise it returns an empty string.
ScanPort scans the target IP/port to determine if it's open or closed.
Ulimit gets the maximum number of open files allowed by the OS.
PortScanner struct
Start creates a channel to begin the port scan.
PortState type
const (
PortUnknown PortState = iota
PortOpen
PortClosed
PortFiltered
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.