Class: Msf::Util::WindowsRegistryParser::RegHbinBlock

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#record_typeObject (readonly)

Returns the value of attribute record_type


140
141
142
# File 'lib/msf/util/windows_registry_parser.rb', line 140

def record_type
  @record_type
end

Instance Method Details

#do_read(io) ⇒ Object


156
157
158
159
160
161
162
# File 'lib/msf/util/windows_registry_parser.rb', line 156

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