nuclei

package
v0.0.141 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var All embed.FS

All is the CVE templates

Functions

func GetTemplateFileSystem

func GetTemplateFileSystem(ctx context.Context, templatePaths []string, targetPorts []int) ([]fs.FS, error)

GetTemplateFileSystem returns filesystem views for templates based on the provided template paths. templatePaths can contain either: - Complete paths to template files (e.g., "cve/2024/CVE-2024-13624.yaml") - Folder paths (e.g., "cve/2024" or "cve") - will collect all .yaml/.yml files recursively from that folder

targetPorts filters templates to only those whose target-port metadata matches at least one of the given ports. Pass nil or an empty slice to disable port filtering.

Types

This section is empty.

Jump to

Keyboard shortcuts

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