Methods

Class/Module Index [+]

Quicksearch

Rex::Proto::DCERPC::Exceptions::InvalidPacket

Public Class Methods

new(message = nil) click to toggle source
# File lib/rex/proto/dcerpc/exceptions.rb, line 135
def initialize(message = nil)
        @message = message
end

Public Instance Methods

to_s() click to toggle source
# File lib/rex/proto/dcerpc/exceptions.rb, line 139
def to_s
        str = 'Invalid packet.'
        if (@message)
                str += " #{@message}"
        end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.