Skip to content

Instantly share code, notes, and snippets.

View KRKNUK's full-sized avatar

Jake KRKNUK

View GitHub Profile
function Test-PrintNightmareVulnerability {
<#
.SYNOPSIS
Tests whether the target system is vulnerable to the PrintNightmare vulnerability.
.DESCRIPTION
Tests whether the target system is vulnerable to the PrintNightmare vulnerability.
Uses PowerShell remoting.
This checks whether vulnerable GPO/registry settings are applied.