class Watobo::NTLM::Message::Type1
@private false
Public Class Methods
parse(str)
click to toggle source
Parses a Type 1 Message
@param [String] str A string containing Type 1 data @return [Type1] The parsed Type 1 message
# File lib/watobo/utils/ntlm.rb, line 671 def parse(str) t = new t.parse(str) t end
Public Instance Methods
parse(str)
click to toggle source
@!visibility private
Calls superclass method
Watobo::NTLM::Message::parse
# File lib/watobo/utils/ntlm.rb, line 679 def parse(str) super(str) enable(:domain) if has_flag?(:DOMAIN_SUPPLIED) enable(:workstation) if has_flag?(:WORKSTATION_SUPPLIED) super(str) if ( (len = data_edge - head_size) > 0) self.padding = "\0" * len super(str) end end