Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.29 KB

README.md

File metadata and controls

31 lines (24 loc) · 1.29 KB

Introduction

PrintNightmare-Patcher, a simple tool that resolves the PrintNightmare vulnerability, which occurs to print spooler service for Windows machines [CVE-2021-34527]. In addition, it checks if your system has the relevant security update for it or not.

Installation

git clone https://github.com/0xirison/PrintNightmare-Patcher.git

Usage

python printnightmare-patcher.py

Dependencies

No dependencies required

Features

  • Check if the windows system is vulnerable to PrintNightmare or not.
  • Check if the Print Spooler service is running or not, and disable it if running.
  • Check if the system has an update for PrintNightmare vulnerability "Hotfix-id: KB5004954", and try it to install it if it is not already installed.
  • Changing the registry key 'PointAndPrint' settings as Microsoft suggests.

Does it require elevated privileges?

Yes, it requires administrative privileges

References

  • Windows Print Spooler Remote Code Execution Vulnerability by Microsoft
  • Windwos Security Update 'KB5004954' by Microsoft

Screenshot

alt text