Help us shape the future of Go! Take the 2026 Go Developer Survey

exec

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Commands

func Commands(con *repl.Console) []*cobra.Command

func ExecAssembly added in v0.0.2

func ExecAssembly(rpc clientrpc.MaliceRPCClient, sess *core.Session, path string, args []string, output, amsi, etw bool) (*clientpb.Task, error)

func ExecBof added in v0.0.2

func ExecBof(rpc clientrpc.MaliceRPCClient, sess *core.Session, bofPath string, args []string, output bool) (*clientpb.Task, error)

func ExecDLL added in v0.0.2

func ExecDLL(rpc clientrpc.MaliceRPCClient, sess *core.Session, dllPath string, entrypoint string, args []string, binPath string, output bool, timeout uint32, arch string, process string, sac *implantpb.SacrificeProcess) (*clientpb.Task, error)

func ExecExe added in v0.0.2

func ExecExe(rpc clientrpc.MaliceRPCClient, sess *core.Session, pePath string,
	args []string, output bool, timeout uint32, arch string,
	process string, sac *implantpb.SacrificeProcess) (*clientpb.Task, error)

func ExecLocal added in v0.0.3

func ExecLocal(rpc clientrpc.MaliceRPCClient, sess *core.Session,
	args []string, output bool, process string, sac *implantpb.SacrificeProcess) (*clientpb.Task, error)

func ExecShellcode added in v0.0.2

func ExecShellcode(rpc clientrpc.MaliceRPCClient, sess *core.Session, shellcodePath string,
	args []string, output bool, timeout uint32, arch string, process string,
	sac *implantpb.SacrificeProcess) (*clientpb.Task, error)

func Execute added in v0.0.2

func Execute(rpc clientrpc.MaliceRPCClient, sess *core.Session, cmd string, output bool) (*clientpb.Task, error)

func ExecuteAssemblyCmd

func ExecuteAssemblyCmd(cmd *cobra.Command, con *repl.Console) error

func ExecuteBofCmd

func ExecuteBofCmd(cmd *cobra.Command, con *repl.Console) error

func ExecuteCmd

func ExecuteCmd(cmd *cobra.Command, con *repl.Console) error

func ExecuteDLLCmd

func ExecuteDLLCmd(cmd *cobra.Command, con *repl.Console) error

func ExecuteExeCmd added in v0.0.2

func ExecuteExeCmd(cmd *cobra.Command, con *repl.Console) error

ExecuteExeCmd - Execute PE on sacrifice process

func ExecuteLocalCmd added in v0.0.3

func ExecuteLocalCmd(cmd *cobra.Command, con *repl.Console) error

ExecuteLocalCmd - Execute local PE on sacrifice process

func ExecutePowershellCmd

func ExecutePowershellCmd(cmd *cobra.Command, con *repl.Console) error

func ExecuteShellcodeCmd

func ExecuteShellcodeCmd(cmd *cobra.Command, con *repl.Console) error

ExecuteShellcodeCmd - Execute shellcode in-memory

func InlineDLL added in v0.0.2

func InlineDLL(rpc clientrpc.MaliceRPCClient, sess *core.Session, path, entryPoint string, args []string,
	output bool, timeout uint32, arch string, process string) (*clientpb.Task, error)

func InlineDLLCmd

func InlineDLLCmd(cmd *cobra.Command, con *repl.Console) error

func InlineExe added in v0.0.2

func InlineExe(rpc clientrpc.MaliceRPCClient, sess *core.Session, path string, args []string,
	output bool, timeout uint32, arch string, process string) (*clientpb.Task, error)

func InlineExeCmd added in v0.0.2

func InlineExeCmd(cmd *cobra.Command, con *repl.Console) error

InlineExeCmd - Execute PE in current process

func InlineShellcode added in v0.0.2

func InlineShellcode(rpc clientrpc.MaliceRPCClient, sess *core.Session, path string, args []string,
	output bool, timeout uint32, arch string, process string) (*clientpb.Task, error)

func InlineShellcodeCmd

func InlineShellcodeCmd(cmd *cobra.Command, con *repl.Console) error

func PowerPick added in v0.0.3

func PowerPick(rpc clientrpc.MaliceRPCClient, sess *core.Session, path string, ps []string, amsi, etw bool) (*clientpb.Task, error)

func Powershell added in v0.0.3

func Powershell(rpc clientrpc.MaliceRPCClient, sess *core.Session, cmd string, output bool) (*clientpb.Task, error)

func PowershellCmd added in v0.0.3

func PowershellCmd(cmd *cobra.Command, con *repl.Console) error

func Register added in v0.0.2

func Register(con *repl.Console)

func RegisterAssemblyFunc added in v0.0.3

func RegisterAssemblyFunc(con *repl.Console)

func RegisterBofFunc added in v0.0.3

func RegisterBofFunc(con *repl.Console)

func RegisterDLLFunc added in v0.0.3

func RegisterDLLFunc(con *repl.Console)

func RegisterExeFunc added in v0.0.3

func RegisterExeFunc(con *repl.Console)

func RegisterExecuteFunc added in v0.0.3

func RegisterExecuteFunc(con *repl.Console)

func RegisterExecuteLocalFunc added in v0.0.3

func RegisterExecuteLocalFunc(con *repl.Console)

func RegisterPowershellFunc added in v0.0.3

func RegisterPowershellFunc(con *repl.Console)

func RegisterShellFunc added in v0.0.3

func RegisterShellFunc(con *repl.Console)

func RegisterShellcodeFunc added in v0.0.3

func RegisterShellcodeFunc(con *repl.Console)

func Shell added in v0.0.3

func Shell(rpc clientrpc.MaliceRPCClient, sess *core.Session, cmd string, output bool) (*clientpb.Task, error)

func ShellCmd added in v0.0.3

func ShellCmd(cmd *cobra.Command, con *repl.Console) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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