Parent

Methods

Class/Module Index [+]

Quicksearch

Rex::Proto::NTLM::Message::Type1

Public Class Methods

parse(str) click to toggle source
# File lib/rex/proto/ntlm/message.rb, line 155
def parse(str)
        t = new
        t.parse(str)
        t
end

Public Instance Methods

parse(str) click to toggle source
# File lib/rex/proto/ntlm/message.rb, line 162
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 = "\00"" * len
                super(str)
        end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.