core

package
v0.0.0-...-8bda700 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2021 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

View Source
const (
	CRIME    = 1
	BREACH   = 2
	TIME     = 3
	XSSEARCH = 4
	XSTIME   = 5
	FIESTA   = 6
	DUMMY    = 7
)
View Source
const (
	IMG    = LoadTechnique(0)
	IFRAME = LoadTechnique(1)
	OPEN   = LoadTechnique(2)
	TAB    = LoadTechnique(3)
)

Three techniques are supported: img, iframe and open

Variables

View Source
var Attacks = AttacksBatch{

	{XSSEARCH, "xssearch", "XSSEARCH"},

	{FIESTA, "fiesta", "FIESTA"},
}

Functions

func ListLoadTechniques

func ListLoadTechniques() []string

ListLoadTechniques function returns all the possible values for Load Techniques

Types

type AttackInfo

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

func (AttackInfo) Cmd

func (a AttackInfo) Cmd() string

func (AttackInfo) String

func (a AttackInfo) String() string

type AttacksBatch

type AttacksBatch []AttackInfo

func (AttacksBatch) DumpCmd

func (a AttacksBatch) DumpCmd() []string

type Core

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

Core type is ...

func (*Core) Break

func (c *Core) Break()

Break function stop the execution of Exploit function

func (*Core) Exploit

func (c *Core) Exploit() (chan string, chan string, chan string, chan error)

Exploit function...

func (*Core) Options

func (c *Core) Options() []optionType

Options function...

func (*Core) SetAttack

func (c *Core) SetAttack(a string)

SetAttack function...

func (*Core) SetOption

func (c *Core) SetOption(option, value string)

SetOption function...

func (*Core) UnsetOption

func (c *Core) UnsetOption(option string)

UnsetOption function...

type LoadTechnique

type LoadTechnique uint8

LoadTechnique is the technique used to load a guess

func StringToLoad

func StringToLoad(s string) (LoadTechnique, error)

StringToLoad function convert a string to the apropiate number

func (LoadTechnique) String

func (l LoadTechnique) String() string

Jump to

Keyboard shortcuts

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