Class: RubySMB::SMB1::Packet::Trans2::SetPathInformationResponse

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

Overview

A Trans2 SET_PATH_INFORMATION Response Packet as defined in MS-CIFS 2.2.6.7.2 Response. See also the subcommand overview at MS-CIFS 2.2.6.7 TRANS2_SET_PATH_INFORMATION (0x0006).

Defined Under Namespace

Classes: ParameterBlock

Constant Summary collapse

COMMAND =
RubySMB::SMB1::Commands::SMB_COM_TRANSACTION2

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



42
43
44
45
46
# File 'lib/ruby_smb/smb1/packet/trans2/set_path_information_response.rb', line 42

def initialize_instance
  super
  parameter_block.setup << RubySMB::SMB1::Packet::Trans2::Subcommands::SET_PATH_INFORMATION
  smb_header.flags.reply = 1
end