payload

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2019 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package payload interface

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JavaDeserialization

type JavaDeserialization struct {
	// contains filtered or unexported fields
}

JavaDeserialization Payload object

func NewJavaDeserialization

func NewJavaDeserialization() JavaDeserialization

NewJavaDeserialization create a new java deserialization payload

func (JavaDeserialization) Description

func (o JavaDeserialization) Description() string

Description one-liner description for the vulnerability

func (JavaDeserialization) Input

func (o JavaDeserialization) Input() [][]byte

Input get the payload input

func (JavaDeserialization) Output

func (o JavaDeserialization) Output() []byte

Output get the expected output of a vulnerable target

type ObjectInjection

type ObjectInjection struct {
	// contains filtered or unexported fields
}

ObjectInjection object

func NewObjectInjection

func NewObjectInjection() ObjectInjection

NewObjectInjection create a new object injection payload

func (ObjectInjection) Description

func (o ObjectInjection) Description() string

Description one-liner description for the vulnerability

func (ObjectInjection) Input

func (o ObjectInjection) Input() [][]byte

Input get the payload input

func (ObjectInjection) Output

func (o ObjectInjection) Output() []byte

Output get the expected output of a vulnerable target

type Payload

type Payload interface {
	Input() [][]byte
	Output() []byte
	Description() string
}

Payload interface

type Payloads

type Payloads []Payload

Payloads slice contain payload objects

Jump to

Keyboard shortcuts

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