Sha256: c6a3444c25bfe68f125d69d00996164b9b14f6e4561b42ae23c790fdcae56558

Contents?: true

Size: 287 Bytes

Versions: 3

Compression:

Stored size: 287 Bytes

Contents

# frozen_string_literal: true

module Shodan
  module Clients
    class Labs < Base
      # Calculates a honeypot probability score ranging
      # from 0 (not a honeypot) to 1.0 (is a honeypot).
      def honeyscore(ip)
        get("/labs/honeyscore/#{ip}")
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
shodanx-0.2.1 lib/shodan/clients/labs.rb
shodanx-0.2.0 lib/shodan/clients/labs.rb
shodanx-0.1.0 lib/shodan/clients/labs.rb