WxMCTF ‘24 Web 2 - Compiler - mCTF
This problem is a simple webexp problem. Given the source files, you can see that it executes arbitrary python code.
We know from the dockerfile that the flag is stored in an env var called “FLAG”
If you add a simple
import os;print(os.getenv("FLAG"))
you get the solution!