Skip to content

emptymahbob/sipg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shodan IP Grabber (S. IP G.)

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

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/sipg.git
    
  2. Navigate to the project directory:

    cd sipg
    
  3. Install dependencies:

    pip install -r requirements.txt
    

Note: Must change the apikey from config.json file. Remove the current apikey and put your shodan apikey.

Commands

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

     python sipg.py -q "your-search-query"
    
  2. Save results:

    python sipg.py -q "your-search-query" -o output.txt
    
  3. Help:

    python sipg.py -h
    

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\""
 python sipg.py -q "ssl:\"Uber Technologies Inc\" -http.title:\"INVALID URL\""

Author

Twitter/X: https://x.com/emptymahbob