app

package
v2.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteScan

func ExecuteScan(req ScanRequest) error

ExecuteScan runs the complete scan workflow: target expansion, host discovery, scan, and rendering.

Types

type ScanRequest

type ScanRequest struct {
	Target          string
	PortsFlag       string
	ExcludePorts    string
	TopPorts        int
	Rate            int
	MaxHosts        int
	ServiceDetect   bool
	GhostMode       bool
	NoDiscovery     bool
	Format          string
	OutputPath      string
	TimeoutMS       int
	Workers         int
	Retries         int
	BackoffMS       int
	MaxTimeoutMS    int
	AdaptiveTimeout bool
	Details         bool
	RandomAgent     bool
	RandomIP        bool
}

ScanRequest contains normalized scan options coming from CLI.

Jump to

Keyboard shortcuts

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