privilege

package
v1.5.12 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2022 License: GPL-3.0 Imports: 8 Imported by: 2

README

Privilege

Commands related to manipulation of operating system privileges, such as Windows Tokens.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPrivsCmd added in v1.4.21

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

GetPrivsCmd - Get the current process privileges (Windows only)

func GetSystemCmd

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

GetSystemCmd - Windows only, attempt to get SYSTEM on the remote system

func ImpersonateCmd

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

ImpersonateCmd - Windows only, impersonate a user token

func MakeTokenCmd

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

MakeTokenCmd - Windows only, create a token using "valid" credentails

func PrintGetPrivs added in v1.5.0

func PrintGetPrivs(privs *sliverpb.GetPrivs, pid int32, con *console.SliverConsoleClient)

PrintGetPrivs - Print the results of the get privs command

func PrintGetSystem added in v1.5.0

func PrintGetSystem(getsystemResp *sliverpb.GetSystem, con *console.SliverConsoleClient)

PrintGetSystem - Print the results of get system

func PrintImpersonate added in v1.5.0

func PrintImpersonate(impersonate *sliverpb.Impersonate, username string, con *console.SliverConsoleClient)

PrintImpersonate - Print the results of the attempted impersonation

func PrintMakeToken added in v1.5.0

func PrintMakeToken(makeToken *sliverpb.MakeToken, domain string, username string, con *console.SliverConsoleClient)

PrintMakeToken - Print the results of attempting to make a token

func PrintRev2Self added in v1.5.0

func PrintRev2Self(revert *sliverpb.RevToSelf, con *console.SliverConsoleClient)

PrintRev2Self - Print the result of revert to self

func PrintRunAs added in v1.5.0

func PrintRunAs(runAs *sliverpb.RunAs, process string, args string, name string, con *console.SliverConsoleClient)

PrintRunAs - Print the result of run as

func RevToSelfCmd

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

RevToSelfCmd - Drop any impersonated tokens

func RunAsCmd

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

RunAsCmd - Run a command as another user 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