scanner

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ScanResult

type ScanResult struct {
	Port   int    // Número da porta verificada.
	Status string // Status da porta (aberta, fechada, filtrada).
}

ScanResult armazena o resultado da verificação de uma única porta.

func ScanPorts

func ScanPorts(host, portRange string, timeout time.Duration) ([]ScanResult, error)

ScanPorts executa o escaneamento de portas de forma concorrente.

Jump to

Keyboard shortcuts

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