runner

package
v3.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: MIT Imports: 87 Imported by: 0

Documentation

Overview

Package runner executes the enumeration process.

Index

Constants

View Source
const (
	// Default directory used to save protocols traffic
	DefaultDumpTrafficOutputFolder = "output"
)

Variables

This section is empty.

Functions

func ConfigureOptions

func ConfigureOptions() error

func DoHealthCheck

func DoHealthCheck(options *types.Options) string

DoHealthCheck performs self-diagnostic checks

func NucleiToolUpdateCallback

func NucleiToolUpdateCallback()

NucleiToolUpdateCallback updates nuclei binary/tool to latest version

func ParseOptions

func ParseOptions(options *types.Options)

ParseOptions parses the command line flags provided by a user

func ValidateOptions

func ValidateOptions(options *types.Options) error

validateOptions validates the configuration options passed

func Walk

func Walk(s interface{}, callback WalkFunc)

Walk traverses a struct and executes a callback function on each value in the struct. The interface{} passed to the function should be a pointer to a struct or a struct. WalkFunc is the callback function used for each value in the struct. It is passed the reflect.Value and reflect.Type properties of the value in the struct.

Types

type Runner

type Runner struct {
	// contains filtered or unexported fields
}

Runner is a client for running the enumeration process.

func New

func New(options *types.Options) (*Runner, error)

New creates a new client for running the enumeration process.

func (*Runner) Close

func (r *Runner) Close()

Close releases all the resources and cleans up

func (*Runner) RunEnumeration

func (r *Runner) RunEnumeration() error

RunEnumeration sets up the input layer for giving input nuclei. binary and runs the actual enumeration

func (*Runner) SaveResumeConfig

func (r *Runner) SaveResumeConfig(path string) error

SaveResumeConfig to file

type WalkFunc

type WalkFunc func(reflect.Value, reflect.StructField)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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