diff --git a/lib/rex/proto/smb/constants.rb b/lib/rex/proto/smb/constants.rb index 81659db023..204ae788cb 100644 --- a/lib/rex/proto/smb/constants.rb +++ b/lib/rex/proto/smb/constants.rb @@ -732,8 +732,8 @@ SMB_NTTRANS_HDR_PKT = Rex::Struct2::CStructTemplate.new( [ 'uint32v', 'DataCount', 0 ], [ 'uint32v', 'DataOffset', 0 ], [ 'uint8', 'SetupCount', 0 ], - [ 'string', 'SetupData', nil, '' ], [ 'uint16v', 'Subcommand', 0 ], + [ 'string', 'SetupData', nil, '' ], [ 'uint16v', 'ByteCount', 0 ], [ 'string', 'Payload', nil, '' ] ).create_restraints(