These POCs can be executed using the following command:
python3 commenting-out.pywhere commenting-out is substituted for the relevant POC. Vulnerable code viewers for reviewing the source code can be found in the parent README.
- Confirmed working on Python 3.9.5 (on MacOS via clang 12.0.0)
- Confirmed working on Python 3.7.10 (on Ubuntu via GCC 7.5.0)
- Does not work on Python 3.9.5 (on MacOS via clang 12.0.0): Throws Syntax Error
- Confirmed working on Python 3.9.5 (on MacOS via clang 12.0.0)
- Confirmed working on Python 3.7.10 (on Ubuntu via GCC 7.5.0)