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 ¶
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.