Documentation ¶
Index ¶
- Constants
- func Commands(con *console.SliverClient) []*cobra.Command
- func CredsAddCmd(cmd *cobra.Command, con *console.SliverClient, args []string)
- func CredsAddHashFileCmd(cmd *cobra.Command, con *console.SliverClient, args []string)
- func CredsCmd(cmd *cobra.Command, con *console.SliverClient, args []string)
- func CredsCollectionCompleter(con *console.SliverClient) carapace.Action
- func CredsCredentialIDCompleter(con *console.SliverClient) carapace.Action
- func CredsHashFileFormatCompleter(con *console.SliverClient) carapace.Action
- func CredsHashTypeCompleter(con *console.SliverClient) carapace.Action
- func CredsRmCmd(cmd *cobra.Command, con *console.SliverClient, args []string)
- func PrintCreds(creds []*clientpb.Credential, con *console.SliverClient)
- func SelectCredential(plaintext bool, hashType clientpb.HashType, con *console.SliverClient) (*clientpb.Credential, error)
Constants ¶
View Source
const ( UserColonHashNewlineFormat = "user:hash" // username:hash\n HashNewlineFormat = "hash" // hash\n CSVFormat = "csv" // username,hash\n )
Variables ¶
This section is empty.
Functions ¶
func Commands ¶
func Commands(con *console.SliverClient) []*cobra.Command
Commands returns the “ command and its subcommands.
func CredsAddCmd ¶
func CredsAddCmd(cmd *cobra.Command, con *console.SliverClient, args []string)
CredsCmd - Add new credentials.
func CredsAddHashFileCmd ¶
func CredsAddHashFileCmd(cmd *cobra.Command, con *console.SliverClient, args []string)
CredsCmd - Add new credentials.
func CredsCmd ¶
func CredsCmd(cmd *cobra.Command, con *console.SliverClient, args []string)
CredsCmd - Manage credentials.
func CredsCollectionCompleter ¶
func CredsCollectionCompleter(con *console.SliverClient) carapace.Action
CredsCollectionCompleter completes existing creds collection names.
func CredsCredentialIDCompleter ¶
func CredsCredentialIDCompleter(con *console.SliverClient) carapace.Action
CredsCredentialIDCompleter completes credential IDs.
func CredsHashFileFormatCompleter ¶
func CredsHashFileFormatCompleter(con *console.SliverClient) carapace.Action
CredsHashFileFormatCompleter completes file formats for hash-files.
func CredsHashTypeCompleter ¶
func CredsHashTypeCompleter(con *console.SliverClient) carapace.Action
CredsHashTypeCompleter completes hash types.
func CredsRmCmd ¶
func CredsRmCmd(cmd *cobra.Command, con *console.SliverClient, args []string)
CredsCmd - Add new credentials.
func PrintCreds ¶
func PrintCreds(creds []*clientpb.Credential, con *console.SliverClient)
func SelectCredential ¶
func SelectCredential(plaintext bool, hashType clientpb.HashType, con *console.SliverClient) (*clientpb.Credential, error)
SelectCredential - Interactive menu for the user to select a credentials from the database.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.