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 /
lvemanager-xray /
plugins /
cpanel /
Delete
Unzip
Name
Size
Permission
Date
Action
plugin
[ DIR ]
drwxr-xr-x
2026-09-04 11:37
cpanel-xray-plugin.tar.bz2
1.87
KB
-rw-r--r--
2026-08-11 11:44
xray.live.pl
2.79
KB
-rw-r--r--
2026-08-11 11:44
Save
Rename
#!/usr/local/cpanel/3rdparty/bin/perl # 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 BEGIN { unshift @INC, '/usr/local/cpanel', '/usr/local/cpanel/whostmgr/docroot/3rdparty/cloudlinux', '/usr/share/l.v.e-manager/cpanel/cgi'; #use CGI::Carp qw(fatalsToBrowser); # for detail comments } use strict; use warnings; use locale ':not_characters'; # utf-8 use Cpanel::LiveAPI(); use Cpanel::JSON; use Cpanel::Form; use CloudLinux; use CGI; #use CGI::Carp qw(fatalsToBrowser); # uncomment to debug 500 error use constant ASSETS_PATH => "/3rdparty/cloudlinux/assets/xray-user"; my $panel = Cpanel::LiveAPI->new(); my $cgi = CGI->new; my %GET_REQUESTS = CloudLinux::parseForm(Cpanel::Form::parseform()); my %REQUEST = CloudLinux::parseForm($cgi->Vars); my $cgiaction = $GET_REQUESTS{'cgiaction'} || 'default'; CloudLinux::setOwner(CloudLinux::OWNER_USER); CloudLinux::detectLocale($cgi); my %dispatchTable = ( default => \&main, sendRequest => \&CloudLinux::lvemanagerHandler, knockKnock => \&CloudLinux::knockKnock, ); $cgiaction = 'default' unless exists $dispatchTable{$cgiaction}; # This user-only bridge must only forward the commands the user SPA sends; # reject any other command so a tampered admin command name is never dispatched. my %ALLOWED_USER_COMMANDS = map { $_ => 1 } qw( cloudlinux-xray-user-manager spa-get-domains spa-get-user-info external-info ); if ($cgiaction eq 'sendRequest') { CloudLinux::checkMethod('POST'); if (!$ALLOWED_USER_COMMANDS{ $REQUEST{'command'} // '' }) { CloudLinux::sendError('Unsupported command'); } } $dispatchTable{$cgiaction}->(\%REQUEST, 'xray'); $panel->end(); sub main { CloudLinux::checkMethod('GET'); print "Content-type: text/html; charset=utf-8\n\n"; # Print header: arg1 - page_title; arg2 - app_key print $panel->header('', 'lvexray'); CloudLinux::getDataContent('templates', 'index.html', 1); printf( '<script type="text/javascript">' . 'mainAction = "xray.live.pl?cgiaction=sendRequest";'. 'pingAction = "xray.live.pl?cgiaction=knockKnock";'. 'imagePath = "/images/spa/";'. 'panelName = "Cpanel";'. 'logoutUrl = "/logout";'. '</script>' ); CloudLinux::loadGlobalVariables('../../..'.ASSETS_PATH); # For integration tests, don't remove comment in production in line below #Whostmgr::HTMLInterface::load_js(sprintf('%s/interceptor.js', ASSETS_PATH)); #for integration tests Whostmgr::HTMLInterface::load_css(ASSETS_PATH.'/css/xray-common.css'); Whostmgr::HTMLInterface::load_js(sprintf('%s/xray.bundle.min.js', ASSETS_PATH)); print $panel->footer(); }