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/ticket_flags.rb
Views: 11766
1
# -*- coding: binary -*-
2
3
module Rex
4
module Proto
5
module Kerberos
6
module Model
7
# The TicketFlags 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
10
#
11
class TicketFlags < KerberosFlags
12
RESERVED = 0
13
FORWARDABLE = 1
14
FORWARDED = 2
15
PROXIABLE = 3
16
PROXY = 4
17
ALLOW_POST_DATE = 5
18
POST_DATED = 6
19
INVALID = 7
20
RENEWABLE = 8
21
INITIAL = 9
22
PRE_AUTHENT = 10
23
HW_AUTHNET = 11
24
TRANSITED_POLICY_CHECKED = 12
25
OK_AS_DELEGATE = 13
26
end
27
end
28
end
29
end
30
end
31
32