Class: Rex::Registry::LFHashRecord

Inherits:
Object
  • Object
show all
Defined in:
lib/rex/registry/lfkey.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(hive_blob, offset) ⇒ LFHashRecord

Returns a new instance of LFHashRecord


43
44
45
46
# File 'lib/rex/registry/lfkey.rb', line 43

def initialize(hive_blob, offset)
  @nodekey_offset = hive_blob[offset, 4].unpack('l').first
  @nodekey_name_verification = hive_blob[offset+0x04, 4].to_s
end

Instance Attribute Details

#nodekey_name_verificationObject

Returns the value of attribute nodekey_name_verification


41
42
43
# File 'lib/rex/registry/lfkey.rb', line 41

def nodekey_name_verification
  @nodekey_name_verification
end

#nodekey_offsetObject

Returns the value of attribute nodekey_offset


41
42
43
# File 'lib/rex/registry/lfkey.rb', line 41

def nodekey_offset
  @nodekey_offset
end