exec

package
v1.5.10 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2022 License: GPL-3.0 Imports: 25 Imported by: 2

README

Exec

Implements execution related commands like execute, execute-shellcode, execute-assembly, etc.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteAssemblyCmd

func ExecuteAssemblyCmd(ctx *grumble.Context, con *console.SliverConsoleClient)

ExecuteAssemblyCmd - Execute a .NET assembly in-memory

func ExecuteCmd

func ExecuteCmd(ctx *grumble.Context, con *console.SliverConsoleClient)

ExecuteCmd - Run a command on the remote system

func ExecuteShellcodeCmd

func ExecuteShellcodeCmd(ctx *grumble.Context, con *console.SliverConsoleClient)

ExecuteShellcodeCmd - Execute shellcode in-memory

func MigrateCmd

func MigrateCmd(ctx *grumble.Context, con *console.SliverConsoleClient)

MigrateCmd - Windows only, inject an implant into another process

func MsfCmd

func MsfCmd(ctx *grumble.Context, con *console.SliverConsoleClient)

MsfCmd - Inject a metasploit payload into the current remote process

func MsfInjectCmd

func MsfInjectCmd(ctx *grumble.Context, con *console.SliverConsoleClient)

MsfInjectCmd - Inject a metasploit payload into a remote process

func PrintExecute added in v1.5.0

func PrintExecute(exec *sliverpb.Execute, ctx *grumble.Context, con *console.SliverConsoleClient)

PrintExecute - Print the output of an executed command

func PrintExecuteAssembly added in v1.5.0

func PrintExecuteAssembly(execAssembly *sliverpb.ExecuteAssembly, hostname string,
	assemblyPath string, ctx *grumble.Context, con *console.SliverConsoleClient)

PrintExecuteAssembly - Print the results of an assembly execution

func PrintExecuteShellcode added in v1.5.0

func PrintExecuteShellcode(task *sliverpb.Task, con *console.SliverConsoleClient)

PrintExecuteShellcode - Display result of shellcode execution

func PrintMsfRemote added in v1.5.0

func PrintMsfRemote(msfRemote *sliverpb.Task, con *console.SliverConsoleClient)

PrintMsfRemote - Print the results of the remote injection attempt

func PrintSSHCmd added in v1.5.0

func PrintSSHCmd(sshCmd *sliverpb.SSHCommand, con *console.SliverConsoleClient)

PrintSSHCmd - Print the ssh command response

func PrintSideload added in v1.5.0

func PrintSideload(sideload *sliverpb.Sideload, hostname string, ctx *grumble.Context, con *console.SliverConsoleClient)

PrintSideload - Print the sideload command output

func PrintSpawnDll added in v1.5.0

func PrintSpawnDll(spawndll *sliverpb.SpawnDll, hostname string, ctx *grumble.Context, con *console.SliverConsoleClient)

PrintSpawnDll - Print the SpawnDll command response

func PsExecCmd

func PsExecCmd(ctx *grumble.Context, con *console.SliverConsoleClient)

PsExecCmd - psexec command implementation.

func SSHCmd

func SSHCmd(ctx *grumble.Context, con *console.SliverConsoleClient)

SSHCmd - A built-in SSH client command for the remote system (doesn't shell out)

func SideloadCmd

func SideloadCmd(ctx *grumble.Context, con *console.SliverConsoleClient)

SideloadCmd - Sideload a shared library on the remote system

func SpawnDllCmd

func SpawnDllCmd(ctx *grumble.Context, con *console.SliverConsoleClient)

SpawnDllCmd - Spawn execution of a DLL on the remote system

Types

This section is empty.

Jump to

Keyboard shortcuts

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