struct

Shodan::Host

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

area_code
Source
area_code=(area_code : String | Nil)
Source
city
Source
city=(city : String | Nil)
Source
country_code

loc info

Source
country_code=(country_code : String | Nil)

loc info

Source
country_name
Source
country_name=(country_name : String | Nil)
Source
data

data

Source
data=(data : Array(HostData) | Nil)

data

Source
dma_code
Source
dma_code=(dma_code : Int32 | Nil)
Source
domains
Source
domains=(domains : Array(String) | Nil)
Source
hostnames

hostnames

Source
hostnames=(hostnames : Array(String) | Nil)

hostnames

Source
ip

ip isp asn

Source
ip=(ip : Int64 | Nil)

ip isp asn

Source
ip_str
Source
ip_str=(ip_str : String | Nil)
Source
last_update

timestamp

Source
last_update=(last_update : String | Nil)

timestamp

Source
latitude
Source
latitude=(latitude : Float64 | Nil)
Source
longitude
Source
longitude=(longitude : Float64 | Nil)
Source
org=(org : String | Nil)
Source
os

os and open ports

Source
os=(os : String | Nil)

os and open ports

Source
ports
Source
ports=(ports : Array(Int32))
Source
postal_code
Source
postal_code=(postal_code : String | Nil)
Source
region_code
Source
region_code=(region_code : String | Nil)
Source
tags

shodan tags

Source
tags=(tags : Array(String) | Nil)

shodan tags

Source

Nested types