Simulating Log4j Remote Code Execution (RCE) vulnerability in a flask web server using python's logging library with custom formatter that simulates lookup substitution by executing remote exploit code.
First, built the docker image of the flask server using the provided Dockerfile.
If everything is alright, you should see this message:
You can just open another terminal or anywhere in your local ne…