Class: RubySMB::SMB1::Packet::LogoffResponse

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

Overview

This class represents an SMB1 LOGOFF Response Packet as defined in 2.2.4.54.2 Response

Defined Under Namespace

Classes: DataBlock, ParameterBlock

Constant Summary collapse

COMMAND =
RubySMB::SMB1::Commands::SMB_COM_LOGOFF

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



22
23
24
25
# File 'lib/ruby_smb/smb1/packet/logoff_response.rb', line 22

def initialize_instance
  super
  smb_header.flags.reply = 1
end