calebstewart / cve-2021-1675 Goto Github PK
View Code? Open in Web Editor NEWPure PowerShell implementation of CVE-2021-1675 Print Spooler Local Privilege Escalation (PrintNightmare)
Pure PowerShell implementation of CVE-2021-1675 Print Spooler Local Privilege Escalation (PrintNightmare)
I ran the program on Windows 10 20H2 and I was presented with an error.
Invoke-Nightmare : [!] AddPrinterDriverEx failed.
PS C:\Users\test\Desktop\CVE-2021-1675-main\CVE-2021-1675-main> Invoke-Nightmare -NewUser "Berk" -NewPassword "TestBerk"
[+] created payload at C:\Users\test\AppData\Local\Temp\103\nightmare.dll
[+] using pDriverPath = "C:\Windows\System32\DriverStore\FileRepository\ntprint.inf_amd64_3138b2c823dd1ea9\Amd64\mxdwdrv.dll"
Invoke-Nightmare : [!] AddPrinterDriverEx failed
At line:1 char:1
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-Nightmare
works perfectly on win 10 - 18363.592 domain controlled pc
but not working on Version 10.0.19042.1052 tested on 3 different pc.
Hi!
thanks for the poweshell implementation!
I have a problem with exploit which outputs the following:
Invoke-Nightmare : [!] AddPrinterDriverEx failed At line:1 char:1
trying on windows server 2016 with print spooler enabled.
Would you recommend anything I could do to resolve this? Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.