Class: RubySMB::SMB1::Packet::Trans::Response

Inherits:
GenericPacket
  • Object
show all
Defined in:
lib/ruby_smb/smb1/packet/trans/response.rb

Overview

This class represents a generic SMB1 Trans Response Packet as defined in 2.2.4.33.2 Response

Defined Under Namespace

Classes: DataBlock, ParameterBlock

Constant Summary collapse

COMMAND =
RubySMB::SMB1::Commands::SMB_COM_TRANSACTION

Instance Method Summary collapse

Methods inherited from GenericPacket

describe, #display, fields_hashed, format_field, from_hex, #packet_smb_version, read, #status_code, #valid?, walk_fields

Instance Method Details

#initialize_instanceObject



38
39
40
41
# File 'lib/ruby_smb/smb1/packet/trans/response.rb', line 38

def initialize_instance
  super
  smb_header.flags.reply = 1
end