cmd

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2024 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// Scan command
	ScanCmd = &cobra.Command{
		Use:   "scan",
		Short: "Discover open ports and services on a given target or a list of targets.",
		Long:  "Discover open ports with services on a given target using TCP and/or UDP protocols.",
		RunE:  scan,
	}
)

Functions

func Execute

func Execute()

Types

type DiscoveryResult

type DiscoveryResult struct {
	SessionLayer      string
	PresentationLayer string
	ApplicationLayer  string
	IsAuthenticated   bool
	Properties        map[string]interface{}
}

func ScanTargets

func ScanTargets(ctx context.Context, host string, port int) (result DiscoveryResult, err error)

Jump to

Keyboard shortcuts

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