portscanner

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2023 License: GPL-3.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsPortOpen

func IsPortOpen(host, protocol string, port uint32) bool

IsPortOpen checks if a port is open or not.

func Port2Service

func Port2Service(host, protocol string, port uint32, fingerprint bool) string

Port2Service returns the service name of a port.

func Port2ServiceByFingerprint

func Port2ServiceByFingerprint(host, protocol string, port uint32) string

Port2ServiceByFingerprint returns the service name of a port.

func PortRange

func PortRange(host, protocol string, start, end, workers uint32) []uint32

PortRange returns a slice of ports that are open.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL