CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
rapid7

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: rapid7/metasploit-framework
Path: blob/master/lib/rex/proto/kerberos/model/kdc_option_flags.rb
Views: 11766
1
# -*- coding: binary -*-
2
3
module Rex
4
module Proto
5
module Kerberos
6
module Model
7
# THe KdcOptions KerberosFlags are represented as a bit string.
8
# This module associates the human readable name, to the index the flag value is found at within the bit string.
9
# https://www.rfc-editor.org/rfc/rfc4120.txt - KDCOptions ::= KerberosFlags
10
class KdcOptionFlags < KerberosFlags
11
RESERVED = 0
12
FORWARDABLE = 1
13
FORWARDED = 2
14
PROXIABLE = 3
15
PROXY = 4
16
ALLOW_POST_DATE = 5
17
POST_DATED = 6
18
INVALID = 7
19
RENEWABLE = 8
20
INITIAL = 9
21
PRE_AUTHENT = 10
22
HW_AUTHNET = 11
23
TRANSITED_POLICY_CHECKED = 12
24
OK_AS_DELEGATE = 13
25
CNAME_IN_ADDL_TKT = 14
26
CANONICALIZE = 15
27
RENEWABLE_OK = 27
28
ENC_TKT_IN_SKEY = 28
29
RENEW = 30
30
VALIDATE = 31
31
end
32
end
33
end
34
end
35
end
36
37