Sha256: af831062ad11b2b664995d48a7069c0df04f2e7c56086ff78d4b39e2269fcb16
Contents?: true
Size: 820 Bytes
Versions: 8
Compression:
Stored size: 820 Bytes
Contents
module RubySMB module SMB1 module Packet module Trans # This class represents an SMB1 Trans PeekNamedPipe Request Packet as defined in # [2.2.5.5.1 Request](https://msdn.microsoft.com/en-us/library/ee442106.aspx) class PeekNmpipeRequest < RubySMB::SMB1::Packet::Trans::Request def fid=(file_id) parameter_block.setup = [RubySMB::SMB1::Packet::Trans::Subcommands::PEEK_NMPIPE, file_id] end def initialize_instance super smb_header.command = RubySMB::SMB1::Commands::SMB_COM_TRANSACTION data_block.name = "\\PIPE\\" parameter_block.setup << RubySMB::SMB1::Packet::Trans::Subcommands::PEEK_NMPIPE parameter_block.setup_count = 2 end end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems