nuclei

package
v0.0.172 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, cfg Config, reportBuilder *report.Builder) ([]*nuclei.NucleiTargetInfo, error)

Types

type Config

type Config struct {
	Targets         []string
	RawRequests     []string // JSONL lines when fuzzing
	TemplateFS      []fs.FS  // template sources
	WorkflowFS      []fs.FS  // workflow sources
	Threads         int
	Proxy           string
	RunMode         nuclei.NucleiRunMode
	SuccessfulOnly  *bool
	VerboseLogs     bool
	Timeout         int
	GlobalRateLimit int
}

func GetRunnerConfig

func GetRunnerConfig(templateFileSystems, workflowFileSystems []fs.FS, config nuclei.NucleiConfig) Config

GetRunnerConfig returns a runner config from a nuclei config.

Jump to

Keyboard shortcuts

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