Class: PacketGen::Plugin::SMB::Negotiate::Request
- Inherits:
-
Header::Base
- Object
- Header::Base
- PacketGen::Plugin::SMB::Negotiate::Request
- Defined in:
- lib/packetgen/plugin/smb/negotiate/request.rb
Overview
SMB Negotiation Request header.
See also Blocks, as Request is a specialization of Blocks#words and Blocks#bytes.
Instance Attribute Summary collapse
- #byte_count ⇒ Integer
- #dialects ⇒ ArrayOfDialect
-
#word_count ⇒ Integer
The size, in 2-byte words, of the SMB command parameters.
Class Method Summary collapse
Instance Attribute Details
#byte_count ⇒ Integer
24 |
# File 'lib/packetgen/plugin/smb/negotiate/request.rb', line 24 define_field :byte_count, PacketGen::Types::Int16le |
#dialects ⇒ ArrayOfDialect
27 |
# File 'lib/packetgen/plugin/smb/negotiate/request.rb', line 27 define_field :dialects, ArrayOfDialect |
#word_count ⇒ Integer
The size, in 2-byte words, of the SMB command parameters. It should be 0
setup_count+.
21 |
# File 'lib/packetgen/plugin/smb/negotiate/request.rb', line 21 define_field :word_count, PacketGen::Types::Int8, default: 0 |
Class Method Details
.protocol_name ⇒ Object
29 30 31 |
# File 'lib/packetgen/plugin/smb/negotiate/request.rb', line 29 def self.protocol_name 'SMB::Negotiate::Request' end |