achillean/shodan-python

▲ 57 stars today★ 3,297⑂ 737

The official Python library for Shodan

About achillean/shodan-python

achillean/shodan-python is an open-source project on GitHub, mainly written in Python. The official Python library for Shodan It currently holds 3,297 stars and 737 forks with 65 open issues, and was last pushed on 2024-08-05 (repository created 2010-09-07).

Project Overview

Git Homed tracks it on the Today's Trending board, currently at rank #68 with 57 new stars today.

GitHub Repository Details

Repository achillean/shodan-python · default branch master · size 448 KB · watchers 150 · source: GitHub REST API and repository README

README

shodan: The official Python library and CLI for Shodan ======================================================

.. image:: https://img.shields.io/pypi/v/shodan.svg :target: https://pypi.org/project/shodan/

.. image:: https://img.shields.io/github/contributors/achillean/shodan-python.svg :target: https://github.com/achillean/shodan-python/graphs/contributors

Shodan is a search engine for Internet-connected devices. Google lets you search for websites, Shodan lets you search for devices. This library provides developers easy access to all of the data stored in Shodan in order to automate tasks and integrate into existing tools.

Features --------

.. image:: https://cli.shodan.io/img/shodan-cli-preview.png :target: https://asciinema.org/~Shodan :width: 400px :align: center

Quick Start -----------

.. code-block:: python

from shodan import Shodan

api = Shodan('MY API KEY')

# Lookup an IP ipinfo = api.host('8.8.8.8') print(ipinfo)

# Search for websites that have been "hacked" for banner in api.search_cursor('http.title:"hacked by"'): print(banner)

# Get the total number of industrial control systems services on the Internet ics_services = api.count('tag:ics') print('Industrial Control Systems: {}'.format(ics_services['total']))

Grab your API key from https://account.shodan.io

Installation ------------

To install the Shodan library, simply:

.. code-block:: bash

$ pip install shodan

Or if you don't have pip installed (which you should seriously install):

.. code-block:: bash

$ easy_install shodan

Documentation -------------

Documentation is available at https://shodan.readthedocs.org/ and https://help.shodan.io

GitHub Stars & Activity

3,297Stars
737Forks
65Open issues
PythonLanguage

GitHub Popularity

GitHub stars3,297
Forks737
Open issues65
Primary languagePython
LicenseNOASSERTION
Stars gained today57
Created2010-09-07
Last pushed2024-08-05

Trending History

Daily boardrank #68 · ▲ 57 stars

Related GitHub Projects

1

Panniantong / Agent-Reach

Python★ 91,751⑂ 8,057▲ 1,156 stars
→
2

666ghj / MiroFish

Python★ 76,403⑂ 11,683▲ 429 stars
→
3

calesthio / OpenMontage

Python★ 63,862⑂ 8,116▲ 758 stars
→
4

Alishahryar1 / free-claude-code

Python★ 56,727⑂ 9,058▲ 146 stars
→
5

shiyu-coder / Kronos

Python★ 40,019⑂ 6,653▲ 86 stars
→
6

p-e-w / heretic

Python★ 33,317⑂ 3,730▲ 122 stars
→
7

dortania / OpenCore-Legacy-Patcher

Python★ 18,442⑂ 2,010▲ 42 stars
→
8

earthtojake / text-to-cad

Python★ 17,301⑂ 1,761▲ 456 stars
→

More Trending Repositories