Method: Shodanz::API::REST#honeypot_score

Defined in:
lib/shodanz/apis/rest.rb

#honeypot_score(ip) ⇒ Object

Calculates a honeypot probability score ranging from 0 (not a honeypot) to 1.0 (is a honeypot).



182
183
184
# File 'lib/shodanz/apis/rest.rb', line 182

def honeypot_score(ip)
  get("labs/honeyscore/#{ip}")
end