config

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AllowedCommands = []string{
		"nmap", "dirb", "feroxbuster", "whatweb", "nikto", "enum4linux",
	}
)

Functions

This section is empty.

Types

type Config

type Config struct {
	PortRange    string `env:"PORT_RANGE"`
	OutputFormat string `env:"OUTPUT_FORMAT"`
	OutputFile   string `env:"OUTPUT_FILE"`
	Debug        bool   `env:"DEBUG"`
	Threads      int    `env:"THREADS"`
}

func GetConfig

func GetConfig() (Config, error)

Jump to

Keyboard shortcuts

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