kerberos

package
v0.0.151 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2026 License: Apache-2.0 Imports: 13 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthenticateUser

func AuthenticateUser(ctx context.Context, target *Target, username, password string, timeout int) (bool, string, error)

AuthenticateUser attempts to authenticate a single user with a password

func EnumerateUsers

func EnumerateUsers(ctx context.Context, target *Target, usernames []string, timeout int) ([]string, []string, error)

EnumerateUsers performs username enumeration against Kerberos Returns a list of valid usernames

func RequestServiceTicket added in v0.0.80

RequestServiceTicket requests a Kerberos service ticket (supports regular requests, traditional CD, and RBCD)

func SprayPasswords

func SprayPasswords(ctx context.Context, target *Target, usernames []string, password string, timeout int, delayMs int) (map[string]bool, []string, error)

SprayPasswords performs password spraying against multiple users

func TestConnection

func TestConnection(ctx context.Context, target *Target, timeout int) error

TestConnection tests connectivity to the Kerberos service

Types

type Target

type Target struct {
	Host   string
	Port   int
	Domain string
}

Target represents a Kerberos domain controller target

func ParseTarget

func ParseTarget(target string) (*Target, error)

ParseTarget parses a target string into Target Supports formats: domain.com, domain.com:88, host:port

Jump to

Keyboard shortcuts

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