Module: Shodanz::API

Defined in:
lib/shodanz/api.rb,
lib/shodanz/apis/rest.rb,
lib/shodanz/apis/utils.rb,
lib/shodanz/apis/exploits.rb,
lib/shodanz/apis/streaming.rb

Overview

There are 2 APIs for accessing Shodan: the REST API and the Streaming API. The REST API provides methods to search Shodan, look up hosts, get summary information on queries and a variety of utility methods to make developing easier. The Streaming API provides a raw, real-time feed of the data that Shodan is currently collecting. There are several feeds that can be subscribed to, but the data can’t be searched or otherwise interacted with; it’s a live feed of data meant for large-scale consumption of Shodan’s information.

Author:

  • Kent ‘picat’ Gruber

Defined Under Namespace

Modules: Utils Classes: Exploits, REST, Streaming

Class Method Summary collapse

Class Method Details

.exploitsObject

Exploits API class.



30
31
32
# File 'lib/shodanz/api.rb', line 30

def self.exploits
  Exploits
end

.restObject

REST API class.



20
21
22
# File 'lib/shodanz/api.rb', line 20

def self.rest
  REST
end

.streamingObject

Streaming API class.



25
26
27
# File 'lib/shodanz/api.rb', line 25

def self.streaming
  Streaming
end