exploits

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2021 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCVE20213560Exploit added in v0.0.4

func NewCVE20213560Exploit() *cve20213560Exploit

func NewGTFOBinsExploit

func NewGTFOBinsExploit(binaryName string, inputs []string, args []string, envs []string, tmpFileContent string) *gtfobinsExploit

func NewWritableDockerSocketExploit

func NewWritableDockerSocketExploit() *writableDockerSocketExploit

Types

type Disclosure

type Disclosure interface {
	Disclose(ctx context.Context, s *state.State, l logger.Logger) error
}

type Exploit

type Exploit interface {
	Exploit(ctx context.Context, s *state.State, l logger.Logger, payload payloads.Payload) error
}

type Registration

type Registration struct {
	Name          string
	Vulnerability Vulnerability
	Speed         Speed
}

func Get

func Get(speed Speed) []Registration

type ShellDropper

type ShellDropper interface {
	Shell(ctx context.Context, s *state.State, l logger.Logger) error
}

type Speed

type Speed uint
const (
	SpeedAny Speed = iota
	SpeedSlow
	SpeedFast
)

type Vulnerability

type Vulnerability interface {
	IsVulnerable(ctx context.Context, s *state.State, l logger.Logger) bool
}

Jump to

Keyboard shortcuts

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