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 RegisterRunasFunc(con *repl.Console)
- 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 RegisterRunasFunc ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.