Created
July 9, 2021 02:23
-
-
Save mdjx/a8b1026094c7458bde1f61e0acc4dce7 to your computer and use it in GitHub Desktop.
PrintNightmare Registry Settings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"UpdatePromptSettings","NoWarningNoElevationOnInstall" | % {if ((Get-ItemProperty "HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Printers\PointAndPrint" -ErrorAction SilentlyContinue).$_ -match "1|2") { Write-Warning "Vulnerable via $_" }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment