Exception: Rex::Proto::SMB::Exceptions::InvalidType

Inherits:
InvalidPacket show all
Defined in:
lib/rex/proto/smb/exceptions.rb

Instance Attribute Summary

Attributes inherited from InvalidPacket

#command, #error_code, #word_count

Instance Method Summary collapse

Methods inherited from InvalidPacket

#error_name

Methods inherited from Error

#get_error, #initialize

Constructor Details

This class inherits a constructor from Rex::Proto::SMB::Exceptions::Error

Instance Method Details

#to_sObject



809
810
811
812
# File 'lib/rex/proto/smb/exceptions.rb', line 809

def to_s
  "The server responded with unexpected packet (Command=" +
  self.command.to_s + ' WordCount=' + self.word_count.to_s + ")"
end