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
/
usr /
lib /
python3.6 /
site-packages /
salt /
transport /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2022-10-11 05:09
mixins
[ DIR ]
drwxr-xr-x
2022-10-11 05:09
__init__.py
1.42
KB
-rw-r--r--
2022-05-16 09:16
client.py
7.52
KB
-rw-r--r--
2022-05-16 09:16
frame.py
2.76
KB
-rw-r--r--
2022-05-16 09:16
ipc.py
27.31
KB
-rw-r--r--
2022-05-16 09:16
local.py
1.37
KB
-rw-r--r--
2022-05-16 09:16
server.py
3.15
KB
-rw-r--r--
2022-05-16 09:16
tcp.py
64.04
KB
-rw-r--r--
2022-05-16 09:16
zeromq.py
51.05
KB
-rw-r--r--
2022-05-16 09:16
Save
Rename
import logging import salt.utils.files from salt.transport.client import ReqChannel log = logging.getLogger(__name__) class LocalChannel(ReqChannel): """ Local channel for testing purposes """ def __init__(self, opts, **kwargs): self.opts = opts self.kwargs = kwargs self.tries = 0 def close(self): """ Close the local channel. Currently a NOOP """ def send(self, load, tries=3, timeout=60, raw=False): if self.tries == 0: log.debug("LocalChannel load: %s", load) # data = json.loads(load) # {'path': 'apt-cacher-ng/map.jinja', 'saltenv': 'base', 'cmd': '_serve_file', 'loc': 0} # f = open(data['path']) with salt.utils.files.fopen(load["path"]) as f: ret = { "data": "".join(f.readlines()), "dest": load["path"], } print("returning", ret) else: # end of buffer ret = { "data": None, "dest": None, } self.tries = self.tries + 1 return ret def crypted_transfer_decode_dictentry( self, load, dictkey=None, tries=3, timeout=60 ): super().crypted_transfer_decode_dictentry( load, dictkey=dictkey, tries=tries, timeout=timeout )