Scans a list of subdomains, resolves their IP addresses, checks for open ports using Shodan, and verifies if the subdomains redirect to another URL.
- Python 3.6 or higher.
- An active API key from Shodan.
- External libraries:
requests
,shodan
.
pip install requests shodan
sudo python3 subsniffer.py -i subdomains.txt
options:
-h, --help show this help message and exit
-i INPUT, --input INPUT
Input file containing subdomains.