Shodan-InternetDB-Vuln-Checker is a command-line tool that uses Shodan's InternetDB API to check IP addresses for potential vulnerabilities. The script processes input from files or standard input and queries the API for vulnerabilities, and then filters and outputs the results containing vulnerabilities.
- File or Tool chain input
- Ouputs results that have CVE's
- jq
sudo apt install jq
- Copy the script or clone the repository
cat ips.txt | ./shodan-idb.sh
./shodan-idb.sh ips.txt
echo example.com | dnsx -silent -resp-only | sort -u | ./shodan-idb.sh
echo example.com | subfinder -silent | dnsx -silent -resp-only | sort -u | ./shodan-idb.sh
{
"hostnames": [
"example.com",
"api.example.com"
],
"ip": "10.10.10.10",
"ports": [
80,
443
],
"vulnerabilities": [
"CVE-2022-12345",
"CVE-2023-54321"
]
}