Exception: Rex::Proto::SMB::Exceptions::InvalidCommand

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



802
803
804
805
# File 'lib/rex/proto/smb/exceptions.rb', line 802

def to_s
  "The server responded with unimplemented command " +
  self.command.to_s + ' with WordCount ' + self.word_count.to_s
end