class Shodan::Clients::REST
Public Instance Methods
info()
click to toggle source
ports()
click to toggle source
This method returns a list of port numbers that the crawlers are looking for.
# File lib/shodan/clients/rest.rb, line 9 def ports get("/shodan/ports") end
protocols()
click to toggle source
List all protocols that can be used when performing on-demand Internet scans via Shodan
.
# File lib/shodan/clients/rest.rb, line 14 def protocols get("/shodan/protocols") end