403Webshell
Server IP : 198.38.94.13  /  Your IP : 216.73.217.33
Web Server : Apache
System : Linux d4744.dxb1.stableserver.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
User : revivere ( 1140)
PHP Version : 8.2.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/saltstack/salt/lib/python3.10/site-packages/zmq/utils/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/saltstack/salt/lib/python3.10/site-packages/zmq/utils/__pycache__/z85.cpython-310.pyc
o

;j.�@s^dZddlmZddlZdZdd�ee�D�Zdd�ed	�D�ddd
�Zdd�Z	d
d�Z
dS)z�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.


�)�annotationsNsU0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-:+=^!/*?&<>()[]{}@%$#cCsi|]\}}||�qS�r)�.0�idx�crr�A/opt/saltstack/salt/lib/python3.10/site-packages/zmq/utils/z85.py�
<dictcomp>srcCsg|]}d|�qS)�Ur)r�irrr�
<listcomp>sr����cCsvt|�drtdt|�����t|�d}t�d|d�d�|�}g}|D]}tD]
}|�t||d�q(q$t|�S)zencode raw bytes into Z85�z"length must be multiple of 4, not �>�d�Ir	)�len�
ValueError�struct�unpack�_85s�append�Z85CHARS�bytes)�rawbytes�nvalues�values�encoded�v�offsetrrr�encodes�r cCs�t|t�rz|�d�}Wntytd��wt|�dr'tdt|�����t|�d}g}tdt|�d�D]}d}tt�D]\}}|t	||||7}q?|�
|�q7tjd|d�d�g|�R�S)	z3decode Z85 bytes to raw bytes, accepts ASCII string�asciiz4string argument should contain only ASCII charactersrz&Z85 length must be multiple of 5, not rrrr)
�
isinstance�strr �UnicodeEncodeErrorrr�range�	enumerater�Z85MAPrr�pack)Zz85bytesrrr
�value�jrrrr�decode(s 
�r+)�__doc__�
__future__rrrr&r'r%rr r+rrrr�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit