kerberos

package
v3.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: MIT, Apache-2.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnumerateUserResponse

type EnumerateUserResponse struct {
	Valid     bool
	ASREPHash string
}

EnumerateUserResponse is the response from EnumerateUser

type KerberosClient

type KerberosClient struct{}

Client is a kerberos client

func (*KerberosClient) EnumerateUser

func (c *KerberosClient) EnumerateUser(domain, controller string, username string) (EnumerateUserResponse, error)

EnumerateUser returns true if the user exists in the domain

If the user is not found, false is returned. If the user is found, true is returned. Optionally, the AS-REP hash is also returned if discovered.

Jump to

Keyboard shortcuts

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