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.
-
Clone the repository:
git clone https://github.com/emptymahbob/shodan-ip-grabber.git
-
Navigate to the project directory:
cd shodan-ip-grabber
-
Install dependencies:
pip install -r requirements.txt
-
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\""
-
Change Shodan API key:
python sipg.py --change-key
-
Remove Shodan API key:
python sipg.py --remove-key
-
Help:
python sipg.py --help
Twitter/X: @emptymahbob