Documentation
¶
Index ¶
- func CheckOpenPorts(protocol string, host string, checkPorts chan uint16, taskToRun uint32, ...) (openedPorts []uint16)
- func CheckOpenPortsFromSlice(protocol string, host string, ports []uint16, workers int) (openedPorts []uint16)
- func CheckOpenPortsRange(protocol string, host string, start, end uint16, workers int) []uint16
- func IsPortOpen(protocol string, host string, port uint16) bool
- func UniquePorts(intSlices ...[]uint16) []uint16
- type TCP
- type TcpPortsScenario
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckOpenPorts ¶ added in v3.3.0
func CheckOpenPortsFromSlice ¶ added in v3.3.0
func CheckOpenPortsFromSlice(protocol string, host string, ports []uint16, workers int) (openedPorts []uint16)
CheckOpenPorts checks from a slice of ports and returns the opened ports
func CheckOpenPortsRange ¶ added in v3.3.0
CheckOpenPortsRange checks from a range of ports and returns the opened ports
func IsPortOpen ¶ added in v3.3.0
IsPortOpen checks if a port is open or not.
func UniquePorts ¶ added in v3.3.0
Types ¶
type TcpPortsScenario ¶ added in v3.3.0
type TcpPortsScenario struct {
plugins.BasePlugin
}
func (*TcpPortsScenario) Init ¶ added in v3.3.0
func (s *TcpPortsScenario) Init()
Init initialize the scenario
Click to show internal directories.
Click to hide internal directories.