cube0x0 / CVE-2021-1675

C# and Impacket implementation of PrintNightmare CVE-2021-1675/CVE-2021-34527
1.83k stars 581 forks source link

Update Program.cs to fix broken UNC path #49

Closed Mr-Un1k0d3r closed 3 years ago

Mr-Un1k0d3r commented 3 years ago

Changed to code to only replace the first occurence of \\ in the dllpath.

The current code was broken when the UNC path contains multiple folders ex: \server\folder\my.dll