mrbbot / ntlm

🔐 NTLM authentication for Dart/Flutter.
https://pub.dev/packages/ntlm
The Unlicense
14 stars 15 forks source link

Bug in createType1Message #25

Open c-antin opened 1 year ago

c-antin commented 1 year ago

Hi there,

I've found a bug in createType1Message(). https://github.com/mrbbot/ntlm/blob/02d6e40d8cdc1f7a2a0f30b84b115d0e4010d4aa/lib/src/messages/type1.dart#L69 After line 69, there should be a

pos += 2;

to increase the offset.