📁
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
301326.94 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: fixetchosts
#!/usr/local/cpanel/3rdparty/bin/perl # cpanel - scripts/fixetchosts 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 package scripts::fixetchosts; use strict; use Cpanel::SafeFile (); use Cpanel::Validate::Hostname (); use Cpanel::IP::Loopback (); use Cpanel::DIp::MainIP (); use Cpanel::Sys::Hostname::FQDN (); use Cpanel::FileUtils::TouchFile (); use IO::Handle (); exit script(@ARGV) unless caller; sub script { return run('/etc/hosts'); } sub run { my ($file) = @_; my $mainip = Cpanel::DIp::MainIP::getmainserverip(); my $hostname = Cpanel::Sys::Hostname::FQDN::get_fqdn_hostname(); my $shorthostname = Cpanel::Sys::Hostname::FQDN::get_short_hostname(); # CPANEL-36014: If the returned hostname ends with a trailing dot, strip it. $hostname =~ s/\.$//; Cpanel::FileUtils::TouchFile::touchfile($file); die "The hostname $hostname is not valid.\n" unless Cpanel::Validate::Hostname::is_valid($hostname); update( $file, $mainip, $hostname, $shorthostname ); return 0; } sub update { my ( $file, $mainip, $hostname, $shorthostname ) = @_; my $hosts_fh = IO::Handle->new(); my $hosts_lock = Cpanel::SafeFile::safeopen( $hosts_fh, '+<', $file ); if ($hosts_lock) { my %SEENIP; my @ETCHOSTS; while ( my $line = readline $hosts_fh ) { chomp $line; if ( $line =~ m/^\s*#/ || $line =~ m/^\s*$/ ) { push @ETCHOSTS, { 'raw' => $line }; } else { my ( $ip, $hosts ) = split( /\s+/, $line, 2 ); my @line_hosts; foreach my $host ( split( /\s+/, $hosts ) ) { next if ( $ip ne $mainip && $host eq $hostname ); # Drop mismatch hostnames for the main IP next if ( $ip eq $mainip && ( $host eq $hostname || $host eq $shorthostname ) ); # These will be re-added push @line_hosts, $host if ( !grep { $_ eq $host } @line_hosts ); # Drop duplicates while preserving order } if ( !@line_hosts ) { ## Drop empty lines next if $ip eq $mainip; # Prevent duplicate commented lines for the main IP push @ETCHOSTS, { 'raw' => '# ' . $line }; # Preserve lines that were commented out in full } else { ## Save valid entries push @ETCHOSTS, { 'ip' => $ip, 'hosts' => \@line_hosts }; $SEENIP{$ip} = 1; } } } seek( $hosts_fh, 0, 0 ); my $added_hostname = 0; foreach my $line_ref (@ETCHOSTS) { if ( exists $line_ref->{'raw'} ) { print {$hosts_fh} $line_ref->{'raw'} . "\n"; } else { my $ip = $line_ref->{'ip'}; my $hosts_ref = $line_ref->{'hosts'}; if ( $ip eq $mainip && !$added_hostname ) { $added_hostname = 1; unshift @{$hosts_ref}, $hostname, $shorthostname; } elsif ( Cpanel::IP::Loopback::is_loopback($ip) ) { if ( !grep { $_ eq 'localhost' } @{$hosts_ref} ) { unshift @{$hosts_ref}, 'localhost'; } } print {$hosts_fh} $ip . "\t\t" . join( ' ', @{$hosts_ref} ) . "\n"; } } if ( !exists $SEENIP{'127.0.0.1'} ) { print {$hosts_fh} "127.0.0.1\t\tlocalhost\n"; } if ( !exists $SEENIP{$mainip} ) { print {$hosts_fh} $mainip . "\t\t" . $hostname . ' ' . $shorthostname . "\n"; } truncate( $hosts_fh, tell($hosts_fh) ); Cpanel::SafeFile::safeclose( $hosts_fh, $hosts_lock ); } return; }
Save