mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings.git
synced 2024-12-18 18:36:10 +00:00
commit
75a0f34bdc
@ -35,6 +35,7 @@
|
|||||||
* [Jinja2](#jinja2)
|
* [Jinja2](#jinja2)
|
||||||
* [Basic injection](#basic-injection)
|
* [Basic injection](#basic-injection)
|
||||||
* [Template format](#template-format)
|
* [Template format](#template-format)
|
||||||
|
* [Debug Statement](#debug-statement)
|
||||||
* [Dump all used classes](#dump-all-used-classes)
|
* [Dump all used classes](#dump-all-used-classes)
|
||||||
* [Dump all config variables](#dump-all-config-variables)
|
* [Dump all config variables](#dump-all-config-variables)
|
||||||
* [Read remote file](#read-remote-file)
|
* [Read remote file](#read-remote-file)
|
||||||
@ -339,6 +340,16 @@ The above injections have been tested on Flask application.
|
|||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Debug Statement¶
|
||||||
|
|
||||||
|
If the Debug Extension is enabled, a `{% debug %}` tag will be available to dump the current context as well as the available filters and tests. This is useful to see what’s available to use in the template without setting up a debugger.
|
||||||
|
|
||||||
|
```python
|
||||||
|
<pre>{% debug %}</pre>
|
||||||
|
```
|
||||||
|
|
||||||
|
Source: https://jinja.palletsprojects.com/en/2.11.x/templates/#debug-statement
|
||||||
|
|
||||||
### Dump all used classes
|
### Dump all used classes
|
||||||
|
|
||||||
```python
|
```python
|
||||||
|
Loading…
Reference in New Issue
Block a user