We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
flag.txt
app.secret_key
/maga
render_template_string
Flask leverages Jinja2 as template engine.
Jinja templates uses mustaces (aka handlebars or double braces) for substituting variables.
Flask exposes global variables to jinja2.
flask.config variable holds a key-value pair to app.secret_key.
flask.config
Submit {{config}} into the phone text field on the form on /index.html. Flag is revealed in output.
{{config}}
phone
/index.html
If you google "python flask exploit," this is the first result: https://nvisium.com/resources/blog/2015/12/07/injecting-flask.html