/shodan-ip-grabber

Grab ips from shodan using shodan apikey.

Primary LanguagePython

Shodan IP Grabber (S. IP G.)

https://github.com/emptymahbob/shodan-ip-grabber/blob/main/banner.png

Description

Shodan IP Grabber is a command-line tool that leverages the Shodan API to search for IP addresses based on a specified query. It provides a simple and efficient way to retrieve ips & display them in the command line.

Installation

  1. Clone the repository:

    git clone https://github.com/emptymahbob/shodan-ip-grabber.git
    
  2. Navigate to the project directory:

    cd shodan-ip-grabber
    
  3. Install dependencies:

    pip install -r requirements.txt
    

Uses/Commands:

  1. Search for IP addresses and display them in the command line:

     python sipg.py -q "your-search-query"
    
     Common Search Query Examples:
    
     python sipg.py -q "ssl:\"Uber Technologies Inc\""
    
     python sipg.py -q "ssl:\"Uber Technologies Inc\" http.status:200"
    
     python sipg.py -q "Ssl.cert.subject.CN:\"*.uber.com\""
    
    
  2. Change Shodan API key:

    python sipg.py --change-key
    
  3. Remove Shodan API key:

     python sipg.py --remove-key
    
  4. Help:

    python sipg.py --help
    

Author

Twitter/X: @emptymahbob