Module: Rex::Proto::Kerberos::Pac::Krb5PacElementType
- Defined in:
- lib/rex/proto/kerberos/pac/krb5_pac_element_type.rb
Overview
Constant Summary collapse
- LOGON_INFORMATION =
0x00000001
- CREDENTIAL_INFORMATION =
0x00000002
- SERVER_CHECKSUM =
0x00000006
- PRIVILEGE_SERVER_CHECKSUM =
0x00000007
- CLIENT_INFORMATION =
0x0000000A
- CONSTRAINED_DELEGATION_INFORMATION =
0x0000000B
- USER_PRINCIPAL_NAME_AND_DNS_INFORMATION =
0x0000000C
- CLIENT_CLAIMS_INFORMATION =
0x0000000D
- DEVICE_INFORMATION =
0x0000000E
- DEVICE_CLAIMS_INFORMATION =
0x0000000F
- TICKET_CHECKSUM =
0x00000010
- PAC_ATTRIBUTES =
0x00000011
- PAC_REQUESTOR =
0x00000012
- FULL_PAC_CHECKSUM =
0x00000013
Class Method Summary collapse
-
.const_name(code) ⇒ Object
Return a string representation of the constant for a number.
Class Method Details
.const_name(code) ⇒ Object
Return a string representation of the constant for a number
27 28 29 30 31 32 |
# File 'lib/rex/proto/kerberos/pac/krb5_pac_element_type.rb', line 27 def self.const_name(code) self.constants.each do |c| return c.to_s if self.const_get(c) == code end return nil end |