util

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version   = "dev"
	GitCommit = "n/a"
	BuildDate = time.Now().Format("01/02/06")
	GoVersion = runtime.Version()
	Author    = "Ronnie Flathers @ropnop (Modified by ZedH @0xZDH)"
)

Functions

func ASRepToHashcat

func ASRepToHashcat(asrep messages.ASRep) (string, error)

func ExtractASRepUsername added in v0.1.1

func ExtractASRepUsername(k messages.ASRep) (salt string, err error)

ExtractASRepUsername will extract a username from an ASRep encryption salt when a user does not require pre-authentication

func ExtractPreAuthUsername added in v0.1.1

func ExtractPreAuthUsername(krberr messages.KRBError) (salt string, err error)

ExtractPreAuthUsername will extract a username from a KDC_ERR_PREAUTH_REQUIRED encryption salt

func FormatComboLine

func FormatComboLine(combo string) (username string, password string, err error)

func FormatUsername

func FormatUsername(username string) (user string, err error)

func PrintBanner

func PrintBanner()

Types

type Logger

type Logger struct {
	Log *logging.Logger
}

func NewLogger

func NewLogger(verbose bool, logFileName string) Logger

Jump to

Keyboard shortcuts

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