Linux evo.fastest-server.com 5.14.0-284.1101.el9.tuxcare.11.els11.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 14 13:30:35 UTC 2026 x86_64
LiteSpeed
Server IP : 103.249.112.113 & Your IP : 216.73.217.135
Domains : 988 Domain
User : tanishks
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
l.v.e-manager /
cpanel /
extension /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2026-09-04 11:42
cl_modify_pkg.py
3.81
KB
-rwxr-xr-x
2026-08-11 11:38
cl_pkg_verify_hook.py
2.38
KB
-rwxr-xr-x
2026-08-11 11:38
clhooklib.py
1.27
KB
-rw-r--r--
2026-08-11 11:38
install_lve_extension.py
2.43
KB
-rwxr-xr-x
2026-08-11 11:38
install_lve_tmp.py
2.05
KB
-rwxr-xr-x
2026-08-11 11:38
lve.tt2
3.81
KB
-rw-r--r--
2026-08-11 11:38
lve_ext_scritps.js
3.67
KB
-rw-r--r--
2026-08-11 11:38
lve_inodes_only.tt2
1.48
KB
-rw-r--r--
2026-08-11 11:38
remove_lve_extension.py
4.02
KB
-rwxr-xr-x
2026-08-11 11:38
Save
Rename
#!/opt/cloudlinux/venv/bin/python3 -bb # -*- 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 from __future__ import print_function from __future__ import division from __future__ import absolute_import import subprocess import cldetectlib as detect import os from shutil import copy from clcommon.public_hooks import setup_logger_and_sentry from clcommon.public_hooks.bundle import cpanel from clcommon.utils import mod_makedirs from clhooklib import ( check_cpanel_version, VERIFY_HOOK, VERIFY_HOOK_SCRIPTS, SOURCE_PATH, LVE_EXTENSION_HOOKS, # LVEMAN-970 # check_result ) from clcommon.lib.cledition import lve_supported_or_exit SCRIPT_NAME = os.path.basename(__file__) CPANEL_EXTENSIONS_DIR = '/var/cpanel/packages/extensions' VE_CFG_PATH = '/etc/container/ve.cfg' CPANEL_DOCROOT = '/usr/local/cpanel/whostmgr/docroot/3rdparty/cloudlinux' @lve_supported_or_exit # temporary disabled until CLPRO-2013 is done def main(): # in fact this is only wrapper for # hooks logic located in cllib # so we can just use cllib sentry here setup_logger_and_sentry() if detect.is_cpanel() and check_cpanel_version('63.9999'): if not os.path.lexists(CPANEL_EXTENSIONS_DIR): mod_makedirs(CPANEL_EXTENSIONS_DIR, 0o700) subprocess.run(SOURCE_PATH + 'cpanel/extension/install_lve_tmp.py', shell=True, executable='/bin/bash') if os.path.isfile(SOURCE_PATH + 'cpanel/extension/lve_ext_scritps.js'): if not os.path.exists(CPANEL_DOCROOT): os.makedirs(CPANEL_DOCROOT) copy(SOURCE_PATH + 'cpanel/extension/lve_ext_scritps.js', CPANEL_DOCROOT + '/lve_ext_scritps.js') # if os.path.isfile(SOURCE_PATH + 'cpanel/extension/cl_modify_pkg.py'): # # LVEMAN-970 Adding lve extension to packages # # using cpanel api funtion addpkgext # result = subprocess.call(SOURCE_PATH + 'cpanel/extension/cl_modify_pkg.py', # shell=True, executable='/bin/bash') # check_result(result, SCRIPT_NAME, 'Can\'t add extension to some packages') if os.path.isfile(VERIFY_HOOK): copy(VERIFY_HOOK, VERIFY_HOOK_SCRIPTS) cpanel.install_hooks(LVE_EXTENSION_HOOKS) if __name__ == '__main__': main()