📁
SKYSHELL MANAGER
PHP v8.0.30
Create
Create
Path:
root
/
home
/
godaofbq
/
redlightsquared.com
/
wp-content
/
plugins
/
Name
Size
Perm
Actions
📁
adminify
-
0755
🗑️
🏷️
🔒
📁
adminify-activity-logs
-
0755
🗑️
🏷️
🔒
📁
adminify-pro
-
0755
🗑️
🏷️
🔒
📁
akismet
-
0755
🗑️
🏷️
🔒
📁
all-in-one-wp-migration
-
0755
🗑️
🏷️
🔒
📁
all-in-one-wp-migration-unlimited-extension
-
0755
🗑️
🏷️
🔒
📁
authorizenet-payment-gateway-for-woocommerce
-
0755
🗑️
🏷️
🔒
📁
backuply
-
0755
🗑️
🏷️
🔒
📁
backuply-pro
-
0755
🗑️
🏷️
🔒
📁
cf7-conditional-fields
-
0755
🗑️
🏷️
🔒
📁
classic-editor
-
0755
🗑️
🏷️
🔒
📁
code-snippets
-
0755
🗑️
🏷️
🔒
📁
contact-form-7
-
0755
🗑️
🏷️
🔒
📁
cookieadmin
-
0755
🗑️
🏷️
🔒
📁
cookieadmin-pro
-
0755
🗑️
🏷️
🔒
📁
crisp
-
0755
🗑️
🏷️
🔒
📁
duplicate-page
-
0755
🗑️
🏷️
🔒
📁
duplicator
-
0755
🗑️
🏷️
🔒
📁
export-media-with-selected-content
-
0755
🗑️
🏷️
🔒
📁
google-listings-and-ads
-
0755
🗑️
🏷️
🔒
📁
google-site-kit
-
0755
🗑️
🏷️
🔒
📁
gosmtp
-
0755
🗑️
🏷️
🔒
📁
gosmtp-pro
-
0755
🗑️
🏷️
🔒
📁
header-footer
-
0755
🗑️
🏷️
🔒
📁
litespeed-cache
-
0755
🗑️
🏷️
🔒
📁
loginizer
-
0755
🗑️
🏷️
🔒
📁
loginizer-security
-
0755
🗑️
🏷️
🔒
📁
loginpress
-
0755
🗑️
🏷️
🔒
📁
masterslider
-
0755
🗑️
🏷️
🔒
📁
oxygen
-
0755
🗑️
🏷️
🔒
📁
oxygen-gutenberg
-
0755
🗑️
🏷️
🔒
📁
oxygen-woocommerce
-
0755
🗑️
🏷️
🔒
📁
pagelayer
-
0755
🗑️
🏷️
🔒
📁
pagelayer-pro
-
0755
🗑️
🏷️
🔒
📁
pdf-embedder
-
0755
🗑️
🏷️
🔒
📁
rolemaster-suite
-
0755
🗑️
🏷️
🔒
📁
siteseo
-
0755
🗑️
🏷️
🔒
📁
siteseo-pro
-
0755
🗑️
🏷️
🔒
📁
speedycache
-
0755
🗑️
🏷️
🔒
📁
speedycache-pro
-
0755
🗑️
🏷️
🔒
📁
wc-external-product-new-tab
-
0755
🗑️
🏷️
🔒
📁
woocommerce
-
0755
🗑️
🏷️
🔒
📁
wordpress-seo
-
0755
🗑️
🏷️
🔒
📁
wp-headers-and-footers
-
0755
🗑️
🏷️
🔒
📄
error_log
2487.15 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
login.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
Edit: process_team_queue
#!/usr/local/cpanel/3rdparty/bin/perl # cpanel - bin/process_team_queue Copyright 2023 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 # This script is normally called by cron hourly, something like this # 4 * * * * /usr/local/cpanel/bin/process_team_queue > /dev/null 2>&1 use cPstrict; package bin::process_team_queue; use Cpanel::Logger (); use Cpanel::SafeRun::Simple (); use Cpanel::Team::Queue (); use Cpanel::IP::Remote (); bin::process_team_queue::run() unless caller; sub run { if ( @ARGV > 0 ) { show_help(); } if ( $> != 0 ) { die "Sorry, only root can run this.\n"; } my $logger = Cpanel::Logger->new(); my $team_queue_obj = Cpanel::Team::Queue->new(); my @tasks = $team_queue_obj->list_queue(); my $now = time; foreach my $task_file (@tasks) { my ( $epoch, $team_owner, $team_user ) = split /_/, $task_file, 3; if ( $epoch <= $now ) { my $task_file_path = "$team_queue_obj->{queue_dir}/$task_file"; open my $fh, '<', $task_file_path or $logger->error("Cannot open team queue task file '$task_file_path'"); my @cmd = <$fh>; close $fh; my $error = ''; my $application = Cpanel::Team::Queue::allow_command( $cmd[0] ); if ( @cmd == 1 && $application ) { $error = Cpanel::SafeRun::Simple::saferunallerrors( '/bin/bash', "$team_queue_obj->{queue_dir}/$task_file" ); if ($error) { $logger->error("Error '$error' when running team queue task in $team_queue_obj->{queue_dir}/$task_file"); } } else { $error = "Attempting to run disallowed command '@cmd' in team queue."; $logger->error($error); } $team_queue_obj->dequeue_task("$team_queue_obj->{queue_dir}/$task_file") or $logger->error("Cannot dequeue task: '$task_file'"); # Mail the team-owner what happened my $ip = Cpanel::IP::Remote::get_current_remote_ip(); require Cpanel::Notify; Cpanel::Notify::notification_class( 'class' => $application, 'application' => $application, 'constructor_args' => [ username => $team_owner, to => $team_owner, user => $team_owner, task_error => $error, team_user => $team_user, source_ip_address => $ip, origin => 'cpanel', notification_cannot_be_disabled => 1 ] ); } else { last; # Files are sorted by date order so once we hit something in the future we're done. } } return 0; } sub show_help { print STDERR <<~"EOM"; $0: Tool to process team queue Usage: $0 [--help] Options: --help: Print out this message and exit Look at each task in team queue and execute those whose time has come. Written primarily for expiring team-user accounts but can be used for any team purpose that needs a scheduled time to execute. EOM exit 0; } 1;
Save