Class: Rex::Proto::Kerberos::Keytab::Krb5Keytab

Inherits:
BinData::Record
  • Object
show all
Defined in:
lib/rex/proto/kerberos/keytab/krb5_keytab.rb

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#file_format_versionInteger (readonly)

Returns:

  • (Integer)


145
# File 'lib/rex/proto/kerberos/keytab/krb5_keytab.rb', line 145

uint16 :file_format_version, asserted_value: 0x502

#key_entriesArray<KeytabEntry>

Returns the keytab entries.

Returns:

  • (Array<KeytabEntry>)

    the keytab entries



149
# File 'lib/rex/proto/kerberos/keytab/krb5_keytab.rb', line 149

array :key_entries, type: :entry, read_until: :eof