Class: PacketGen::Plugin::SMB::Negotiate::Dialect
- Inherits:
-
Types::Fields
- Object
- Types::Fields
- PacketGen::Plugin::SMB::Negotiate::Dialect
- Defined in:
- lib/packetgen/plugin/smb/negotiate/dialect.rb
Overview
A SMB_Dialect struct containing:
-
a 8-bit #format field, which should be set to 0x02,
-
a null-terminated string identifying a SMB dialect.
Instance Attribute Summary collapse
-
#dialect ⇒ String
Null-terminated string identifying a SMB dialect.
-
#format ⇒ Integer
8-bit format.
Instance Method Summary collapse
Instance Attribute Details
Instance Method Details
#to_human ⇒ String
20 21 22 |
# File 'lib/packetgen/plugin/smb/negotiate/dialect.rb', line 20 def to_human self[:dialect].to_human end |