All apps/Shodan

Shodan

shodan

Shodan is a search engine for Internet-connected devices.

Runs as shodan|macOS, Linux, Windows|www.shodan.io

Command form

ai-draft · 4 tasks · 13 fields

Search Shodan, look up a host or domain, and count results. Needs an API key set with shodan init. Download, stream, alerts and scanning are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui shodan

shodan search

Search

Search Shodan and print matching banners.

SearchExample values, fixed in this page — nothing here reaches a terminal
Basic
Search query*
string
Result limit
integer
Fields
string
TasksEach one presets the form for one job
Search
querylimitfields
ParametersOnly these flags are editable in the form
Search query
string · positional 0 · repeatable
Result limit
integer
--limit
Fields
Comma-separated properties.
string
--fields
Separator
string
--separator

shodan host

Host lookup

Show everything known about an IP address.

Host lookupExample values, fixed in this page — nothing here reaches a terminal
Basic
IP address*
string
Include history
--history
Format
2 choicesenum
TasksEach one presets the form for one job
Look up an IP
iphistoryformat
ParametersOnly these flags are editable in the form
IP address
string · positional 0
Include history
boolean
--history
Format
enum
--formatprettytsv
Save to file
path
--filename-O

shodan count

Count results

Count how many results match a query.

Count resultsExample values, fixed in this page — nothing here reaches a terminal
Basic
Search query*
string
TasksEach one presets the form for one job
Count
query
ParametersOnly these flags are editable in the form
Search query
string · positional 0 · repeatable

shodan domain

Domain info

Show DNS records and subdomains for a domain.

Domain infoExample values, fixed in this page — nothing here reaches a terminal
Basic
Domain*
string
Record type
string
TasksEach one presets the form for one job
Look up a domain
domaintype
ParametersOnly these flags are editable in the form
Domain
string · positional 0
Look up host details
boolean
--details-D
Historical DNS data
boolean
--history-H
Record type
string
--type-TAMXTXT
SourcesEvery flag above is checked against these
shodan-src
@main.command() @click.option('--fields', help='List of properties to show in the search results.', default='ip_str,port,hostnames,data') @click.option('--limit', help='The number of search results that should be returned. Maximum: 1000', default=100, type=int) @click.option('--separator', help='The separator between the properties of the search results.', d…
manualshodan-python master

github.com

shodan-src
@main.command() @click.option('--format', help='The output format for the host information. Possible values are: pretty, tsv.', default='pretty', type=click.Choice(['pretty', 'tsv'])) @click.option('--history', help='Show the complete history of the host.', default=False, is_flag=True) @click.option('--filename', '-O', help='Save the host information in the…
manualshodan-python master

github.com

shodan-src
@main.command() @click.argument('query', metavar='<search query>', nargs=-1) def count(query):
manualshodan-python master

github.com

shodan-src
@main.command(name='domain') @click.argument('domain', metavar='<domain>') @click.option('--details', '-D', help='Lookup host information for any IPs in the domain results', default=False, is_flag=True) @click.option('--history', '-H', help='Include historical DNS data in the results', default=False, is_flag=True) @click.option('--type', '-T', help='Only ret…
manualshodan-python master

github.com

Before it fills your prompt, Otty checks the installed shodan against its version. A form that does not match your version is not offered.