/CVE-2022-27502

Exploit of RealVNC VNC Server

Primary LanguageC++

RealVNC server up to 6.9.0 DLL Hijacking Exploit (CVE-2022-27502)

You can use pre-compiled version (64-bit) of it from HERE Copy it to %TEMP% and initiate a repair of RealVNC Server from add or remove programs. It will write the output of whoami command in %TEMP%\output.txt

If you want to change the executed command, change line 191 of dllmain.cpp and recompile it