Class: RubySMB::SMB1::Packet::Trans::PeekNmpipeResponse

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

Overview

This class represents an SMB1 Trans PeekNamedPipe Response Packet as defined in 2.2.5.5.2 Response

Defined Under Namespace

Classes: DataBlock, ParameterBlock, TransData, TransParameters

Constant Summary collapse

COMMAND =
RubySMB::SMB1::Commands::SMB_COM_TRANSACTION

Instance Method Summary collapse

Methods inherited from GenericPacket

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

Instance Method Details

#initialize_instanceObject



51
52
53
54
55
# File 'lib/ruby_smb/smb1/packet/trans/peek_nmpipe_response.rb', line 51

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