Linux server.edchosting.com 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
LiteSpeed
Server IP : 75.98.162.185 & Your IP : 216.73.216.163
Domains :
Cant Read [ /etc/named.conf ]
User : goons4good
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib /
python3.6 /
site-packages /
salt /
renderers /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2022-10-11 05:09
__init__.py
28
B
-rw-r--r--
2022-05-16 09:16
aws_kms.py
8.03
KB
-rw-r--r--
2022-05-16 09:16
cheetah.py
644
B
-rw-r--r--
2022-05-16 09:16
dson.py
1.01
KB
-rw-r--r--
2022-05-16 09:16
genshi.py
1.27
KB
-rw-r--r--
2022-05-16 09:16
gpg.py
13.4
KB
-rw-r--r--
2022-05-16 09:16
hjson.py
677
B
-rw-r--r--
2022-05-16 09:16
jinja.py
2.16
KB
-rw-r--r--
2022-05-16 09:16
json.py
546
B
-rw-r--r--
2022-05-16 09:16
json5.py
1.03
KB
-rw-r--r--
2022-05-16 09:16
mako.py
838
B
-rw-r--r--
2022-05-16 09:16
msgpack.py
834
B
-rw-r--r--
2022-05-16 09:16
nacl.py
2.64
KB
-rw-r--r--
2022-05-16 09:16
pass.py
2.91
KB
-rw-r--r--
2022-05-16 09:16
py.py
4.17
KB
-rw-r--r--
2022-05-16 09:16
pydsl.py
12.99
KB
-rw-r--r--
2022-05-16 09:16
pyobjects.py
16.4
KB
-rw-r--r--
2022-05-16 09:16
stateconf.py
19.48
KB
-rw-r--r--
2022-05-16 09:16
tomlmod.py
906
B
-rw-r--r--
2022-05-16 09:16
wempy.py
761
B
-rw-r--r--
2022-05-16 09:16
yaml.py
3.12
KB
-rw-r--r--
2022-05-16 09:16
yamlex.py
735
B
-rw-r--r--
2022-05-16 09:16
Save
Rename
""" Jinja loading utils to enable a more powerful backend for jinja templates .. include:: ../../../_incl/jinja_security.rst """ import logging from io import StringIO import salt.utils.templates from salt.exceptions import SaltRenderError from salt.loader.context import NamedLoaderContext log = logging.getLogger(__name__) def _split_module_dicts(): """ Create a copy of __salt__ dictionary with module.function and module[function] Takes advantage of Jinja's syntactic sugar lookup: .. code-block:: {{ salt.cmd.run('uptime') }} """ funcs = __salt__ if isinstance(__salt__, NamedLoaderContext) and isinstance(__salt__.value(), dict): funcs = __salt__.value() if not isinstance(funcs, dict): return funcs mod_dict = dict(funcs) for module_func_name, mod_fun in mod_dict.copy().items(): mod, fun = module_func_name.split(".", 1) if mod not in mod_dict: # create an empty object that we can add attributes to mod_dict[mod] = lambda: None setattr(mod_dict[mod], fun, mod_fun) return mod_dict def render( template_file, saltenv="base", sls="", argline="", context=None, tmplpath=None, **kws ): """ Render the template_file, passing the functions and grains into the Jinja rendering system. :rtype: string """ from_str = argline == "-s" if not from_str and argline: raise SaltRenderError("Unknown renderer option: {opt}".format(opt=argline)) tmp_data = salt.utils.templates.JINJA( template_file, to_str=True, salt=_split_module_dicts(), grains=__grains__, opts=__opts__, pillar=__pillar__, saltenv=saltenv, sls=sls, context=context, tmplpath=tmplpath, proxy=__proxy__, from_str=from_str, **kws ) if not tmp_data.get("result", False): raise SaltRenderError( tmp_data.get("data", "Unknown render error in jinja renderer") ) if isinstance(tmp_data["data"], bytes): tmp_data["data"] = tmp_data["data"].decode(__salt_system_encoding__) return StringIO(tmp_data["data"])