Class: RubySMB::Dcerpc::Winreg::CreateKeyResponse

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

Overview

This class represents a BaseRegCreateKey Response Packet as defined in 3.1.5.7 BaseRegCreateKey (Opnum 6)

Constant Summary collapse

REG_CREATED_NEW_KEY =

Create disposition The key did not exist and was created.

0x00000001
REG_OPENED_EXISTING_KEY =

The key already existed and was opened without being changed.

0x00000002

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#opnumObject (readonly)

Returns the value of attribute opnum.



16
17
18
# File 'lib/ruby_smb/dcerpc/winreg/create_key_response.rb', line 16

def opnum
  @opnum
end

Instance Method Details

#initialize_instanceObject



24
25
26
27
# File 'lib/ruby_smb/dcerpc/winreg/create_key_response.rb', line 24

def initialize_instance
  super
  @opnum = REG_CREATE_KEY
end