Sha256: 58528d847be017ec3e8064691f9959fc4fb588e9e6fcda0b8db50f11bfefa396
Contents?: true
Size: 574 Bytes
Versions: 3
Compression:
Stored size: 574 Bytes
Contents
# frozen_string_literal: true # original author: Kent 'picat' Gruber module Shodan module Clients class REST < Base # This method returns a list of port numbers that the crawlers are looking for. def ports get("/shodan/ports") end # List all protocols that can be used when performing on-demand Internet scans via Shodan. def protocols get("/shodan/protocols") end # Returns information about the API plan belonging to the given API key. def info get("/api-info") end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
shodanx-0.2.1 | lib/shodan/clients/rest.rb |
shodanx-0.2.0 | lib/shodan/clients/rest.rb |
shodanx-0.1.0 | lib/shodan/clients/rest.rb |