Class: RubySMB::Dcerpc::Winreg::OpenKeyRequest

Inherits:
BinData::Record
  • Object
show all
Defined in:
lib/ruby_smb/dcerpc/winreg/open_key_request.rb

Overview

This class represents a BaseRegOpenKey Request Packet as defined in 3.1.5.15 BaseRegOpenKey (Opnum 15)

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#opnumObject (readonly)

Returns the value of attribute opnum.



10
11
12
# File 'lib/ruby_smb/dcerpc/winreg/open_key_request.rb', line 10

def opnum
  @opnum
end

Instance Method Details

#initialize_instanceObject



19
20
21
22
# File 'lib/ruby_smb/dcerpc/winreg/open_key_request.rb', line 19

def initialize_instance
  super
  @opnum = REG_OPEN_KEY
end