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

Instance Method Summary collapse

Methods inherited from GenericPacket

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

Instance Method Details

#initialize_instanceObject



25
26
27
28
29
# File 'lib/ruby_smb/smb1/packet/session_setup_legacy_response.rb', line 25

def initialize_instance
  super
  smb_header.command = RubySMB::SMB1::Commands::SMB_COM_SESSION_SETUP
  smb_header.flags.reply = 1
end