library

package
v0.0.0-...-0b6db94 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Behavior

type Behavior struct {
	OutboundConnections []Connection    `json:"connections"`
	DNSLookups          []DNSLookup     `json:"dns"`
	FileOperations      []FileOperation `json:"files"`
	Commands            []string        `json:"commands"`
}

type Connection

type Connection struct {
	Protocol  string `json:"protocol"`
	IPAddress string `json:"address"`
	Port      string `json:"port"`
}

type DNSLookup

type DNSLookup struct {
	Name        string   `json:"name"`
	IPAddresses []string `json:"addresses"`
}

type FileOperation

type FileOperation struct {
	Operation string `json:"mode"`
	Filename  string `json:"filename"`
	Flag      string `json:"flag"`
}

type Output

type Output struct {
	Files    []string  `json:"files"`
	Package  Package   `json:"package"`
	Behavior *Behavior `json:"results"`
}

type Package

type Package struct {
	Name    string `json:"name,omitempty"`
	Version string `json:"version,omitempty"`
	Type    string `json:"type,omitempty"`
}

func (Package) ID

func (p Package) ID() string

Jump to

Keyboard shortcuts

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