Class: RubySMB::SMB1::Packet::Trans2::SetFileInformationResponse

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

Overview

A Trans2 SET_FILE_INFORMATION Response Packet as defined in 2.2.6.9.2 Response

Defined Under Namespace

Classes: DataBlock, ParameterBlock, Trans2Data, Trans2Parameters

Constant Summary collapse

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

Instance Method Summary collapse

Methods inherited from GenericPacket

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

Instance Method Details

#initialize_instanceObject



49
50
51
52
53
# File 'lib/ruby_smb/smb1/packet/trans2/set_file_information_response.rb', line 49

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