Documentation
¶
Index ¶
- func Commands(con *repl.Console) []*cobra.Command
- func GetSystem(rpc clientrpc.MaliceRPCClient, session *core.Session) (*clientpb.Task, error)
- func GetSystemCmd(cmd *cobra.Command, con *repl.Console) error
- func Privs(rpc clientrpc.MaliceRPCClient, session *core.Session) (*clientpb.Task, error)
- func PrivsCmd(cmd *cobra.Command, con *repl.Console) error
- func Register(con *repl.Console)
- func RegisterGetSystemFunc(con *repl.Console)
- func RegisterPrivsFunc(con *repl.Console)
- func RegisterRev2selfFunc(con *repl.Console)
- func RegisterRunasFunc(con *repl.Console)
- func Rev2self(rpc clientrpc.MaliceRPCClient, session *core.Session) (*clientpb.Task, error)
- func Rev2selfCmd(cmd *cobra.Command, con *repl.Console) error
- func Runas(rpc clientrpc.MaliceRPCClient, session *core.Session, ...) (*clientpb.Task, error)
- func RunasCmd(cmd *cobra.Command, con *repl.Console) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSystemCmd ¶
GetSystemCmd attempts to elevate privileges.
func RegisterGetSystemFunc ¶
func RegisterPrivsFunc ¶
func RegisterRev2selfFunc ¶ added in v0.1.1
func RegisterRunasFunc ¶
func Rev2selfCmd ¶ added in v0.1.1
Rev2selfCmd reverts to the original token.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.