nuclei

package
v0.0.0-...-d1533f9 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewScanner

func NewScanner(cfg NucleiConfig, logger interface {
	Info(msg string, keysAndValues ...interface{})
	Error(msg string, keysAndValues ...interface{})
	Debug(msg string, keysAndValues ...interface{})
}) core.Scanner

Types

type NucleiConfig

type NucleiConfig struct {
	BinaryPath      string
	TemplatesPath   string
	CustomTemplates string
	Timeout         time.Duration
	RateLimit       int
	BulkSize        int
	Concurrency     int
	Retries         int
}

type NucleiInfo

type NucleiInfo struct {
	Name        string                 `json:"name"`
	Author      []string               `json:"author"`
	Tags        []string               `json:"tags"`
	Description string                 `json:"description"`
	Reference   []string               `json:"reference,omitempty"`
	Severity    string                 `json:"severity"`
	Metadata    map[string]interface{} `json:"metadata,omitempty"`
}

type NucleiOutput

type NucleiOutput struct {
	TemplateID       string      `json:"template-id"`
	TemplatePath     string      `json:"template-path"`
	Info             NucleiInfo  `json:"info"`
	Type             string      `json:"type"`
	Host             string      `json:"host"`
	Matched          string      `json:"matched-at"`
	ExtractedResults []string    `json:"extracted-results,omitempty"`
	Meta             interface{} `json:"meta,omitempty"`
	Timestamp        string      `json:"timestamp"`
	MatcherStatus    bool        `json:"matcher-status"`
	CurlCommand      string      `json:"curl-command,omitempty"`
}

Jump to

Keyboard shortcuts

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