struct Shodan::Host::HostData
- Shodan::Host::HostData
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
shodan/parsers/host.crConstructors
Instance Method Summary
- #asn : String | Nil
- #asn=(asn : String | Nil)
- #banner : String | Nil
- #banner=(banner : String | Nil)
-
#cassandra : HostDataCassandra | Nil
Each possible service
-
#cassandra=(cassandra : HostDataCassandra | Nil)
Each possible service
- #coap : HostDataCoAP | Nil
- #coap=(coap : HostDataCoAP | Nil)
- #cpe : Array(String) | Nil
- #cpe=(cpe : Array(String) | Nil)
- #data : String | Nil
- #data=(data : String | Nil)
- #db2 : HostDataDB2 | Nil
- #db2=(db2 : HostDataDB2 | Nil)
- #dns : HostDataDNS | Nil
- #dns=(dns : HostDataDNS | Nil)
- #docker : HostDataDocker | Nil
- #docker=(docker : HostDataDocker | Nil)
- #domains : Array(String) | Nil
- #domains=(domains : Array(String) | Nil)
- #elastic : HostDataElastic | Nil
- #elastic=(elastic : HostDataElastic | Nil)
- #etcd : HostDataETCD | Nil
- #etcd=(etcd : HostDataETCD | Nil)
- #ethernetip : HostDataEthernetIP | Nil
- #ethernetip=(ethernetip : HostDataEthernetIP | Nil)
- #ftp : HostDataFTP | Nil
- #ftp=(ftp : HostDataFTP | Nil)
-
#hash : Int64 | Nil
Generates an
UInt64
hash value for this object. - #hash=(hash : Int64 | Nil)
- #hive : HostDataHive | Nil
- #hive=(hive : HostDataHive | Nil)
-
#hostnames : Array(String) | Nil
hostnames and domain
-
#hostnames=(hostnames : Array(String) | Nil)
hostnames and domain
- #http : HostDataHTTP | Nil
- #http=(http : HostDataHTTP | Nil)
- #influxdb : HostDataInfluxDB | Nil
- #influxdb=(influxdb : HostDataInfluxDB | Nil)
- #info : String | Nil
- #info=(info : String | Nil)
-
#ip : Int64 | Nil
ip and isp
-
#ip=(ip : Int64 | Nil)
ip and isp
- #ip_str : String | Nil
- #ip_str=(ip_str : String | Nil)
- #isakmp : HostDataISAKMP | Nil
- #isakmp=(isakmp : HostDataISAKMP | Nil)
- #isp : String | Nil
- #isp=(isp : String | Nil)
- #lantronix : HostDataLANTronix | Nil
- #lantronix=(lantronix : HostDataLANTronix | Nil)
- #location : HostDataLocation | Nil
- #location=(location : HostDataLocation | Nil)
- #minecraft : HostDataMinecraft | Nil
- #minecraft=(minecraft : HostDataMinecraft | Nil)
- #monero : HostDataMonero | Nil
- #monero=(monero : HostDataMonero | Nil)
- #mongodb : HostDataMongoDB | Nil
- #mongodb=(mongodb : HostDataMongoDB | Nil)
- #mqtt : HostDataMQTT | Nil
- #mqtt=(mqtt : HostDataMQTT | Nil)
- #netbios : HostDataNetBIOS | Nil
- #netbios=(netbios : HostDataNetBIOS | Nil)
- #ntp : HostDataNTP | Nil
- #ntp=(ntp : HostDataNTP | Nil)
- #org : String | Nil
- #org=(org : String | Nil)
-
#os : String | Nil
product identification
-
#os=(os : String | Nil)
product identification
- #port : Int32 | Nil
- #port=(port : Int32 | Nil)
- #product : String | Nil
- #product=(product : String | Nil)
- #redis : HostDataRedis | Nil
- #redis=(redis : HostDataRedis | Nil)
- #rip : HostDataRIP | Nil
- #rip=(rip : HostDataRIP | Nil)
- #rsync : HostDataRsync | Nil
- #rsync=(rsync : HostDataRsync | Nil)
- #smb : HostDataSMB | Nil
- #smb=(smb : HostDataSMB | Nil)
- #snmp : HostDataSNMP | Nil
- #snmp=(snmp : HostDataSNMP | Nil)
- #ssh : HostDataSSH | Nil
- #ssh=(ssh : HostDataSSH | Nil)
- #ssl : HostDataSSL | Nil
- #ssl=(ssl : HostDataSSL | Nil)
-
#timestamp : String | Nil
timestamp again
-
#timestamp=(timestamp : String | Nil)
timestamp again
- #transport : String | Nil
- #transport=(transport : String | Nil)
- #version : String | Nil
- #version=(version : String | Nil)
- #vertx : HostDataVertx | Nil
- #vertx=(vertx : HostDataVertx | Nil)
Constructor Detail
Instance Method Detail
def hash : Int64 | Nil
#
Description copied from class Object
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.