Created
October 20, 2017 16:41
-
-
Save picatz/f556af3554157caf80a710ea34e699f2 to your computer and use it in GitHub Desktop.
Shodanz REST API Info
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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