Documentation
¶
Index ¶
- func Commands(con *console.SliverClient) []*cobra.Command
- func GetPrivsCmd(cmd *cobra.Command, con *console.SliverClient, args []string)
- func GetSystemCmd(cmd *cobra.Command, con *console.SliverClient, args []string)
- func ImpersonateCmd(cmd *cobra.Command, con *console.SliverClient, args []string)
- func MakeTokenCmd(cmd *cobra.Command, con *console.SliverClient, args []string)
- func PrintGetPrivs(privs *sliverpb.GetPrivs, pid int32, con *console.SliverClient)
- func PrintGetSystem(getsystemResp *sliverpb.GetSystem, con *console.SliverClient)
- func PrintImpersonate(impersonate *sliverpb.Impersonate, username string, con *console.SliverClient)
- func PrintMakeToken(makeToken *sliverpb.MakeToken, domain string, username string, ...)
- func PrintRev2Self(revert *sliverpb.RevToSelf, con *console.SliverClient)
- func PrintRunAs(runAs *sliverpb.RunAs, process string, args string, name string, ...)
- func RevToSelfCmd(cmd *cobra.Command, con *console.SliverClient, args []string)
- func RunAsCmd(cmd *cobra.Command, con *console.SliverClient, args []string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Commands ¶
func Commands(con *console.SliverClient) []*cobra.Command
Commands returns the “ command and its subcommands.
func GetPrivsCmd ¶
func GetPrivsCmd(cmd *cobra.Command, con *console.SliverClient, args []string)
GetPrivsCmd - Get the current process privileges (Windows only)
func GetSystemCmd ¶
func GetSystemCmd(cmd *cobra.Command, con *console.SliverClient, args []string)
GetSystemCmd - Windows only, attempt to get SYSTEM on the remote system
func ImpersonateCmd ¶
func ImpersonateCmd(cmd *cobra.Command, con *console.SliverClient, args []string)
ImpersonateCmd - Windows only, impersonate a user token
func MakeTokenCmd ¶
func MakeTokenCmd(cmd *cobra.Command, con *console.SliverClient, args []string)
MakeTokenCmd - Windows only, create a token using "valid" credentails
func PrintGetPrivs ¶
func PrintGetPrivs(privs *sliverpb.GetPrivs, pid int32, con *console.SliverClient)
PrintGetPrivs - Print the results of the get privs command
func PrintGetSystem ¶
func PrintGetSystem(getsystemResp *sliverpb.GetSystem, con *console.SliverClient)
PrintGetSystem - Print the results of get system
func PrintImpersonate ¶
func PrintImpersonate(impersonate *sliverpb.Impersonate, username string, con *console.SliverClient)
PrintImpersonate - Print the results of the attempted impersonation
func PrintMakeToken ¶
func PrintMakeToken(makeToken *sliverpb.MakeToken, domain string, username string, con *console.SliverClient)
PrintMakeToken - Print the results of attempting to make a token
func PrintRev2Self ¶
func PrintRev2Self(revert *sliverpb.RevToSelf, con *console.SliverClient)
PrintRev2Self - Print the result of revert to self
func PrintRunAs ¶
func PrintRunAs(runAs *sliverpb.RunAs, process string, args string, name string, con *console.SliverClient)
PrintRunAs - Print the result of run as
func RevToSelfCmd ¶
func RevToSelfCmd(cmd *cobra.Command, con *console.SliverClient, args []string)
RevToSelfCmd - Drop any impersonated tokens
Types ¶
This section is empty.