nuclei

package
v0.0.151 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2026 License: Apache-2.0 Imports: 9 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, protocol string) ([]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

protocol filters templates to only those whose info.metadata.protocol matches the given application protocol (e.g., "FTP", "SSH", "HTTP"). Pass an empty string to disable filtering.

Types

This section is empty.

Jump to

Keyboard shortcuts

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