Skip to content

cybersecurityworks553/CVE-2021-1675_PrintNightMare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PrintNightmareScanner

Scanner to detect Windows Print Spooler Remote Code Execution Vulnerability (CVE-2021-1675)

Prerequisite's

  • python3
  • python3 -m pip install -r Requirements.txt

Usage

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

Example: 1

Run the script for single IP

python3 detectprintnightmare.py -t 192.168.0.1

alt text

Example: 2

Run the script for Multiple ips by providing text file with ips

python3 detectprintnightmare.py -T ips.txt

alt text

Example: 3

Run the script for CIDR

python3 detectprintnightmare.py -c 192.168.0.1/24

Reference

PrintNightmare

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages