portScan

package
v3.0.9 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareOpenPortsOfIps

func CompareOpenPortsOfIps(openPortsPerIp map[string][]uint16) ([]uint16, []string)

Checks whether the open ports are the same of all ip addresses Returns list of ports that where open on all ip addresses, and a list of inconsistencies

func PrintResult

func PrintResult(result Result)

Types

type IpPortTuple

type IpPortTuple struct {
	Ip   string
	Port uint16
}

type Result

type Result struct {
	// contains filtered or unexported fields
}

func AdvancedScan

func AdvancedScan(status *status.Status, aRecords []string, aaaaRecords []string) (Result, error)

func SimpleScan

func SimpleScan(status *status.Status, aRecords []string, aaaaRecords []string) (Result, error)

func (*Result) IsAvailableViaHttp

func (result *Result) IsAvailableViaHttp() bool

func (*Result) IsAvailableViaHttps

func (result *Result) IsAvailableViaHttps() bool

Jump to

Keyboard shortcuts

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