Sha256: 41ff1cb93562eb370452b20625b2386ed7961479c7e7bef700f607f077469b3c
Contents?: true
Size: 587 Bytes
Versions: 2
Compression:
Stored size: 587 Bytes
Contents
module PacketGen::Plugin class SMB module Negotiate # SMB Negotiation Response header. # # See also {Blocks}, as {Negotiate::Response} is a specialization of {Blocks#words} # and {Blocks#bytes}. # @author Sylvain Daubert class Response < Blocks # Get index of the dialect selected by the server from the list presented in the request. # @return [Integer] def dialect_index words.first.to_i end def self.protocol_name 'SMB::Negotiate::Response' end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
packetgen-plugin-smb-0.6.1 | lib/packetgen/plugin/smb/negotiate/response.rb |
packetgen-plugin-smb-0.6.0 | lib/packetgen/plugin/smb/negotiate/response.rb |