Sha256: 4ebccca8e4162f8bb0586e03e6c9ae19abd0d731feced99d89f8b7360f1d5e2a

Contents?: true

Size: 281 Bytes

Versions: 25

Compression:

Stored size: 281 Bytes

Contents

module SSHScan
  module Error
    # Target did not respond with an SSH banner.
    class NoBanner < RuntimeError
      def initialize(message)
        @message = message
      end
      def to_s
        "#{self.class.to_s.split('::')[-1]}: #{@message}"
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
ssh_scan-0.0.44 lib/ssh_scan/error/no_banner.rb
ssh_scan-0.0.43 lib/ssh_scan/error/no_banner.rb
ssh_scan-0.0.42 lib/ssh_scan/error/no_banner.rb
ssh_scan-0.0.41 lib/ssh_scan/error/no_banner.rb
ssh_scan-0.0.40 lib/ssh_scan/error/no_banner.rb
ssh_scan-0.0.39 lib/ssh_scan/error/no_banner.rb
ssh_scan-0.0.38 lib/ssh_scan/error/no_banner.rb
ssh_scan-0.0.38.pre lib/ssh_scan/error/no_banner.rb
ssh_scan-0.0.37 lib/ssh_scan/error/no_banner.rb
ssh_scan-0.0.36 lib/ssh_scan/error/no_banner.rb
ssh_scan-0.0.35 lib/ssh_scan/error/no_banner.rb
ssh_scan-0.0.34 lib/ssh_scan/error/no_banner.rb
ssh_scan-0.0.33 lib/ssh_scan/error/no_banner.rb
ssh_scan-0.0.32 lib/ssh_scan/error/no_banner.rb
ssh_scan-0.0.31 lib/ssh_scan/error/no_banner.rb
ssh_scan-0.0.30 lib/ssh_scan/error/no_banner.rb
ssh_scan-0.0.29 lib/ssh_scan/error/no_banner.rb
ssh_scan-0.0.28 lib/ssh_scan/error/no_banner.rb
ssh_scan-0.0.27 lib/ssh_scan/error/no_banner.rb
ssh_scan-0.0.26 lib/ssh_scan/error/no_banner.rb