struct Shodan::Host::HostData

Included Modules

Defined in:

shodan/parsers/host.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def asn : String | Nil #

[View source]
def asn=(asn : String | Nil) #

[View source]
def banner : String | Nil #

[View source]
def banner=(banner : String | Nil) #

[View source]
def cassandra : HostDataCassandra | Nil #

Each possible service


[View source]
def cassandra=(cassandra : HostDataCassandra | Nil) #

Each possible service


[View source]
def coap : HostDataCoAP | Nil #

[View source]
def coap=(coap : HostDataCoAP | Nil) #

[View source]
def cpe : Array(String) | Nil #

[View source]
def cpe=(cpe : Array(String) | Nil) #

[View source]
def data : String | Nil #

[View source]
def data=(data : String | Nil) #

[View source]
def db2 : HostDataDB2 | Nil #

[View source]
def db2=(db2 : HostDataDB2 | Nil) #

[View source]
def dns : HostDataDNS | Nil #

[View source]
def dns=(dns : HostDataDNS | Nil) #

[View source]
def docker : HostDataDocker | Nil #

[View source]
def docker=(docker : HostDataDocker | Nil) #

[View source]
def domains : Array(String) | Nil #

[View source]
def domains=(domains : Array(String) | Nil) #

[View source]
def elastic : HostDataElastic | Nil #

[View source]
def elastic=(elastic : HostDataElastic | Nil) #

[View source]
def etcd : HostDataETCD | Nil #

[View source]
def etcd=(etcd : HostDataETCD | Nil) #

[View source]
def ethernetip : HostDataEthernetIP | Nil #

[View source]
def ethernetip=(ethernetip : HostDataEthernetIP | Nil) #

[View source]
def ftp : HostDataFTP | Nil #

[View source]
def ftp=(ftp : HostDataFTP | Nil) #

[View source]
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.


[View source]
def hash=(hash : Int64 | Nil) #

[View source]
def hive : HostDataHive | Nil #

[View source]
def hive=(hive : HostDataHive | Nil) #

[View source]
def hostnames : Array(String) | Nil #

hostnames and domain


[View source]
def hostnames=(hostnames : Array(String) | Nil) #

hostnames and domain


[View source]
def http : HostDataHTTP | Nil #

[View source]
def http=(http : HostDataHTTP | Nil) #

[View source]
def influxdb : HostDataInfluxDB | Nil #

[View source]
def influxdb=(influxdb : HostDataInfluxDB | Nil) #

[View source]
def info : String | Nil #

[View source]
def info=(info : String | Nil) #

[View source]
def ip : Int64 | Nil #

ip and isp


[View source]
def ip=(ip : Int64 | Nil) #

ip and isp


[View source]
def ip_str : String | Nil #

[View source]
def ip_str=(ip_str : String | Nil) #

[View source]
def isakmp : HostDataISAKMP | Nil #

[View source]
def isakmp=(isakmp : HostDataISAKMP | Nil) #

[View source]
def isp : String | Nil #

[View source]
def isp=(isp : String | Nil) #

[View source]
def lantronix : HostDataLANTronix | Nil #

[View source]
def lantronix=(lantronix : HostDataLANTronix | Nil) #

[View source]
def location : HostDataLocation | Nil #

[View source]
def location=(location : HostDataLocation | Nil) #

[View source]
def minecraft : HostDataMinecraft | Nil #

[View source]
def minecraft=(minecraft : HostDataMinecraft | Nil) #

[View source]
def monero : HostDataMonero | Nil #

[View source]
def monero=(monero : HostDataMonero | Nil) #

[View source]
def mongodb : HostDataMongoDB | Nil #

[View source]
def mongodb=(mongodb : HostDataMongoDB | Nil) #

[View source]
def mqtt : HostDataMQTT | Nil #

[View source]
def mqtt=(mqtt : HostDataMQTT | Nil) #

[View source]
def netbios : HostDataNetBIOS | Nil #

[View source]
def netbios=(netbios : HostDataNetBIOS | Nil) #

[View source]
def ntp : HostDataNTP | Nil #

[View source]
def ntp=(ntp : HostDataNTP | Nil) #

[View source]
def org : String | Nil #

[View source]
def org=(org : String | Nil) #

[View source]
def os : String | Nil #

product identification


[View source]
def os=(os : String | Nil) #

product identification


[View source]
def port : Int32 | Nil #

[View source]
def port=(port : Int32 | Nil) #

[View source]
def product : String | Nil #

[View source]
def product=(product : String | Nil) #

[View source]
def redis : HostDataRedis | Nil #

[View source]
def redis=(redis : HostDataRedis | Nil) #

[View source]
def rip : HostDataRIP | Nil #

[View source]
def rip=(rip : HostDataRIP | Nil) #

[View source]
def rsync : HostDataRsync | Nil #

[View source]
def rsync=(rsync : HostDataRsync | Nil) #

[View source]
def smb : HostDataSMB | Nil #

[View source]
def smb=(smb : HostDataSMB | Nil) #

[View source]
def snmp : HostDataSNMP | Nil #

[View source]
def snmp=(snmp : HostDataSNMP | Nil) #

[View source]
def ssh : HostDataSSH | Nil #

[View source]
def ssh=(ssh : HostDataSSH | Nil) #

[View source]
def ssl : HostDataSSL | Nil #

[View source]
def ssl=(ssl : HostDataSSL | Nil) #

[View source]
def timestamp : String | Nil #

timestamp again


[View source]
def timestamp=(timestamp : String | Nil) #

timestamp again


[View source]
def transport : String | Nil #

[View source]
def transport=(transport : String | Nil) #

[View source]
def version : String | Nil #

[View source]
def version=(version : String | Nil) #

[View source]
def vertx : HostDataVertx | Nil #

[View source]
def vertx=(vertx : HostDataVertx | Nil) #

[View source]