Coder Social home page Coder Social logo

shodancli's Introduction

The Ultimate Shodan CLI Cheatsheet:
All the Commands You Need

Shodan is a search engine for internet-connected devices. It allows users to search for specific types of devices and view detailed information about them. The Shodan command-line interface (CLI) is a tool that allows users to access Shodan's features from the command line. Some common Shodan CLI commands include the following:

Shodan CLI - Installation
Command Description
$ pip install shodan
$ shodan init YOUR_API_KEY

Shodan CLI - Test

Command Description
$ shodan -h to view the help menu and see a list of all available commands and options.
$ shodan info
$ shodan myip
$ shodan version

Shodan CLI - Use It

Command
$ shodan stats --facets org country:GB ssl.version:sslv2 HTTP
$ shodan count port:22 country:gb
$ shodan host 8.8.8.8
$ shodan stats --facets country

Shodan CLI - Get to know the network

Command
$ shodan count net:192.168.1.0/24
$ shodan stats --facets port net:192.168.1.0/14
$ shodan stats --facets vuln net:192.168.1.0/14
$ shodan search --fields ip_str,port,org,hostnames net:192.168.1.0/24

Shodan CLI - Get to know the domain

Command
$ shodan domain google.com
$ shodan domain $domain --summary
$ shodan domain $domain --export domain_info.csv
$ shodan domain $domain --histogram
$ shodan domain $domain --facets port,org,os
$ shodan domain $domain --fields ip_str,hostnames,org,os,port,isp

Shodan CLI - Get to know the history

Command
$ shodan host --history 8.8.8.8

shodancli's People

Contributors

foxsecintel avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.