Commit Graph

5 Commits

Author SHA1 Message Date
Eli Bishop
8deb8dc7e5 change unit test expectation to match current encoding behavior 2020-06-09 11:20:01 -07:00
Dave
4a21cbd618 Negotiation fails for servers where 'NTLMv2 session security' is required (#18)
If a server has specified that NTLMv2 session security is required,
    then negotiation will fail as the client does not advertise this during
    the handshake. The negoiate message needs to include the relevant
    flag 'negotiateFlagNTLMSSPNEGOTIATEEXTENDEDSESSIONSECURITY'

    To test enable this on the remote server by using regedt32 to modify the
    key
    HKLM\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0\NtlmMinServerSec and
    set the value to 0x20080000
2018-08-10 10:55:52 -07:00
justdan96
b1778f7bea gofmt 2018-04-15 03:34:21 +01:00
justdan96
74d659d795 use SplitN for domain parsing, moved to separate function
added battery of tests for username, domain, workstation and expected negotiate message bytes
2018-04-15 03:31:17 +01:00
Paul Meyer
c3e922711f Initial commit of implementation 2015-10-16 21:50:49 -07:00