types

package
v0.0.0-...-1b13ffb Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllTags = []Tag{
	Generic, HTML, JavaScript, JsExt,
}
View Source
var AllTagsAndWorkflows = append(append([]Tag{}, AllTags...), AllWorkflows...)
View Source
var AllWorkflows = []Tag{
	Django, GLPI,
	PHPBB,
	Subrion, Umbraco,
	WordPress,
}

Functions

This section is empty.

Types

type Options

type Options struct {
	// InputFile openapi input file
	InputFile string
	// NucleiTemplateDir path with nuclei templates to use
	NucleiTemplateDir string
	// NucleiConfig path with nuclei configuration to use
	NucleiConfig string
	// NucleiTags allowed tags. All tags are allowed if empty.
	NucleiTags goflags.StringSlice
	// NucleiWorkflows allowed workflows. All workflows are allowed if empty.
	NucleiWorkflows goflags.StringSlice
	// ProxyHost proxy to use for requests
	ProxyHost string
	// Silent shows only output
	Silent bool
	// Verbose specifies showing verbose output
	Verbose bool
	// Debug
	Debug bool
	// DebugDirPath
	DebugDirPath string
	// Version enables showing of tool version
	Version bool
}

func (*Options) ConfigureOutput

func (options *Options) ConfigureOutput()

ConfigureOutput configures the output logging levels to be displayed on the screen

func (*Options) IsTagAllowed

func (options *Options) IsTagAllowed(tag Tag) bool

type Tag

type Tag string
const (
	Generic    Tag = "generic"
	HTML       Tag = "html"
	JavaScript Tag = "javascript"

	JsExt Tag = "jsext"

	Django    Tag = "django"
	GLPI      Tag = "glpi"
	PHPBB     Tag = "phpbb"
	Subrion   Tag = "subrion"
	Umbraco   Tag = "umbraco"
	WordPress Tag = "wordpress"
)

func (Tag) IsWorkflow

func (t Tag) IsWorkflow() bool

Jump to

Keyboard shortcuts

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