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

exec

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2025 License: Apache-2.0 Imports: 23 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 ExecBof added in v0.0.2

func ExecBof(rpc clientrpc.MaliceRPCClient, sess *core.Session, bofPath string, args []string, out 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, out 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, out 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, out 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, realtime, output bool) (*clientpb.Task, error)

func ExecuteAssembly added in v0.1.0

func ExecuteAssembly(rpc clientrpc.MaliceRPCClient, sess *core.Session, path string, args []string, out bool, param map[string]string, sac *implantpb.SacrificeProcess) (*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 ExecuteDLLSpawn added in v0.1.0

func ExecuteDLLSpawn(rpc clientrpc.MaliceRPCClient, sess *core.Session, dllPath string, entrypoint string, data string, binPath string, out bool, timeout uint32, arch string, process string, sac *implantpb.SacrificeProcess) (*clientpb.Task, error)

func ExecuteDLLSpawnCmd added in v0.1.0

func ExecuteDLLSpawnCmd(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 InlineAssembly added in v0.1.0

func InlineAssembly(rpc clientrpc.MaliceRPCClient, sess *core.Session, path string, args []string, out bool, param map[string]string) (*clientpb.Task, error)

func InlineAssemblyCmd added in v0.1.0

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

func InlineDLL added in v0.0.2

func InlineDLL(rpc clientrpc.MaliceRPCClient, sess *core.Session, path, entryPoint string, args []string,
	out 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,
	out 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 InlineLocal added in v0.1.0

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

func InlineLocalCmd added in v0.1.0

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

func InlineShellcode added in v0.0.2

func InlineShellcode(rpc clientrpc.MaliceRPCClient, sess *core.Session, path string, args []string,
	out 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, param map[string]string) (*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 RegisterDLLSpawnFunc added in v0.1.0

func RegisterDLLSpawnFunc(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 RegisterShellcodeFunc added in v0.0.3

func RegisterShellcodeFunc(con *repl.Console)

func RunCmd added in v0.1.1

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

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