WinRb/rubyntlm — pull request #15 by jlee-r7 (2014-12-08 17:03:31+00:00)
Title: Verify passwords in Type3 messages

`Type3#parse` was failing to grab the session key. Since all inactive fields are at the end, we can simply enable them and try again until the full data string is parsed or we run out of fields to enable. This simplifies parsing for all the Message types.

Once parsing works, we can verify that a given `Type3` is for a blank password (or an arbitrary one, if you're into that). This is useful to determine whether an authentication attempt is worth recording (see https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/server/capture/smb.rb)