class Shodan::Clients::Tools

Public Instance Methods

http_headers() click to toggle source

Shows the HTTP headers that your client sends when connecting to a webserver.

# File lib/shodan/clients/tools.rb, line 8
def http_headers
  get("/tools/httpheaders")
end
my_ip() click to toggle source

Get your current IP address as seen from the Internet.

# File lib/shodan/clients/tools.rb, line 13
def my_ip
  get("/tools/myip")
end