exploits

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2022 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGTFOBinsExploit

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

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
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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