Skip to content

Instantly share code, notes, and snippets.

@picatz
Created October 20, 2017 16:41
Show Gist options
  • Save picatz/f556af3554157caf80a710ea34e699f2 to your computer and use it in GitHub Desktop.
Save picatz/f556af3554157caf80a710ea34e699f2 to your computer and use it in GitHub Desktop.
Shodanz REST API Info
require "shodanz"
rest_api = Shodanz.api.rest.new
rest_api.info
# Returns a hash containing information about the Shodan API plan.
# => { "https"=>true,
# "unlocked"=>true,
# "unlocked_left"=>31337,
# "telnet" =>true,
# "scan_credits"=>31337,
# "plan"=>"edu",
# "query_credits"=>31337 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment