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/sipg.git
-
Navigate to the project directory:
cd sipg
-
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.
-
Search for IP addresses and display them in the command line:
python sipg.py -q "your-search-query"
-
Save results:
python sipg.py -q "your-search-query" -o output.txt
-
Help:
python sipg.py -h
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\""
Twitter/X: https://x.com/emptymahbob