exec

package
v1.5.38 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 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 HandleExecuteAssemblyResponse added in v1.5.13

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

func HandleExecuteResponse added in v1.5.13

func HandleExecuteResponse(exec *sliverpb.Execute, cmdPath string, hostName string, ctx *grumble.Context, con *console.SliverConsoleClient)

func HandleSideloadResponse added in v1.5.13

func HandleSideloadResponse(sideload *sliverpb.Sideload, binPath string, hostName string, ctx *grumble.Context, con *console.SliverConsoleClient)

func HandleSpawnDLLResponse added in v1.5.13

func HandleSpawnDLLResponse(spawndll *sliverpb.SpawnDll, binPath string, hostName string, ctx *grumble.Context, con *console.SliverConsoleClient)

func LootExecute added in v1.5.13

func LootExecute(commandOutput []byte, lootName string, sliverCmdName string, cmdName string, hostName string, con *console.SliverConsoleClient)

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 PrintExecuteShellcode added in v1.5.0

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

PrintExecuteShellcode - Display result of shellcode execution

func PrintExecutionOutput added in v1.5.13

func PrintExecutionOutput(executionOutput string, saveOutput bool, commandName string, hostName string, con *console.SliverConsoleClient)

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 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 SaveExecutionOutput added in v1.5.13

func SaveExecutionOutput(executionOutput string, commandName string, hostName string, con *console.SliverConsoleClient)

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