session

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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KerbruteSession

type KerbruteSession struct {
	Domain         string
	Realm          string
	Kdcs           map[int]string
	ConfigString   string
	Config         *kconfig.Config
	Verbose        bool
	SafeMode       bool
	NTHash         bool
	SocksAddr      string
	EncryptionType string
	HashFile       *os.File
	Logger         *util.Logger
	ProgressBar    *progressbar.ProgressBar
}

func NewKerbruteSession

func NewKerbruteSession(options KerbruteSessionOptions) (k KerbruteSession, err error)

func (KerbruteSession) DumpASRepHash

func (k KerbruteSession) DumpASRepHash(asrep messages.ASRep)

func (KerbruteSession) HandleKerbError

func (k KerbruteSession) HandleKerbError(err error) (bool, string)

func (KerbruteSession) TestLogin

func (k KerbruteSession) TestLogin(username, password string) (bool, error)

func (KerbruteSession) TestLoginError

func (k KerbruteSession) TestLoginError(err error) (bool, error)

TestLoginError returns true for certain KRB Errors that only happen when the password is correct The correct credentials we're passed, but the error prevented a successful TGT from being retrieved

func (KerbruteSession) TestUsername

func (k KerbruteSession) TestUsername(username string) (bool, string, error)

type KerbruteSessionOptions

type KerbruteSessionOptions struct {
	Domain           string
	DomainController string
	Verbose          bool
	SafeMode         bool
	Downgrade        bool
	NTHash           bool
	SocksAddr        string
	EncryptionType   string
	Linux            bool
	HashFilename     string
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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