Class: RubySMB::SMB1::Packet::SessionSetupLegacyResponse

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

Overview

A SMB1 SMB_COM_SESSION_SETUP Legacy Response Packet as defined in 2.2.4.53.2 Response

Defined Under Namespace

Classes: DataBlock, ParameterBlock

Constant Summary collapse

COMMAND =
RubySMB::SMB1::Commands::SMB_COM_SESSION_SETUP

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/smb1/packet/session_setup_legacy_response.rb', line 27

def initialize_instance
  super
  smb_header.flags.reply = 1
end