Documentation ¶
Index ¶
- Variables
- func AddLootAPIKey(rpc rpcpb.SliverRPCClient, name string, apiKey string) error
- func AddLootFile(rpc rpcpb.SliverRPCClient, name string, fileName string, data []byte, ...) error
- func AddLootUserPassword(rpc rpcpb.SliverRPCClient, name string, user string, password string) error
- func LootAddCredentialCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func LootAddLocalCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func LootAddRemoteCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func LootCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func LootFetchCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func LootRenameCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func LootRmCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func PrintAllCredentialLootTable(stdout io.Writer, allLoot *clientpb.AllLoot)
- func PrintAllFileLootTable(stdout io.Writer, allLoot *clientpb.AllLoot)
- func PrintAllLootTable(stdout io.Writer, allLoot *clientpb.AllLoot)
- func PrintLootCredential(stdout io.Writer, loot *clientpb.Loot)
- func PrintLootFile(stdout io.Writer, loot *clientpb.Loot)
- func SelectCredentials(con *console.SliverConsoleClient) (*clientpb.Loot, error)
- func SelectLoot(ctx *grumble.Context, rpc rpcpb.SliverRPCClient) (*clientpb.Loot, error)
Constants ¶
This section is empty.
Variables ¶
var ( // ErrInvalidFileType - Invalid file type ErrInvalidFileType = errors.New("invalid file type") // ErrInvalidLootType - Invalid loot type ErrInvalidLootType = errors.New("invalid loot type") // ErrNoLootFileData - No loot file data ErrNoLootFileData = errors.New("no loot file data") )
Functions ¶
func AddLootAPIKey ¶
func AddLootAPIKey(rpc rpcpb.SliverRPCClient, name string, apiKey string) error
AddLootAPIKey - Add a api key as loot
func AddLootFile ¶
func AddLootFile(rpc rpcpb.SliverRPCClient, name string, fileName string, data []byte, isCredential bool) error
AddLootFile - Add a file as loot
func AddLootUserPassword ¶
func AddLootUserPassword(rpc rpcpb.SliverRPCClient, name string, user string, password string) error
AddLootUserPassword - Add user/password as loot
func LootAddCredentialCmd ¶
func LootAddCredentialCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
LootAddCredentialCmd - Add a credential type loot
func LootAddLocalCmd ¶
func LootAddLocalCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
LootAddLocalCmd - Add a local file to the server as loot
func LootAddRemoteCmd ¶
func LootAddRemoteCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
LootAddRemoteCmd - Add a file from the remote system to the server as loot
func LootCmd ¶
func LootCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
--- Loot Command ---
func LootFetchCmd ¶
func LootFetchCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
LootFetchCmd - Display the contents of or download a piece of loot
func LootRenameCmd ¶
func LootRenameCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
LootRenameCmd - Rename a piece of loot
func PrintAllCredentialLootTable ¶
PrintAllCredentialLootTable - Displays a table of all credential loot
func PrintAllFileLootTable ¶
PrintAllFileLootTable - Displays a table of all file loot
func PrintAllLootTable ¶
PrintAllLootTable - Displays a table of all loot
func PrintLootFile ¶
PrintLootFile - Display the contents of a piece of loot
func SelectCredentials ¶
func SelectCredentials(con *console.SliverConsoleClient) (*clientpb.Loot, error)
SelectCredentials - An interactive menu for the user to select a piece of loot
func SelectLoot ¶
SelectLoot - Interactive menu for the user to select a piece loot (all types)
Types ¶
This section is empty.