struct

Shodan::Host::HostData

Inherits JSON::Serializable < Struct < Value < Object

Constructors

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

Instance methods

asn=(asn : String | Nil)
Source
cassandra

Each possible service

Source
cassandra=(cassandra : HostDataCassandra | Nil)

Each possible service

Source
coap
Source
coap=(coap : HostDataCoAP | Nil)
Source
cpe=(cpe : Array(String) | Nil)
Source
data
Source
data=(data : String | Nil)
Source
db2=(db2 : HostDataDB2 | Nil)
Source
dns=(dns : HostDataDNS | Nil)
Source
docker
Source
docker=(docker : HostDataDocker | Nil)
Source
domains
Source
domains=(domains : Array(String) | Nil)
Source
elastic
Source
elastic=(elastic : HostDataElastic | Nil)
Source
etcd
Source
etcd=(etcd : HostDataETCD | Nil)
Source
ethernetip
Source
ethernetip=(ethernetip : HostDataEthernetIP | Nil)
Source
ftp=(ftp : HostDataFTP | Nil)
Source
hash

Generates an UInt64 hash value for this object.

This method must have the property that a == b implies a.hash == b.hash.

The hash value is used along with == by the Hash class to determine if two objects reference the same hash key.

Subclasses must not override this method. Instead, they must define hash(hasher), though usually the macro def_hash can be used to generate this method.

Source
hash=(hash : Int64 | Nil)
Source
hive
Source
hive=(hive : HostDataHive | Nil)
Source
hostnames

hostnames and domain

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

hostnames and domain

Source
http
Source
http=(http : HostDataHTTP | Nil)
Source
influxdb
Source
influxdb=(influxdb : HostDataInfluxDB | Nil)
Source
info
Source
info=(info : String | Nil)
Source
ip

ip and isp

Source
ip=(ip : Int64 | Nil)

ip and isp

Source
ip_str
Source
ip_str=(ip_str : String | Nil)
Source
isakmp
Source
isakmp=(isakmp : HostDataISAKMP | Nil)
Source
isp=(isp : String | Nil)
Source
lantronix
Source
lantronix=(lantronix : HostDataLANTronix | Nil)
Source
location
Source
location=(location : HostDataLocation | Nil)
Source
minecraft
Source
minecraft=(minecraft : HostDataMinecraft | Nil)
Source
monero
Source
monero=(monero : HostDataMonero | Nil)
Source
mongodb
Source
mongodb=(mongodb : HostDataMongoDB | Nil)
Source
mqtt
Source
mqtt=(mqtt : HostDataMQTT | Nil)
Source
netbios
Source
netbios=(netbios : HostDataNetBIOS | Nil)
Source
ntp=(ntp : HostDataNTP | Nil)
Source
org=(org : String | Nil)
Source
os

product identification

Source
os=(os : String | Nil)

product identification

Source
port
Source
port=(port : Int32 | Nil)
Source
product
Source
product=(product : String | Nil)
Source
redis
Source
redis=(redis : HostDataRedis | Nil)
Source
rip=(rip : HostDataRIP | Nil)
Source
rsync
Source
rsync=(rsync : HostDataRsync | Nil)
Source
smb=(smb : HostDataSMB | Nil)
Source
snmp
Source
snmp=(snmp : HostDataSNMP | Nil)
Source
ssh=(ssh : HostDataSSH | Nil)
Source
ssl=(ssl : HostDataSSL | Nil)
Source
timestamp

timestamp again

Source
timestamp=(timestamp : String | Nil)

timestamp again

Source
transport
Source
transport=(transport : String | Nil)
Source
version
Source
version=(version : String | Nil)
Source
vertx
Source
vertx=(vertx : HostDataVertx | Nil)
Source