asrep
): string
| null
ASRepToHashcat converts an AS-REP message to a hashcat format
Name | Type |
---|---|
asrep | any |
string
| null
b
): Uint8Array
| null
CheckKrbError checks if the response bytes from the KDC are a KRBError.
Name | Type |
---|---|
b | Uint8Array |
Uint8Array
| null
cfg
): Client
| null
NewKerberosClientFromString creates a new kerberos client from a string
by parsing krb5.conf
Name | Type |
---|---|
cfg | string |
Client
| null
Example
kclient
, msg
): string
| null
sendtokdc.go deals with actual sending and receiving responses from KDC
SendToKDC sends a message to the KDC and returns the response.
It first tries to send the message over TCP, and if that fails, it falls back to UDP.(and vice versa)
Name | Type |
---|---|
kclient | Client |
msg | string |
string
| null
Example
tgs
, username
): string
| null
TGStoHashcat converts a TGS to a hashcat format.
Name | Type |
---|---|
tgs | any |
username | string |
string
| null