config

package
v0.0.0-...-03df7be Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2022 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config []Endpoint

Config represents a slice of many Endpoint structures, each representing a host and associated attack parameters.

type Endpoint

type Endpoint struct {
	URL      string `yaml:"url"`
	Database string `yaml:"database"`
	Table    string `yaml:"table"`
	Column   string `yaml:"column"`
	Threads  int    `yaml:"threads"`
	Retrieve `yaml:"retrieve"`
}

Endpoint is the principal struct in which we embed other structs for a given host's configuration

type Retrieve

type Retrieve struct {
	Banner          bool `yaml:"banner"`
	CurrentUser     bool `yaml:"current_user"`
	CurrentDatabase bool `yaml:"current_database"`
	Everything      bool `yaml:"everything"`
}

Retrieve struct to organize what to retrieve

Jump to

Keyboard shortcuts

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