util

package
v0.0.0-...-3af8b9c Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: Apache-2.0 Imports: 10 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"
)

Functions

func ASRepToHashcat

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

func FormatComboLine

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

func FormatUsername

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

func GetPasswords

func GetPasswords(passwordfile string, current []string, tried []string, verbose bool, logger *Logger) (array []string, err error)

reads passwords from file and adds them to the current array if they are not in the tried array

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