📁
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
5897.38 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
login.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
Edit: utils.py
import subprocess from enum import Enum from app.config import ALERTS_DIR, MAIN_SCRIPT class ManagedServersApiException(Exception): def __init__(self, message): super().__init__() self.message = message class Service(Enum): DISK = "disk_root", "root_disk_check.data" BACKUP_DISK = "disk_backup", "backup_disk_check.data" CPU_LOAD = "cpu_load", "cpu_load_check.data" PUPPET = "puppet", "puppet_check.data" SMTP = "smtp", "smtp_check.data" SPAMD = "spamd", "spamd_check.data" MEMORY = "memory", "free_memory_check.data" IMAP = "imap", "imap_check.data" POP = "pop", "pop_check.data" CSF = "csf", "csf_check.data" CP_LICENSE = "cp_license", "cplicense_check.data" HOSTNAME_DNS = "dns_query", "dns_query_check.data" FTP = "ftp", "ftp_check.data" BACKUP_AGE = "backup_age", "backup_age_check.data" SWAP = "swap", "swap_check.data" @property def background_data_dir(self): cmd = f"source {ALERTS_DIR}/{MAIN_SCRIPT}; echo -n $BACKGROUND_DATA/;" cmd_result = subprocess.Popen( [cmd], shell=True, stdout=subprocess.PIPE, universal_newlines=True, ).communicate()[0] return cmd_result @property def background_data(self): return f"{self.background_data_dir}{self.value[1]}" @property def codename(self): return self.value[0] @property def auto_fix_script(self): return f"{self.codename}_check" @staticmethod def is_mail_service(codename: str) -> bool: item_list = [i for i in Service if i.codename == codename] return bool(item_list) and item_list[0] in [ Service.SMTP, Service.IMAP, Service.POP, ] class AutoFixStatus(Enum): SUCCESS = "success", "The issue has been fixed automatically" FAILURE = "failure", "The issue has not been fixed automatically" PROCESS_MANUALLY = "N/A", "This issue should be checked manually" NO_AUTO_FIX = "no_auto_fix", "There is no autofix for this issue" @property def codename(self): return self.value[0] @property def description(self): return self.value[1]
Save