Linux server.edchosting.com 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
LiteSpeed
Server IP : 75.98.162.185 & Your IP : 216.73.216.163
Domains :
Cant Read [ /etc/named.conf ]
User : goons4good
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
bin /
Delete
Unzip
Name
Size
Permission
Date
Action
cron
[ DIR ]
drwxr-xr-x
2025-07-23 04:12
add-pgsql-ipv6-support.sh
564
B
-rwxr-xr-x
2022-09-28 10:30
allow_cl.sh
3.3
KB
-rwxr-xr-x
2024-03-05 16:15
auth-removal.sh
1.95
KB
-rwx------
2023-01-23 13:29
block_ssh.sh
1.15
KB
-rwxr-xr-x
2023-05-23 21:01
cfm_control
4.65
KB
-rwxr-xr-x
2024-03-28 12:14
check_autossl_excluded.sh
6.88
KB
-rwxr-xr-x
2023-05-22 11:59
convert_to_clos.sh
5.73
KB
-rwxr-xr-x
2023-02-09 14:50
convert_to_core.sh
276
B
-rwx------
2025-04-01 06:33
disable_cpbackups.sh
1.39
KB
-rwxr-xr-x
2024-10-10 07:11
domain_check.py
6.24
KB
-rwxr-xr-x
2024-08-27 10:40
grubinst6.sh
230
B
-rwxr-xr-x
2022-10-27 11:41
grubinst7.sh
323
B
-rwxr-xr-x
2024-01-24 12:57
install-ipa.sh
2
KB
-rwxr-xr-x
2024-09-26 04:24
install-ipa.sh.bak
2.37
KB
-rwxr-xr-x
2023-07-05 13:07
install_cloudlinux.sh
1.31
KB
-rwxr-xr-x
2022-09-29 15:30
install_csf.sh
2.91
KB
-rwx------
2023-05-08 10:57
install_elasticsearch.sh
2.19
KB
-rwx------
2022-07-25 14:24
install_litespeed.sh
4.33
KB
-rwx------
2024-06-13 10:28
install_multiphp.sh
976
B
-rwx------
2022-10-10 14:55
install_redis.sh
709
B
-rwx------
2022-09-28 10:30
ipmicfg
429.04
KB
-rwxr-xr-x
2023-10-04 10:59
lets_encrypt_accept.sh
306
B
-rwxr-xr-x
2024-05-14 09:32
mailqueue_check.sh
1.65
KB
-rwxr-xr-x
2022-04-11 09:40
mysql_minor_upgrade.sh
9.33
KB
-rwxr-xr-x
2024-09-11 17:25
server-scripts_deployer.sh
13.54
KB
-rwxr-xr-x
2024-03-28 12:59
set_autossl_onlynotify_expiry.sh
1.91
KB
-rwxr-xr-x
2022-09-14 08:37
updatecfips.sh
1.62
KB
-rwxr-xr-x
2023-05-22 11:59
wp_plugin_scan.py
14.8
KB
-rw-------
2025-01-21 11:31
Save
Rename
#!/bin/bash # This script will disable CPBackups on a dedicated server and notify them. We usually run this if the free 1TB drive we give them is out of space. # Refactored: Excluded oldest backup from deletion - BFENG-1301 IFS=$'\n' # Variables _api_url='https://my.a2hosting.com/a2-email-queue-add.php' _api_code="beHQzLYm7EBpiJy!P6a" _ip=`hostname -i | awk '{print $1}'` _year=$(date +%Y) _today=$(date +%Y-%m-%d) # WHMCS templates _template_notify='A2 Dedicated Backup Drive Full' echo "Removing backups from /backup" _oldest_backup=$(find /backup -maxdepth 1 -type d -name '????-??-??' | sort | head -n 1) # Delete old backups excluding oldest one find /backup -maxdepth 2 -type d -name '????-??-??' ! -path "$_oldest_backup" -exec rm -rf {} + echo "Removing cpbackup cron" rm -rfv /etc/cron.d/cpanel_backups echo "Telling salt not to re-enable backups" touch /root/.disablecpbackups echo "Disabling backups in backup config" sed -i "s/BACKUPENABLE: 'yes'/BACKUPENABLE: 'no'/g" /var/cpanel/backups/config echo "cPanel backups have been disabled on this server. The free 1TB drive was not big enough to do routine backups. The customer has been notified and asked to upgrade." > /backup/backups-disabled-on-$_today echo "Notifying customer" curl -s -k \ -F "messagename="$_template_notify"" \ -F "code="$_api_code"" \ -F "type=product" \ -F "ip="$_ip"" \ $_api_url echo "DONE"