port

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package port provides the data structures and logic necessary for interacting with ports on a network.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunPortScan

func RunPortScan(ctx context.Context, target string, ports string, topport string, threads int, scantype string) (*port.PortScanReport, error)

RunPortScan takes a target host and a list of ports to scan and returns a report of all hosts that were scanned and their open ports.

func RunPortScanValidate added in v0.0.16

func RunPortScanValidate(ctx context.Context, target string, ports string, topport string, threads int, scantype string, timeout int, httpsRequest bool, tlsVerify bool) (*port.PortScanValidateReport, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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