cmd

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds child commands to the root command and sets flags appropriately.

func Wait

func Wait(near float64) time.Duration

Wait is used to wait for a period of time.

Types

type Caldera

type Caldera struct {
	Creds    Credentials
	Driver   ChromeDP
	HomeURL  string
	RepoPath string
	URL      string
	Payload  string
}

Caldera contains parameters associated with MITRE CALDERA.

type ChromeDP

type ChromeDP struct {
	Context  context.Context
	Options  *[]chromedp.ExecAllocatorOption
	Headless bool
}

ChromeDP contains parameters associated with running ChromeDP.

type Credentials

type Credentials struct {
	User string
	Pass string
}

Credentials contains the credentials to access CALDERA.

type Payload

type Payload struct {
	Name               string `json:"name"`
	AutoClose          bool   `json:"auto_close"`
	State              string `json:"state"`
	Autonomous         int    `json:"autonomous"`
	UseLearningParsers bool   `json:"use_learning_parsers"`
	Obfuscator         string `json:"obfuscator"`
	Jitter             string `json:"jitter"`
	Visibility         string `json:"visibility"`
}

Payload is used to represent the POST body associated with the source for the attack.

Jump to

Keyboard shortcuts

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