Class: RubySMB::SMB2::Packet::NegotiateResponse

Inherits:
GenericPacket
  • Object
show all
Defined in:
lib/ruby_smb/smb2/packet/negotiate_response.rb

Overview

An SMB2 NEGOTIATE Response packet as defined by 2.2.4 SMB2 NEGOTIATE Response

Constant Summary collapse

COMMAND =
RubySMB::SMB2::Commands::NEGOTIATE

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



27
28
29
30
# File 'lib/ruby_smb/smb2/packet/negotiate_response.rb', line 27

def initialize_instance
  super
  smb2_header.flags.reply = 1
end