ingestor

package
v0.0.0-...-988e507 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeployCradleGadgetPayload

func DeployCradleGadgetPayload(templatePayload Payload) string

func GenerateUniquePayloadId

func GenerateUniquePayloadId() string

func LoadResources

func LoadResources(jsonURIprotocols, jsonPayloads string) (UriList, Payloads)

Types

type Payload

type Payload struct {
	PayloadName string `json:"payload_name"`
	PayloadData string `json:"payload_template"`
	UniqueId    string //for make agent know which URL to fetch
}

func (*Payload) GetPayloadParams

func (payload *Payload) GetPayloadParams() []string

func (*Payload) SetPayloadParams

func (payload *Payload) SetPayloadParams(paramsToFill, paramsFilled []string)

type Payloads

type Payloads struct {
	Payloads []Payload `json:"payloads"`
}

func GetAvailablePayloads

func GetAvailablePayloads(jsonPayloads []byte) Payloads

type UriEntry

type UriEntry struct {
	UriProtocol string `json:"URI_Protocol"`
}

type UriList

type UriList struct {
	UriList []UriEntry `json:"URI_Protocols"`
}

func GetURIs

func GetURIs(configFile []byte) UriList

returns the struct with info for the URI schemes to provide to the Backoori Powershell Agent

Jump to

Keyboard shortcuts

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