Documentation ¶
Index ¶
- func ASREPToHashcat(asrep messages.ASRep) string
- func TGSToHashcat(tgs messages.Ticket, username string) string
- type AsRepTGT
- type ErrorRequiresPreauth
- type KerberosClient
- func (kc *KerberosClient) AuthenticateWithKeytab(username, keytabPath string) error
- func (kc *KerberosClient) AuthenticateWithPassword(username, password string)
- func (c *KerberosClient) Close()
- func (c *KerberosClient) GetAsReqTgt(username string) (*AsRepTGT, error)
- func (c *KerberosClient) GetServiceTicket(target, spn string) (*TGS, error)
- func (c *KerberosClient) TestLogin(username, password string) (bool, error)
- type Options
- type TGS
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ASREPToHashcat ¶
Types ¶
type ErrorRequiresPreauth ¶
type ErrorRequiresPreauth struct {
// contains filtered or unexported fields
}
func (*ErrorRequiresPreauth) Error ¶
func (e *ErrorRequiresPreauth) Error() string
type KerberosClient ¶
type KerberosClient struct { Realm string KDCs map[int]string // contains filtered or unexported fields }
Client is a kerberos client
func NewKerberosClient ¶
func NewKerberosClient(domain, controller string) (*KerberosClient, error)
func (*KerberosClient) AuthenticateWithKeytab ¶
func (kc *KerberosClient) AuthenticateWithKeytab(username, keytabPath string) error
func (*KerberosClient) AuthenticateWithPassword ¶
func (kc *KerberosClient) AuthenticateWithPassword(username, password string)
func (*KerberosClient) Close ¶
func (c *KerberosClient) Close()
func (*KerberosClient) GetAsReqTgt ¶
func (c *KerberosClient) GetAsReqTgt(username string) (*AsRepTGT, error)
func (*KerberosClient) GetServiceTicket ¶
func (c *KerberosClient) GetServiceTicket(target, spn string) (*TGS, error)
type Options ¶
type Options struct { Targets struct { TARGETS []string `description:"Provide target IP/FQDN/FILE"` } `positional-args:"yes"` Connection struct { Username string `short:"u" description:"Provide username (or FILE)"` Password string `short:"p" description:"Provide password (or FILE)"` Domain string `short:"d" long:"domain" description:"Provide domain"` } `group:"Connection Options" description:"Connection Options"` Mode struct { UserEnum bool `long:"user-enum" description:"Enumerate valid usernames via kerberos"` Responder bool `long:"responder" description:"Launch a responder (testing)"` } `group:"Attack Mode"` BruteforceStrategy struct { ClusterBomb bool `long:"clusterbomb" description:"payload sets in clusterbomb mode (default)"` Pitchfork bool `long:"pitchfork" description:"payload sets in pitchfork mode"` } `group:"Bruteforce Strategy"` // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.