Class: Msf::Util::WindowsRegistry::RegistryParser::RegHbinBlock

Inherits:
BinData::Record
  • Object
show all
Defined in:
lib/msf/util/windows_registry/registry_parser.rb

Overview

Hive bin cell

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#record_typeObject (readonly)

Returns the value of attribute record_type.



161
162
163
# File 'lib/msf/util/windows_registry/registry_parser.rb', line 161

def record_type
  @record_type
end

Instance Method Details

#do_read(io) ⇒ Object



177
178
179
180
181
182
183
# File 'lib/msf/util/windows_registry/registry_parser.rb', line 177

def do_read(io)
  io.with_readahead do
    io.seekbytes(4)
    @record_type = io.readbytes(2)
  end
  super(io)
end