This excercise is to practice on simple api vulneberility that can lead to remote code execution(RCE). This has nothing related to the real world scenario.
- Create and activate virtual environment
# create virtual environment
python3 -m venv venv
# activate environment
source venv/bin/activate
- Install requirements
pip3 install -r requirements.txt
- deploy flask
# deploy locally
flask run
# deploy remotely
flask run --host=0.0.0.0