shodan

Python library for SHODAN
Download

shodan Ranking & Summary

Advertisement

  • Rating:
  • License:
  • MIT/X Consortium Lic...
  • Publisher Name:
  • John Matherly
  • Publisher web site:
  • http://github.com/achillean/

shodan Tags


shodan Description

Python library for SHODAN shodan is a Python library for SHODAN.InstallationTo install the library from the cheeseshop, you can use easy_install:easy_install shodanOr simply download this repository and run:python setup.py installUsageBefore you can use the API, you need to have an API key.Get your API key hereSetup the SHODAN WebAPI:from shodan import WebAPIapi = WebAPI(MY_API_KEY)Print a list of cisco-ios devices:result = api.search("cisco-ios")for host in result: print hostGet all the information SHODAN has on the IP 217.140.75.46:host = api.host('217.140.75.46')print hostTo properly handle potential errors, you should wrap all requests in a try/except block:try: api.search("cisco-ios")except Exception, e: print 'Error: %s' % e Requirements: · Python


shodan Related Software