creds

package
v1.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2024 License: GPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL