From ff409a6f3ef34b89f582225088559f5fd530e70e Mon Sep 17 00:00:00 2001 From: arielkru <63583491+arielkru@users.noreply.github.com> Date: Wed, 7 Feb 2024 10:22:09 +0200 Subject: [PATCH 1/2] Update flask.py --- python/flask.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python/flask.py b/python/flask.py index 597e894..519ca88 100644 --- a/python/flask.py +++ b/python/flask.py @@ -2,15 +2,15 @@ from flask import Flask, request import bleach app = Flask(__name__) -# comment +# comment # curl -X GET "http://localhost:5000/tainted7/touch%20HELLO" @app.route("/tainted7/") def test_sources_7(something): -# comment +# comment os.system(request.remote_addr) -# comment +# comment return "foo" -# comment +# comment @app.route("/sanitized/") def test_sources_7(something): data = flask.request.args.get("key") From 973b420e9bd52d28a4850582025baf156c5e67fd Mon Sep 17 00:00:00 2001 From: arielkru <63583491+arielkru@users.noreply.github.com> Date: Wed, 7 Feb 2024 10:49:12 +0200 Subject: [PATCH 2/2] Update flask.py --- python/flask.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python/flask.py b/python/flask.py index 519ca88..43ef019 100644 --- a/python/flask.py +++ b/python/flask.py @@ -21,3 +21,6 @@ def test_sources_7(something): # comment if __name__ == "__main__": app.run(debug=True) + +# comment +# comment