OXIESEC PANEL
- Current Dir:
/
/
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
Server IP: 2a02:4780:11:1084:0:327f:3464:10
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
12/18/2024 10:23:15 AM
rwxr-xr-x
📁
GitPython-3.1.32.dist-info
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📁
Jinja2-3.0.3.dist-info
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📁
Mako-1.2.4.dist-info
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📁
MarkupSafe-2.1.3.dist-info
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📁
PyJWT-2.8.0.dist-info
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📁
PyMySQL-1.1.0.dist-info
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📁
PyVirtualDisplay-3.0.dist-info
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📁
PyYAML-6.0.1.dist-info
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📁
SQLAlchemy-1.3.24.dist-info
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📁
__pycache__
-
09/05/2025 09:31:01 AM
rwxr-xr-x
📄
_cffi_backend.cpython-311-x86_64-linux-gnu.so
267.63 KB
12/18/2024 10:23:52 AM
rwxr-xr-x
📁
_distutils_hack
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📄
_pyrsistent_version.py
23 bytes
12/18/2024 10:23:15 AM
rw-r--r--
📁
_pytest
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📁
_yaml
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📁
aiohttp
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📁
aiohttp-3.8.5.dist-info
-
02/16/2024 08:50:15 PM
rwxr-xr-x
📁
aiohttp-3.9.2.dist-info
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📁
aiohttp_jinja2
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📁
aiohttp_jinja2-1.5.dist-info
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📁
aiohttp_security
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📁
aiohttp_security-0.4.0.dist-info
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📁
aiohttp_session
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📁
aiohttp_session-2.9.0.dist-info
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📁
aiosignal
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📁
aiosignal-1.3.1.dist-info
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📁
alembic
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📁
alembic-1.11.1.dist-info
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📁
astroid
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📁
astroid-2.15.6.dist-info
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📁
async_timeout
-
02/16/2024 08:50:15 PM
rwxr-xr-x
📁
async_timeout-4.0.3.dist-info
-
02/16/2024 08:50:15 PM
rwxr-xr-x
📁
attr
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📁
attrs
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📁
attrs-23.1.0.dist-info
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📁
backports
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📁
certifi
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📁
certifi-2023.7.22.dist-info
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📁
cffi
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📁
cffi-1.15.1.dist-info
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📁
chardet
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📁
chardet-5.2.0.dist-info
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📁
charset_normalizer
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📁
charset_normalizer-2.1.1.dist-info
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📁
cl_dom_collector
-
09/05/2025 09:31:01 AM
rwxr-xr-x
📄
cl_proc_hidepid.py
4.53 KB
06/05/2025 09:53:15 AM
rw-r--r--
📁
clcagefslib
-
09/05/2025 09:34:06 AM
rwxr-xr-x
📁
clcommon
-
09/05/2025 09:30:59 AM
rwxr-xr-x
📁
clconfig
-
09/05/2025 09:31:01 AM
rwxr-xr-x
📁
clconfigure
-
09/05/2025 09:31:01 AM
rwxr-xr-x
📄
clcontrollib.py
51.73 KB
06/05/2025 09:53:15 AM
rw-r--r--
📁
cldashboard
-
09/05/2025 09:31:01 AM
rwxr-xr-x
📄
cldetectlib.py
18.13 KB
06/05/2025 09:53:15 AM
rw-r--r--
📄
cldiaglib.py
45.84 KB
06/05/2025 09:53:15 AM
rw-r--r--
📁
clevents
-
09/05/2025 09:31:01 AM
rwxr-xr-x
📁
clflags
-
09/05/2025 09:30:59 AM
rwxr-xr-x
📄
clhooklib.py
1.27 KB
07/11/2025 05:46:23 PM
rw-r--r--
📄
cli_utils.py
1.66 KB
06/05/2025 09:53:15 AM
rw-r--r--
📁
cllicense
-
09/05/2025 09:31:01 AM
rwxr-xr-x
📄
cllicenselib.py
9.1 KB
06/05/2025 09:53:15 AM
rw-r--r--
📁
cllimits
-
09/05/2025 09:31:01 AM
rwxr-xr-x
📁
cllimits_validator
-
09/05/2025 09:31:01 AM
rwxr-xr-x
📁
cllimitslib_v2
-
09/05/2025 09:31:01 AM
rwxr-xr-x
📁
cllvectl
-
09/05/2025 09:31:01 AM
rwxr-xr-x
📁
clpackages
-
09/05/2025 09:31:01 AM
rwxr-xr-x
📁
clquota
-
09/05/2025 09:32:33 AM
rwxr-xr-x
📁
clselect
-
09/05/2025 09:32:33 AM
rwxr-xr-x
📁
clselector
-
09/05/2025 09:32:33 AM
rwxr-xr-x
📁
clsentry
-
09/05/2025 09:30:59 AM
rwxr-xr-x
📄
clsetuplib.py
4.35 KB
06/05/2025 09:53:15 AM
rw-r--r--
📄
clsudo.py
14.42 KB
06/23/2025 12:47:48 PM
rw-r--r--
📁
clsummary
-
09/05/2025 09:36:16 AM
rwxr-xr-x
📁
clveconfig
-
09/05/2025 09:31:01 AM
rwxr-xr-x
📁
clwizard
-
09/05/2025 09:31:01 AM
rwxr-xr-x
📁
clwpos
-
09/05/2025 09:34:13 AM
rwxr-xr-x
📁
colorama
-
02/16/2024 08:50:15 PM
rwxr-xr-x
📁
colorama-0.4.6.dist-info
-
02/16/2024 08:50:15 PM
rwxr-xr-x
📁
configparser-5.0.2.dist-info
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📄
configparser.py
1.51 KB
12/18/2024 10:23:15 AM
rw-r--r--
📁
contextlib2
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📁
contextlib2-21.6.0.dist-info
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📁
coverage
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📁
coverage-7.2.7.dist-info
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📁
cryptography
-
02/07/2025 10:01:30 PM
rwxr-xr-x
📁
cryptography-41.0.2.dist-info
-
02/07/2025 10:01:29 PM
rwxr-xr-x
📁
ddt-1.4.4.dist-info
-
02/07/2025 10:01:30 PM
rwxr-xr-x
📄
ddt.py
12.43 KB
12/18/2024 10:23:15 AM
rw-r--r--
📁
dill
-
02/07/2025 10:01:30 PM
rwxr-xr-x
📁
dill-0.3.7.dist-info
-
02/07/2025 10:01:30 PM
rwxr-xr-x
📁
distlib
-
02/07/2025 10:01:30 PM
rwxr-xr-x
📁
distlib-0.3.7.dist-info
-
02/16/2024 08:50:15 PM
rwxr-xr-x
📁
distlib-0.3.8.dist-info
-
02/07/2025 10:01:30 PM
rwxr-xr-x
📄
distutils-precedence.pth
151 bytes
12/18/2024 10:23:15 AM
rw-r--r--
📁
docopt-0.6.2.dist-info
-
02/07/2025 10:01:30 PM
rwxr-xr-x
📄
docopt.py
19.48 KB
12/18/2024 10:23:15 AM
rw-r--r--
📁
dodgy
-
02/07/2025 10:01:30 PM
rwxr-xr-x
📁
dodgy-0.2.1.dist-info
-
02/07/2025 10:01:30 PM
rwxr-xr-x
📁
filelock
-
02/07/2025 10:01:30 PM
rwxr-xr-x
📁
filelock-3.12.2.dist-info
-
02/16/2024 08:50:15 PM
rwxr-xr-x
📁
filelock-3.13.1.dist-info
-
02/07/2025 10:01:30 PM
rwxr-xr-x
📁
flake8
-
02/07/2025 10:01:30 PM
rwxr-xr-x
📁
flake8-5.0.4.dist-info
-
02/07/2025 10:01:30 PM
rwxr-xr-x
📁
flake8_polyfill
-
02/07/2025 10:01:30 PM
rwxr-xr-x
📁
flake8_polyfill-1.0.2.dist-info
-
02/07/2025 10:01:30 PM
rwxr-xr-x
📁
fluent
-
02/16/2024 10:46:04 PM
rwxr-xr-x
📁
fluent_logger-0.10.0.dist-info
-
02/16/2024 10:46:04 PM
rwxr-xr-x
📁
frozenlist
-
02/07/2025 10:01:30 PM
rwxr-xr-x
📁
frozenlist-1.4.0.dist-info
-
02/07/2025 10:01:30 PM
rwxr-xr-x
📁
future
-
02/07/2025 10:01:30 PM
rwxr-xr-x
📁
future-0.18.3.dist-info
-
02/07/2025 10:01:30 PM
rwxr-xr-x
📁
git
-
02/07/2025 10:01:30 PM
rwxr-xr-x
📁
gitdb
-
02/07/2025 10:01:30 PM
rwxr-xr-x
📁
gitdb-4.0.10.dist-info
-
02/07/2025 10:01:30 PM
rwxr-xr-x
📁
guppy
-
02/07/2025 10:01:30 PM
rwxr-xr-x
📁
guppy3-3.1.3.dist-info
-
02/07/2025 10:01:30 PM
rwxr-xr-x
📁
idna
-
02/07/2025 10:01:30 PM
rwxr-xr-x
📁
idna-3.4.dist-info
-
02/07/2025 10:01:30 PM
rwxr-xr-x
📁
iniconfig
-
02/07/2025 10:01:30 PM
rwxr-xr-x
📁
iniconfig-2.0.0.dist-info
-
02/07/2025 10:01:30 PM
rwxr-xr-x
📁
isort
-
02/07/2025 10:01:30 PM
rwxr-xr-x
📁
isort-5.12.0.dist-info
-
02/07/2025 10:01:30 PM
rwxr-xr-x
📁
jinja2
-
02/07/2025 10:01:30 PM
rwxr-xr-x
📁
jsonschema
-
02/07/2025 10:01:30 PM
rwxr-xr-x
📁
jsonschema-3.2.0.dist-info
-
02/07/2025 10:01:30 PM
rwxr-xr-x
📁
jwt
-
02/07/2025 10:01:30 PM
rwxr-xr-x
📁
lazy_object_proxy
-
02/07/2025 10:01:30 PM
rwxr-xr-x
📁
lazy_object_proxy-1.9.0.dist-info
-
02/07/2025 10:01:30 PM
rwxr-xr-x
📁
libfuturize
-
02/07/2025 10:01:30 PM
rwxr-xr-x
📁
libpasteurize
-
02/07/2025 10:01:31 PM
rwxr-xr-x
📁
lve_stats-2.0.dist-info
-
08/20/2024 07:46:41 PM
rwxr-xr-x
📁
lve_utils
-
09/05/2025 09:31:01 AM
rwxr-xr-x
📄
lveapi.py
19.53 KB
06/05/2025 09:53:15 AM
rw-r--r--
📄
lvectllib.py
102.55 KB
06/05/2025 09:53:15 AM
rw-r--r--
📁
lvemanager
-
09/05/2025 09:32:33 AM
rwxr-xr-x
📄
lvestat.py
6.83 KB
06/23/2025 12:47:48 PM
rw-r--r--
📁
lvestats
-
08/20/2024 07:46:41 PM
rwxr-xr-x
📁
lxml
-
02/07/2025 10:01:31 PM
rwxr-xr-x
📁
lxml-4.9.2.dist-info
-
02/07/2025 10:01:31 PM
rwxr-xr-x
📁
mako
-
02/07/2025 10:01:31 PM
rwxr-xr-x
📁
markupsafe
-
02/07/2025 10:01:31 PM
rwxr-xr-x
📁
mccabe-0.7.0.dist-info
-
02/07/2025 10:01:31 PM
rwxr-xr-x
📄
mccabe.py
10.4 KB
12/18/2024 10:23:15 AM
rw-r--r--
📁
mock
-
02/07/2025 10:01:31 PM
rwxr-xr-x
📁
mock-5.1.0.dist-info
-
02/07/2025 10:01:31 PM
rwxr-xr-x
📁
msgpack
-
02/16/2024 10:46:04 PM
rwxr-xr-x
📁
msgpack-1.0.7.dist-info
-
02/16/2024 10:46:04 PM
rwxr-xr-x
📁
multidict
-
02/07/2025 10:01:31 PM
rwxr-xr-x
📁
multidict-6.0.4.dist-info
-
02/07/2025 10:01:31 PM
rwxr-xr-x
📁
numpy
-
02/07/2025 10:01:33 PM
rwxr-xr-x
📁
numpy-1.25.1.dist-info
-
02/07/2025 10:01:31 PM
rwxr-xr-x
📁
numpy.libs
-
02/07/2025 10:01:32 PM
rwxr-xr-x
📁
packaging
-
02/07/2025 10:01:33 PM
rwxr-xr-x
📁
packaging-23.1.dist-info
-
02/07/2025 10:01:33 PM
rwxr-xr-x
📄
pam.py
7.38 KB
12/18/2024 10:23:15 AM
rw-r--r--
📁
past
-
02/07/2025 10:01:33 PM
rwxr-xr-x
📁
pep8_naming-0.10.0.dist-info
-
02/07/2025 10:01:33 PM
rwxr-xr-x
📄
pep8ext_naming.py
18.61 KB
12/18/2024 10:23:15 AM
rw-r--r--
📁
pip
-
02/07/2025 10:01:34 PM
rwxr-xr-x
📁
pip-23.3.2.dist-info
-
02/16/2024 08:50:17 PM
rwxr-xr-x
📁
pip-24.3.1.dist-info
-
02/07/2025 10:01:33 PM
rwxr-xr-x
📁
pkg_resources
-
02/07/2025 10:01:34 PM
rwxr-xr-x
📁
platformdirs
-
02/07/2025 10:01:34 PM
rwxr-xr-x
📁
platformdirs-2.6.2.dist-info
-
02/16/2024 08:50:18 PM
rwxr-xr-x
📁
platformdirs-3.11.0.dist-info
-
02/07/2025 10:01:34 PM
rwxr-xr-x
📁
pluggy
-
02/07/2025 10:01:34 PM
rwxr-xr-x
📁
pluggy-1.2.0.dist-info
-
02/07/2025 10:01:34 PM
rwxr-xr-x
📁
prettytable
-
02/07/2025 10:01:34 PM
rwxr-xr-x
📁
prettytable-3.8.0.dist-info
-
02/07/2025 10:01:34 PM
rwxr-xr-x
📁
prometheus_client
-
02/07/2025 10:01:34 PM
rwxr-xr-x
📁
prometheus_client-0.8.0.dist-info
-
02/07/2025 10:01:34 PM
rwxr-xr-x
📁
prospector
-
02/07/2025 10:01:34 PM
rwxr-xr-x
📁
prospector-1.10.2.dist-info
-
02/07/2025 10:01:34 PM
rwxr-xr-x
📁
psutil
-
02/07/2025 10:01:34 PM
rwxr-xr-x
📁
psutil-5.9.5.dist-info
-
02/07/2025 10:01:34 PM
rwxr-xr-x
📁
psycopg2
-
02/07/2025 10:01:34 PM
rwxr-xr-x
📁
psycopg2_binary-2.9.6.dist-info
-
02/07/2025 10:01:34 PM
rwxr-xr-x
📁
psycopg2_binary.libs
-
02/07/2025 10:01:34 PM
rwxr-xr-x
📄
py.py
263 bytes
12/18/2024 10:23:15 AM
rw-r--r--
📁
pycodestyle-2.9.1.dist-info
-
02/07/2025 10:01:34 PM
rwxr-xr-x
📄
pycodestyle.py
101.08 KB
12/18/2024 10:23:15 AM
rw-r--r--
📁
pycparser
-
02/07/2025 10:01:34 PM
rwxr-xr-x
📁
pycparser-2.21.dist-info
-
02/07/2025 10:01:34 PM
rwxr-xr-x
📁
pydocstyle
-
02/07/2025 10:01:34 PM
rwxr-xr-x
📁
pydocstyle-6.3.0.dist-info
-
02/07/2025 10:01:34 PM
rwxr-xr-x
📁
pyfakefs
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📁
pyfakefs-5.2.3.dist-info
-
02/07/2025 10:01:34 PM
rwxr-xr-x
📁
pyflakes
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📁
pyflakes-2.5.0.dist-info
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📁
pylint
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📁
pylint-2.17.4.dist-info
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📁
pylint_celery
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📁
pylint_celery-0.3.dist-info
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📁
pylint_django
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📁
pylint_django-2.5.3.dist-info
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📁
pylint_flask
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📁
pylint_flask-0.6.dist-info
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📁
pylint_plugin_utils
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📁
pylint_plugin_utils-0.7.dist-info
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📁
pylve-2.1-py3.11.egg-info
-
08/20/2024 07:46:32 PM
rwxr-xr-x
📄
pylve.cpython-311-x86_64-linux-gnu.so
25.48 KB
06/27/2024 11:28:05 AM
rwxr-xr-x
📁
pymysql
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📁
pyparsing
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📁
pyparsing-3.0.9.dist-info
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📁
pyrsistent
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📁
pyrsistent-0.19.3.dist-info
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📁
pytest
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📁
pytest-7.4.0.dist-info
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📁
pytest_subprocess
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📁
pytest_subprocess-1.5.0.dist-info
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📁
python_pam-1.8.4.dist-info
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📁
pyvirtualdisplay
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📁
raven
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📁
raven-6.10.0.dist-info
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📄
remove_ubc.py
5.73 KB
06/05/2025 09:53:15 AM
rwxr-xr-x
📁
requests
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📁
requests-2.31.0.dist-info
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📁
requirements_detector
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📁
requirements_detector-1.2.2.dist-info
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📁
schema-0.7.5.dist-info
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📄
schema.py
29.51 KB
12/18/2024 10:23:15 AM
rw-r--r--
📄
secureio.py
18.83 KB
06/23/2025 12:47:48 PM
rw-r--r--
📁
semver
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📁
semver-3.0.1.dist-info
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📁
sentry_sdk
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📁
sentry_sdk-1.29.2.dist-info
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📁
setoptconf
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📁
setoptconf_tmp-0.3.1.dist-info
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📁
setuptools
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📁
setuptools-69.0.2.dist-info
-
02/16/2024 08:50:18 PM
rwxr-xr-x
📁
setuptools-75.6.0.dist-info
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📄
simple_rpm.so
11.29 KB
06/23/2025 12:23:46 PM
rwxr-xr-x
📁
simplejson
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📁
simplejson-3.19.1.dist-info
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📁
six-1.16.0.dist-info
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📄
six.py
33.74 KB
12/18/2024 10:23:15 AM
rw-r--r--
📁
smmap
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📁
smmap-5.0.0.dist-info
-
02/07/2025 10:01:35 PM
rwxr-xr-x
📁
snowballstemmer
-
02/07/2025 10:01:36 PM
rwxr-xr-x
📁
snowballstemmer-2.2.0.dist-info
-
02/07/2025 10:01:36 PM
rwxr-xr-x
📁
sqlalchemy
-
02/07/2025 10:01:36 PM
rwxr-xr-x
📁
ssa
-
09/05/2025 09:31:38 AM
rwxr-xr-x
📁
svgwrite
-
02/07/2025 10:01:36 PM
rwxr-xr-x
📁
svgwrite-1.4.3.dist-info
-
02/07/2025 10:01:36 PM
rwxr-xr-x
📁
tap
-
02/07/2025 10:01:36 PM
rwxr-xr-x
📁
tap.py-3.1.dist-info
-
02/07/2025 10:01:36 PM
rwxr-xr-x
📁
testfixtures
-
02/07/2025 10:01:36 PM
rwxr-xr-x
📁
testfixtures-7.1.0.dist-info
-
02/07/2025 10:01:36 PM
rwxr-xr-x
📁
toml
-
02/07/2025 10:01:36 PM
rwxr-xr-x
📁
toml-0.10.2.dist-info
-
02/07/2025 10:01:36 PM
rwxr-xr-x
📁
tomlkit
-
02/07/2025 10:01:36 PM
rwxr-xr-x
📁
tomlkit-0.11.8.dist-info
-
02/07/2025 10:01:36 PM
rwxr-xr-x
📁
typing_extensions-4.7.1.dist-info
-
02/07/2025 10:01:36 PM
rwxr-xr-x
📄
typing_extensions.py
108.48 KB
12/18/2024 10:23:15 AM
rw-r--r--
📁
unshare-0.22.dist-info
-
02/07/2025 10:01:36 PM
rwxr-xr-x
📄
unshare.cpython-311-x86_64-linux-gnu.so
8.17 KB
12/18/2024 10:23:51 AM
rwxr-xr-x
📁
urllib3
-
02/07/2025 10:01:36 PM
rwxr-xr-x
📁
urllib3-2.0.4.dist-info
-
02/07/2025 10:01:36 PM
rwxr-xr-x
📁
vendors_api
-
09/05/2025 09:30:59 AM
rwxr-xr-x
📁
virtualenv
-
02/07/2025 10:01:37 PM
rwxr-xr-x
📁
virtualenv-20.18.0.dist-info
-
02/16/2024 08:50:19 PM
rwxr-xr-x
📁
virtualenv-20.21.1.dist-info
-
02/07/2025 10:01:36 PM
rwxr-xr-x
📁
wcwidth
-
02/07/2025 10:01:37 PM
rwxr-xr-x
📁
wcwidth-0.2.6.dist-info
-
02/07/2025 10:01:37 PM
rwxr-xr-x
📁
wmt
-
09/05/2025 09:31:35 AM
rwxr-xr-x
📁
wrapt
-
02/07/2025 10:01:37 PM
rwxr-xr-x
📁
wrapt-1.15.0.dist-info
-
02/07/2025 10:01:37 PM
rwxr-xr-x
📁
xray
-
09/05/2025 09:33:56 AM
rwxr-xr-x
📁
yaml
-
02/07/2025 10:01:37 PM
rwxr-xr-x
📁
yarl
-
02/07/2025 10:01:37 PM
rwxr-xr-x
📁
yarl-1.9.2.dist-info
-
02/07/2025 10:01:37 PM
rwxr-xr-x
Editing: lveapi.py
Close
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright © Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2019 All Rights Reserved # # Licensed under CLOUD LINUX LICENSE AGREEMENT # http://cloudlinux.com/docs/LICENSE.TXT import contextlib import os import errno import syslog import time import pwd from typing import Optional # NOQA from clcommon.clfunc import uid_max from clcommon.clproc import ProcLve from clcommon import cpapi, ClPwd from clcommon.cpapi.cpapiexceptions import NotSupported try: import pylve except ImportError: pylve = None from clveconfig import ve_config UID_MAX = uid_max() # kernel devs say that lve_id type is uint32_t # so max id should be 0xFFFF_FFFF, it in fact we have this: MAX_LVE_ID = 0x7FFFFFFF - 1 LVP_XML_TAG_NAME = "reseller" LVE_NO_UBC = 1 << 1 LVE_NO_MAXENTER = 1 << 2 class NameMapError(Exception): pass class NameMapConfigError(NameMapError): pass class NameMapNotInitialized(NameMapError): pass class NameMap: """ Container for backend storing resellers_name<=>resellers_id map As backend store use ve.cfg Usage: >>> name_map = NameMap() >>> name_map.link_xml_node() >>> name_map.id_list() [1001] """ def __init__(self, xml_tag_name=LVP_XML_TAG_NAME): self._xml_tag_name = xml_tag_name self._xml_node = None # Reseller name to id map (list of corteges) self._reseller_id_name_map = None def get_id(self, name): for name_, id_ in self.load_from_node(): if name_ == name: return id_ def get_name(self, id_): for name_, _id in self.load_from_node(): if id_ == _id: return name_ def id_list(self): return [id_ for _, id_ in self.load_from_node()] def link_xml_node(self, xml_node=None, use_cache=True): """ Initialize NameMap. If xml_node is none, config will be loaded automatically :param use_cache: Bool whether bypass ve.cfg xml cache :param xml_node: !! DEPRECATED PARAM !! this param is left only for compatibility with our old code """ if xml_node is None: # New mode, Load reseller_id, reseller_name pairs from ve.cfg to dictionary self._xml_node = None self._load_resellers_map_from_ve_cfg(use_cache) else: # For compatibility with our old code self._xml_node = xml_node self._reseller_id_name_map = None def _load_resellers_map_from_ve_cfg(self, use_cache): """ Fills self._reseller_id_name_map from ve.cfg file :return: """ self._reseller_id_name_map = [] ve_cfg, xml_node = self._try_get_xml_node(use_cache=use_cache) for el_ in xml_node: name = el_.getAttribute('user') id_ = int(el_.getAttribute('id')) if name and id_ and id_ not in self._reseller_id_name_map: self._reseller_id_name_map.append((id_, name)) # Force delete XML object to avoid high memory load del xml_node del ve_cfg def _try_get_xml_node(self, use_cache=True): try: ve_cfg, xml_node = ve_config.get_xml_config(use_cache=use_cache) except ve_config.BadVeConfigException as e: self._reseller_id_name_map = None raise NameMapConfigError("Error happened while loading data from ve.cfg") from e return ve_cfg, xml_node.getElementsByTagName(self._xml_tag_name) def load_from_node(self): """ Obtain data from xml node as (name, id_) list """ if self._xml_node is None and self._reseller_id_name_map is None: raise NameMapNotInitialized('Name map is not initialized. ' 'Use obj.link_xml_node() to get data from config') if self._xml_node: # For compatibility with our old code for el_ in self._xml_node.getElementsByTagName(self._xml_tag_name): name = el_.getAttribute('user') id_ = int(el_.getAttribute('id')) if name and id_: yield name, id_ if self._reseller_id_name_map: # New mode, use resellers map for id_, name in self._reseller_id_name_map: yield name, id_ class LvpMap: """ Container for storing information about lve:lvp mapping In which reseller container stored lve """ def __init__(self): self.name_map = NameMap() self._id_name_map = {} self._name_id_map = {} self._reseller_id_map_panel = None self._pwd = ClPwd() def _add_map(self, name, id_): self._id_name_map[id_] = name self._name_id_map[name] = id_ def pw_uid(self, name, default=None): try: return self._pwd.get_pw_by_name(name).pw_uid except ClPwd.NoSuchUserException: return default def _get_panel_reseller_id(self, reseller): # type: (str) -> Optional[int] uid = self.pw_uid(reseller) if uid is not None: return uid # in case when we cannot find reseller in passwd file # let's ask control panel for reseller's id if self._reseller_id_map_panel is None: self._reseller_id_map_panel = cpapi.get_reseller_id_pairs() return self._reseller_id_map_panel.get(reseller) def get_reseller_id(self, name): # type: (str) -> Optional[int] """ Convert reseller name to an LVE id. It supports resellers without a system account (for Plesk compatibility). """ uid = self.name_map.get_id(name) or self._name_id_map.get(name) if uid is not None: return uid try: uid = self._get_panel_reseller_id(name) except NotSupported: uid = None if uid is not None: self._add_map(name, uid) return uid def get_reseller_name(self, id_): """ Convert reseller id to reseller name It support resellers without system account (for Plesk compatibilyty) """ # add attribute fo in memory cache support name = self.name_map.get_name(id_) or self._id_name_map.get(id_) if name is not None: return name try: name = pwd.getpwuid(id_).pw_name if cpapi.is_reseller(name): self._add_map(name, id_) else: name = None except KeyError: name = None return name def lve_lvp_pairs(self): """ This method loops over all user:reseller pairs in control panel and returns appropriate lve_id:lvp_id pairs. THIS METHOD WON'T CHECK IF 'RESELLER LIMITS' IS ENABLED IN ve.cfg """ resellers = set(cpapi.resellers()) reseller_uids = {} for reseller in resellers: try: reseller_uids[reseller] = self.get_reseller_id(reseller) except NotSupported: syslog.syslog( syslog.LOG_WARNING, f"Reseller {reseller} still exists in control panel, " "but absent in /etc/passwd file") for cplogin, reseller in cpapi.cpinfo(keyls=('cplogin', 'reseller')): lve_id = self.pw_uid(cplogin) # for some reasons (process of destroying user died # or admin called 'pure' userdel), user may still exist in control panel # but absent in /etc/passwd file; we can do nothing with that, # so just skip and write a warning to syslog if lve_id is None: syslog.syslog( syslog.LOG_WARNING, f"user {cplogin} still exists in control panel, " "but absent in /etc/passwd file") continue lvp_id = reseller_uids.get(reseller, 0) yield lve_id, lvp_id @staticmethod def resellers(): for reseller_name in cpapi.resellers(): yield reseller_name @staticmethod def reseller_uids(name): """ Obtain from control panel resellers uids """ uids = [] reseller_users = cpapi.reseller_users(name) for user in reseller_users: try: id_ = pwd.getpwnam(user).pw_uid uids.append(id_) except KeyError: syslog.syslog( syslog.LOG_WARNING, f"user {user} still exists in control panel, " "but absent in /etc/passwd file") return uids def lvp_lve_id_list(self, lvp_id): reseller_name = self.get_reseller_name(lvp_id) return self.reseller_uids(reseller_name) class PyLveError(Exception): pass class PyLve: """ Wrapper for generate traceback with pretty descriptions """ @staticmethod def _code_is_error(code): return isinstance(code, int) and code != -errno.ENOSYS and code != 0 def _arg_to_str(self, arg_var): if isinstance(arg_var, self._pylve.liblve_settings): # for pretty print liblve_settings object liblve_settings_attr = ', '.join( [f"{attr}={getattr(arg_var, attr)}" for attr in dir(arg_var) if not attr.startswith('_')] ) arg_var_str = f'<liblve_settings object {liblve_settings_attr}>' else: arg_var_str = str(arg_var) return arg_var_str def _wrapped_fun(self, call, *args, **kwargs): msg_template = kwargs.pop('err_msg', self.default_msg_template) ignore_error = kwargs.pop('ignore_error', self.ignore_error) code = call(*args, **kwargs) is_error = self._code_is_error(code) if is_error and self._retry: # wait and try again run function time.sleep(self._retry_time) code = call(*args, **kwargs) is_error = self._code_is_error(code) format_args = { 'code': code, 'fun_name': call.__name__, 'module': call.__module__, 'args_': ', '.join( list(map(self._arg_to_str, args)) + [f"{k}={self._arg_to_str(v)}" for k, v in kwargs.items()] ) } format_args = { 'code': code, 'fun_name': call.__name__, 'module': call.__module__, 'args_': ', '.join(list(map(self._arg_to_str, args)) + [f"{k}={self._arg_to_str(v)}" for k, v in kwargs.items()]) } if self.debug >= 1: print(self.debug_msg_template.format(**format_args)) if self.debug >= 2: self.traceback.print_stack() if not ignore_error and is_error: msg = msg_template.format(**format_args) raise PyLveError(msg) return code def _wrap_code(self, call): def fun(*args, **kwargs): return self._wrapped_fun(call, *args, **kwargs) return fun def __init__(self, pylve=pylve, retry=True, retry_tyme=0.1, debug=0): self.debug = debug if self.debug >= 2: self.traceback = __import__('traceback') self.default_msg_template = 'Error code {code}; {module}.{fun_name}({args_})' self.debug_msg_template = "DEBUG [lvectl]: call {module}.{fun_name}({args_}) with code {code}" self.ignore_error = False self._pylve = pylve self._retry = retry self._proc = ProcLve() self._retry_time = retry_tyme self.api_version = self._pylve.lve_get_api_version() self.initialize = self._pylve.initialize self.lve_start = self._wrap_code(self._pylve.lve_start) self.liblve_settings = self._pylve.liblve_settings self.lve_create = self._wrap_code(self._pylve.lve_create) self.lve_destroy = self._wrap_code(self._pylve.lve_destroy) self.lve_info = self._pylve.lve_info self.lve_set_default = self._wrap_code(self._pylve.lve_set_default) self.lve_setup = self._wrap_code(self._pylve.lve_setup) self.lve_enter_pid = self._wrap_code(self._pylve.lve_enter_pid) self.lve_enter_pid_flags = self._wrap_code(self._pylve.lve_enter_pid_flags) self.lve_leave_pid = self._wrap_code(self._pylve.lve_leave_pid) if hasattr(pylve, 'lve_lvp_create'): self.lve_lvp_create = self._wrap_code(self._pylve.lve_lvp_create) self.lve_lvp_destroy = self._wrap_code(self._pylve.lve_lvp_destroy) self.lve_lvp_map = self._wrap_code(self._pylve.lve_lvp_map) self.lve_lvp_move = self._wrap_code(self._pylve.lve_lvp_move) # mocked functions. Not implement in pylve self.lve_lvp_setup = self._wrap_code(self.lve_lvp_setup) def resellers_supported(self): """ Check in pylve binding reseller limits supported """ return hasattr(self._pylve, 'lve_lvp_create') def lve_exists(self, lve_id): """ Check if lve exists in kernel :rtype: bool """ try: self.lve_info(lve_id) return True except OSError: return False # TODO: remove this wrapper when kernel logic is ready # upd: kernel logic is still not ready yet (KMODLVE-79) def lve_lvp_setup(self, lvp_id, settings): # pylint: disable=method-hidden """ Wrapper for lve_lvp_setup. When reseller's limits changed, we should iterate over his user's limits and set them again; This behaviour is needed cause kernel does not update users limits after changing reseller's one Adjust parameters for top level container. :param int lvp_id: top level container ID, 0 by default; :param settings: liblve_settings instance. :return: 0 or errno value """ # is it real situation when lvp_id is 0? if lvp_id == 0: return self._pylve.lve_lvp_setup(lvp_id, settings) # reduce lve limits real_lve_settings = {} # type: dict[int, pylve.liblve_settings] for lve_id in self._proc.lve_id_list(lvp_id): # save real settings to restore them later try: real_settings = self.lve_info(lve_id) real_lve_settings[lve_id] = real_settings if real_settings.ls_cpu > settings.ls_cpu: # get current settings and reduce cpu temp_settings = self.lve_info(lve_id) temp_settings.ls_cpu = min(temp_settings.ls_cpu, settings.ls_cpu) self.lve_setup(lve_id, temp_settings) except OSError: # lve was destroyed, ignore that pass # set new reseller settings _lve_lvp_setup = self._wrap_code(self._pylve.lve_lvp_setup) # ignore errors here and raise errors after operations result = _lve_lvp_setup(lvp_id, settings, ignore_error=True) # pass lve's limits again, so kernel will apply them for lve_id in self._proc.lve_id_list(lvp_id): if lve_id in real_lve_settings: self.lve_setup(lve_id, real_lve_settings[lve_id]) else: # some lve was created during operations above # nothing bad, but we can do nothing with that # until we have no lock's for this method self.lve_setup(lve_id, self.lve_info(lve_id)) return result def get_available_lve_id(self, start=UID_MAX, stop=MAX_LVE_ID): """ Iter over lves and find available one. :param int start: value to start search from; UID_MAX by default :param int stop: max value when we will stop search :return int: lve_id """ for lve_id in range(start + 1, stop): try: self.lve_info(lve_id) except OSError: return lve_id raise PyLveError(f"Unable to find free lve in range ({start}, {stop})") @contextlib.contextmanager def context_ignore_error(self, ignore_error): self.ignore_error, saved_ignore_error = ignore_error, self.ignore_error try: yield finally: self.ignore_error = saved_ignore_error class Lve: def __init__(self, proc=None, py=None, map=None): self.proc = proc or ProcLve() self.py = py or PyLve() self.map = map or LvpMap() def lve_id_lvp_id_pairs(self): """ Obtain {lve id}:{lvp id} pairs iterator based on ve.cfg config (detect enabled resellers containers) This method (unlike LvpMap.lve_lvp_pairs) will check if reseller is enabled in ve.cfg and return lvp_id=0 for users of reseller with disabled reseller limits """ enabled_lvp_id = set(self.map.name_map.id_list()) for lve_id, lvp_id in self.map.lve_lvp_pairs(): if lvp_id in enabled_lvp_id: # load map for enabled resellers only yield lve_id, lvp_id else: yield lve_id, 0 def lve2lvp(self, lve_id): """ Obtain lvp id based on ve.cfg config (detect enabled resellers containers) """ for lve_id_, lvp_id_ in self.lve_id_lvp_id_pairs(): if lve_id == lve_id_: return lvp_id_ return 0 def lve_destroy(self, lve_id, *args, **kwargs): """ safe destroy lve container with preserving lvp mapping """ if os.path.exists(self.proc.proc_lve_map()): lvp_id = self.proc.map().get(lve_id, 0) else: lvp_id = 0 self.py.lve_destroy(lve_id, *args, **kwargs) if lvp_id != 0: try: pwd.getpwuid(lve_id) self.py.lve_lvp_map(lvp_id, lve_id) except KeyError: pass def _sync_map(self): """ Load lve_id:lvp_id map to kmod-lve """ # laod mapping information from kernel (/proc/lve/map) proc_map_dict = self.proc.map() # loop over user_id:reseller_id pairs # lve_id_lvp_id_pairs includes all control panel users # and checks for enabled resellers in ve.cfg # so user of reseller without reseller limits # will be listed in response like 'tuple(user_id, 0)' for lve_id, lvp_id in self.lve_id_lvp_id_pairs(): if proc_map_dict.get(lve_id, 0) != lvp_id: # change map if needed only if not self.proc.exist_lvp(lvp_id=lvp_id): self.py.lve_lvp_create(lvp_id) self.py.lve_lvp_move(lvp_id, lve_id) proc_map_dict[lve_id] = lvp_id def sync_map(self): """ wrapped _sync_map function for prevent error if some cpapi not supported """ try: self._sync_map() except NotSupported: pass def is_panel_supported(self): """ Check if current panel supported for reseller's limits; :rtype: bool """ try: return cpapi.is_reseller_limits_supported() except NotSupported: return False def reseller_limit_supported(self): """ Check present all needed (kmod-lve, liblve, /proc/lve, panel) for manipulate resellers limits """ return all((self.py.resellers_supported(), self.proc.resellers_supported(), self.is_panel_supported())) def is_lve10(self): """ Check present all needed (kmod-lve, liblve, /proc/lve) for manipulate resellers limits """ return all((self.py.resellers_supported(), self.proc.resellers_supported()))