Skip to content

Va5c0/Shodan_cmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Shodan_cmd

Search host, range of hosts or exploits in Shodan and save results in a file.

How it work

Cloning this repo to your computer typing on your terminal:
git clone https://github.com/Va5c0/Shodan_cmd.git

Type ./shodan_cmd.py -h to see help.
Type ./shodan_cmd.py to see examples.

Use examples:

  1. Get information about:
  • API: ./shodan_cmd.py -I api
  • Protocols: ./shodan_cmd.py -I protocols
  • Services: ./shodan_cmd.py -I services
  • Queries: ./shodan_cmd.py -I queries -p [pag num] --sort [votes/timestamp] --order [desc/asc]
  1. Search in queries posted by users.
    ./shodan_cmd.py -Q [query] -p [pag num]

  2. Search in Shodan.
    ./shodan_cmd.py -S [query] -p [pag num]

  3. Get info about host.
    ./shodan_cmd.py -H [host]

  4. Search a range of hosts.
    ./shodan_cmd.py -R [ip/range]

  5. Search exploits.
    ./shodan_cmd.py -E [query]

  • Possible search filters:
    author bid code cve date platform
    type osvdb msb port title description
  • Example:./shodan_cmd.py -E 'ftp type:remote platform:linux'
  1. Show a report with selected field/s.
    ./shodan_cmd.py -S [query] -r [field/s]
  • Possible fields.
    product ip_str port hostnames city
    longitude latitude country_name os
    timestamp transport data isp asn
  • Example:./shodan_cmd.py -S 'ftp anonymous user logged in' -r ip_str,city

--- All options support the argument [-o] to save result in a file. ---

Version

Shodan_cmd V1.0

About

Search host, range of hosts or exploits in Shodan and save results in a file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages