
Scanner to detect Windows Print Spooler RCE vulnerability (CVE-2021-1675) across single IPs, IP lists, or CIDR ranges using Python.
Scanner to detect Windows Print Spooler Remote Code Execution Vulnerability (CVE-2021-1675)
python3 detectprintnightmare.py --help
usage: detectprintnightmare.py [-h] [-t TARGET] [-T TARGETS] [-c CIDR]
optional arguments:
-h, --help show this help message and exit
-t TARGET, --target TARGET
Single IP
-T TARGETS, --targets TARGETS
List of IP in text file
-c CIDR, --cidr CIDR CIDR range
Run the script for single IP
python3 detectprintnightmare.py -t 192.168.0.1

Run the script for Multiple ips by providing text file with ips
python3 detectprintnightmare.py -T ips.txt

Run the script for CIDR
python3 detectprintnightmare.py -c 192.168.0.1/24