Help us shape the future of Go! Take the 2026 Go Developer Survey

nuclei

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

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

Builder constructs and manages Nuclei scan reports. It maintains indexes for probes and targets to efficiently process scan results.

func NewBuilder

func NewBuilder() *Builder

NewBuilder creates and returns a new Builder instance.

func (*Builder) Consume

func (b *Builder) Consume(ev *nout.ResultEvent)

Consume processes a single Nuclei result event and updates the report accordingly. It handles probe information, target bucketing, and attempt tracking.

func (*Builder) Final

func (b *Builder) Final() []*nuclei.NucleiTargetInfo

Final returns the fully-populated Fern report. It should be called after all ResultEvents have been consumed.

func (*Builder) PopulateProbes

func (b *Builder) PopulateProbes(eng *nucleilib.NucleiEngine) error

PopulateProbes loads all templates from the Nuclei engine and populates the probe information. It extracts payloads and expected matchers from each template.

Jump to

Keyboard shortcuts

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