class

NTLM::Negotiate

Inherits BinData < Reference < Object

Client sends this to the MS server https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-nlmp/b34032e5-3aae-4bc6-84c3-c6d80eadf7f2

Constants

ENDIAN = ["little"]

Client sends this to the MS server https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-nlmp/b34032e5-3aae-4bc6-84c3-c6d80eadf7f2

KLASS_NAME = [NTLM::Negotiate]

Client sends this to the MS server https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-nlmp/b34032e5-3aae-4bc6-84c3-c6d80eadf7f2

PARTS = [{type: "string", name: protocol, cls: String, onlyif: nil, verify: nil, length: nil, value: -> do "NTLMSSP" end, encoding: nil}, {type: "enum", name: message_type, cls: UInt32, onlyif: nil, verify: nil, value: nil, encoding: Type}, {type: "enum", name: flags_low, cls: UInt16, onlyif: nil, verify: nil, value: nil, encoding: FlagsLow}, {type: "enum", name: flags_high, cls: UInt16, onlyif: nil, verify: nil, value: nil, encoding: FlagsHigh}, {type: "group", name: domain_loc, cls: DomainLoc, onlyif: -> do (flags_low.negotiate_domain_supplied? || flags_low.negotiate_workstation_supplied?) || flags_high.negotiate_version? end, verify: nil, value: nil}, {type: "group", name: workstation_loc, cls: WorkstationLoc, onlyif: -> do (flags_low.negotiate_domain_supplied? || flags_low.negotiate_workstation_supplied?) || flags_high.negotiate_version? end, verify: nil, value: nil}, {type: "group", name: version, cls: Version, onlyif: -> do flags_high.negotiate_version? end, verify: nil, value: nil}] of Nil

Client sends this to the MS server https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-nlmp/b34032e5-3aae-4bc6-84c3-c6d80eadf7f2

REMAINING = [{type: "bytes", name: buffer, onlyif: nil, verify: nil}] of Nil

Client sends this to the MS server https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-nlmp/b34032e5-3aae-4bc6-84c3-c6d80eadf7f2

Class methods

bit_fields

Client sends this to the MS server https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-nlmp/b34032e5-3aae-4bc6-84c3-c6d80eadf7f2

Source

Instance methods

__format__
Source
buffer
buffer=(buffer : Bytes)
buffer_start
Source
domain
Source
domain=(value : String)
Source
domain_loc
domain_loc=(domain_loc : NTLM::Negotiate::DomainLoc)
flags_high
flags_high=(flags_high : FlagsHigh)
flags_low
flags_low=(flags_low : FlagsLow)
message_type
message_type=(message_type : Type)
protocol
protocol=(protocol : String)
update_buffer
Source
version

https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-nlmp/b1a6ceb2-f8ad-462b-b5af-f18527c48175

version=(version : NTLM::Negotiate::Version)

https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-nlmp/b1a6ceb2-f8ad-462b-b5af-f18527c48175

workstation
Source
workstation=(value : String)
Source
workstation_loc
workstation_loc=(workstation_loc : NTLM::Negotiate::WorkstationLoc)

Nested types