Class: PacketGen::Plugin::SMB::Negotiate::Response
- Defined in:
- lib/packetgen/plugin/smb/negotiate/response.rb
Overview
SMB Negotiation Response header.
See also Blocks, as Response is a specialization of Blocks#words and Blocks#bytes.
Instance Attribute Summary
Attributes inherited from Blocks
#byte_count, #bytes, #word_count, #words
Class Method Summary collapse
Instance Method Summary collapse
-
#dialect_index ⇒ Integer
Get index of the dialect selected by the server from the list presented in the request.
Methods inherited from Blocks
Class Method Details
.protocol_name ⇒ Object
17 18 19 |
# File 'lib/packetgen/plugin/smb/negotiate/response.rb', line 17 def self.protocol_name 'SMB::Negotiate::Response' end |
Instance Method Details
#dialect_index ⇒ Integer
Get index of the dialect selected by the server from the list presented in the request.
13 14 15 |
# File 'lib/packetgen/plugin/smb/negotiate/response.rb', line 13 def dialect_index words.first.to_i end |