config

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 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, default=1-65535"`
	OutputFormat string `env:"OUTPUT_FORMAT, default=json"`
	OutputFile   string `env:"OUTPUT_FILE, default=recon.json"`
	Debug        bool   `env:"DEBUG, default=false"`
	Threads      int    `env:"THREADS, default=10"`
	Plugins      Plugins
	Initialized  bool
}

func GetConfig

func GetConfig() (Config, error)

type Plugins added in v0.0.3

type Plugins struct {
	PortScans    []string `env:"PORT_SCANS, delimiter=;"`
	ServiceScans []string `env:"SERVICE_SCANS, delimiter=;"`
}

Jump to

Keyboard shortcuts

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