Class: Rex::Registry::LFHashRecord
- Inherits:
-
Object
- Object
- Rex::Registry::LFHashRecord
- Defined in:
- lib/rex/registry/lfkey.rb
Instance Attribute Summary collapse
-
#nodekey_name_verification ⇒ Object
Returns the value of attribute nodekey_name_verification.
-
#nodekey_offset ⇒ Object
Returns the value of attribute nodekey_offset.
Instance Method Summary collapse
-
#initialize(hive_blob, offset) ⇒ LFHashRecord
constructor
A new instance of LFHashRecord.
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('V').first @nodekey_name_verification = hive_blob[offset+0x04, 4].to_s end |
Instance Attribute Details
#nodekey_name_verification ⇒ Object
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_offset ⇒ Object
Returns the value of attribute nodekey_offset.
41 42 43 |
# File 'lib/rex/registry/lfkey.rb', line 41 def nodekey_offset @nodekey_offset end |