kerberos

package
v0.0.112 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

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