Linux server.nvwebsoft.co.in 3.10.0-1160.114.2.el7.x86_64 #1 SMP Wed Mar 20 15:54:52 UTC 2024 x86_64
Apache
: 162.240.12.249 | : 13.58.53.112
202 Domain
8.1.31
nbspublicschool
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
python-jinja2-2.7.2 /
examples /
basic /
[ HOME SHELL ]
Name
Size
Permission
Action
templates
[ DIR ]
drwxr-xr-x
cycle.py
277
B
-rw-r--r--
debugger.py
223
B
-rw-r--r--
inheritance.py
341
B
-rw-r--r--
test.py
611
B
-rw-r--r--
test_filter_and_linestatements...
445
B
-rw-r--r--
test_loop_filter.py
295
B
-rw-r--r--
translate.py
524
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : test_filter_and_linestatements.py
from jinja2 import Environment env = Environment(line_statement_prefix='%', variable_start_string="${", variable_end_string="}") tmpl = env.from_string("""\ % macro foo() ${caller(42)} % endmacro <ul> % for item in seq <li>${item}</li> % endfor </ul> % call(var) foo() [${var}] % endcall % filter escape <hello world> % for item in [1, 2, 3] - ${item} % endfor % endfilter """) print tmpl.render(seq=range(10))
Close