Generated from Manticore v1.1.5 • 201 packages. View on pkg.go.dev

dcc

import "github.com/TheManticoreProject/Manticore/crypto/dcc"

Index

func DCCHashFromNTHash

func DCCHashFromNTHash(ntHash [16]byte, username string) [16]byte

DCCHashFromNTHash computes the DCC hash from the given NT hash and username

Parameters:

  • ntHash: The NT hash
  • username: The username

Returns:

  • The DCC hash

func DCCHashFromNTHashToHashcatString

func DCCHashFromNTHashToHashcatString(ntHash [16]byte, username string) string

DCCHashFromNTHashToHashcatString computes the DCC hash from the given NT hash and username

Returns:

  • The DCC hash as a hashcat string

func DCCHashFromNTHashToHex

func DCCHashFromNTHashToHex(ntHash [16]byte, username string) string

DCCHashFromNTHashToHex computes the DCC hash of a password string

Returns:

  • The DCC hash as a hexadecimal string

func DCCHashFromPassword

func DCCHashFromPassword(password string, username string) [16]byte

DCCHashFromPassword computes the Domain Cached Credentials hash from the given password and username

Parameters:

  • password: The password
  • username: The username

Returns:

  • The DCC hash

func DCCHashFromPasswordToHashcatString

func DCCHashFromPasswordToHashcatString(password string, username string) string

DCCHashFromPasswordToHashcatString computes the DCC hash of a password string

Returns:

  • The DCC hash as a hashcat string

func DCCHashFromPasswordToHex

func DCCHashFromPasswordToHex(password string, username string) string

DCCHashFromPasswordToHex computes the DCC hash of a password string

Returns:

  • The DCC hash as a hexadecimal string